This content has been marked as final.
Show 3 replies
-
1. Re: Spring and the classLoader...
alesj May 14, 2006 1:55 PM (in response to jgray)Not the right forum to address this: http://java.sys-con.com/read/180386.htm
This is what JBoss/Spring integration is about.
Probably the rigth place would be Spring forum.
btw: is that class present in classpath?
btw2: NoClassDefException found or ClassCastException?
btw3: give more info next time -
2. Re: Spring and the classLoader...
jgray May 15, 2006 5:36 PM (in response to jgray)It turned out to be that I needed to put the spring.jar in my server/lib. Now I have a seperate issue that the ApplicationContextAware bean upon initization, is not getting its setApplicationContext run.
-
3. Re: Spring and the classLoader...
alesj May 16, 2006 1:38 AM (in response to jgray)Isn't ApplicationContextAware an interface?
If your bean implements this interface and is then a part of certain ApplicationContext and not plain Bean Factory, then it should normally get his ApplicationContext owner instance injected.