[jboss-user] [Beginners Corner] - Re: Cant figure why I cant run this example

RVince99 do-not-reply at jboss.com
Mon Nov 17 18:23:12 EST 2008


Yes, that WAS the problem (though, I don't see how you were able to discern that from the stack trace). Now, when I go to deploy, I get a stack trace telling me it cannot find spring.jar, though I HAVE spring.jar in /WEB-INF/lib :

18:15:27,140 ERROR [[/ssa]] Exception starting filter struts2
Cannot locate the chosen ObjectFactory implementation: spring - [unknown locatio
n]
        at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionPr
ovider.java:224)
        at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionPr
ovider.java:195)
        at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectio
nProvider.java:153)
        at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(Defau
ltConfiguration.java:131)
        at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
ConfigurationManager.java:52)
        at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Di
spatcher.java:395)
        at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)

Isn't it enough that a required jar file be in /WEB-INF/lib ? Thanks again.

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

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



More information about the jboss-user mailing list