[jboss-user] [Beginners Corner] - Re: A new understanding of ClassLoaders...
PeterJ
do-not-reply at jboss.com
Thu Feb 22 11:20:58 EST 2007
You have to be very careful on who is is invoking whom. Spring tends to want to instantiate classes, and if those classes are defined in your war file, then unless you place the Spring jars in your war file, it will not be able to see them. What I have been able to do is place all of the classes that Spring cares about into a jar file, which I usually place in an ear file but at times have placed in the deploy directory, and have that work even with the Spring jar files in the lib directory (by default, jars in the lib directory, deploy directory and in an ear or sar file all have visibility to each other, only the classes in the war file are 'hidden').
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020672#4020672
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020672
More information about the jboss-user
mailing list