[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Exception deploying spring beans in JBoss 5

Annegret do-not-reply at jboss.com
Fri Jan 25 04:17:25 EST 2008


Hi,

solved it :-).

The spring configuration file located in mywar.war/WEB-INF was named spring-beans.xml. Renaming it to spring-config.xml did the trick. The file must not be named anything ending with -beans.xml.

I assume that JBoss 5 evaluates a file named *-beans.xml as microcontainer beans which surely does not work for a srping beans configuration file.

Annegret

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

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



More information about the jboss-user mailing list