[jboss-user] [Spring Integration] - Re: Unabled to return specified bean factory in web applicat

marius.bogoevici do-not-reply at jboss.com
Fri Nov 20 15:46:38 EST 2009


For 4.2 you need to use the 2.x version of the deployer (version 3.x works with AS5).
Also, it seems like you are using a relatively old version of the deployer (that's what causes the NoClassDefFoundError). 
Please make sure that you're using latest deployer (2.1) , which is to be found here:


Depending on what version of Spring you're currently using, you can get the 2.5 or 2.0.8 version of the deployer, but I would recommend the 2.5 version (just for the sake of having a newer version of Spring).

I don't know exactly what version of Spring is bundled in the 2.5 distribution (I think it is 2.5.5), but it should be safe to replace the bundled jars with later versions - like 2.5.6. In any case, make sure that you're using the same version of spring-web.jar in the webapp as the rest of the jars (otherwise you'll end up with NoSuchMethodError and cohorts).

BTW, out of curiosity, could you post the stacktrace with java.lang.NoClassDefFoundError?


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

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

More information about the jboss-user mailing list