This is a basic java question.
| System.out.println(TopicConnectionFactory.class.getClassLoader());
| Class[] interfaces = SpyConnectionFactory.class.getInterfaces();
| for (int i = 0; i < interfaces.length; ++i)
| {
| Class intf = interfaces
| System.out.println(intf.getName() + " " + intf.getClassLoader();
| }
|
Printing the code source will tell you where it is loading the duplicate classes from.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151511#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...