[jboss-user] [JBoss/Spring Integration] - Re: CastClassException NamedXmlApplicationContext
do-not-reply at jboss.com
Thu Jun 26 14:23:08 EDT 2008
Ok. I finally figured it out. For those experiencing the same problem, do not name your .spring (or -spring.xml) file with the same name as your EAR or WAR. The EJB was being bound to [ear name] which was the same as [spring name] in JNDI. If you make them different, the problem goes away.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160958#4160958
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160958
More information about the jboss-user