Environment:
JBoss AS7.2
eclipse luna
JBoss tools for luna
I am loading the class loader using setContextClassLoader() on Thread instance to load custom class loader. It works fine when the server started from command line. Class loader seems to be not loading the jars as expected in eclipse.
Any help will be appreciated.
is this just a main class you try launch via eclipse java launching ?
make sure you actually are running with same launch arguments as on the CLI.