-
1. Re: ClassCastException
alesj Jan 30, 2007 10:10 AM (in response to jprio)What about if you have a single spring.jar in the jboss/server/[configuration]/lib ?
-
2. Re: ClassCastException
jprio Jan 30, 2007 10:28 AM (in response to jprio)Hum... The same spring.jar for all applications ? I prefer to keep control of the version in each war.
-
3. Re: ClassCastException
alesj Jan 30, 2007 10:36 AM (in response to jprio)Hmmm ... i don't see how else would you be able to use the same BeanFactory class instance in deployer and .war.
Maybe use previous advice, for the apps that use BF from deployer and scoped deployment for others.
btw: Spring jars are mostly back compatible, with really small diffs. -
4. Re: ClassCastException
jprio Jan 30, 2007 10:54 AM (in response to jprio)That's what i thought. I'll see if it's possible to use the sema spring for all webapps.
Thanks. -
5. Re: ClassCastException
zaidatheer Feb 6, 2007 9:09 AM (in response to jprio)Well,
I had same problem, however it was SIMPLY solved by putting the (or jboss-spring-jdk5.jar) in the default/lib.
Never ever put jboss-spring-jdk5.jar in your spring or deployer, this is the problem.
Regards,
Zaid