[jboss-user] [Beginners Corner] - Re: problem with class loader

jaikiran do-not-reply at jboss.com
Thu Sep 11 10:13:48 EDT 2008

anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for: MessageListener

This is really strange (the classname). I would have expected javax.jms.MessageListener to be logged. I remember Peter too pointed this same thing in one other post of your's.

Are you sure your class files in the jar are correct? I am confused because if you had just used MessageListener in the java file instead of javax.jms.MessageListener, even the compilation would have failed. Unless you have a interface named MessageListener in your own packages. 

Post the output of 

jar -tf MDB-test.jar

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175865#4175865

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175865

More information about the jboss-user mailing list