Hi Johannes,
struts now uses common lang3, you should a) update your reference to the
latest lang version b) include common lang 2 dependency (no risk of
conflict, they can live together)

Sent from my mobile device, so please excuse typos and brevity.

Maurizio Cucchiara

Il giorno 10/apr/2012 23.44, "Johannes Geppert" <jo...@apache.org> ha
scritto:
Hi Łukasz,

I just make a quick test with some apps and all running fine and like
expected.

After that I try the archetypes again with following command:

mvn archetype:generate -B -DgroupId=com.mycompany.mysystem
-DartifactId=myConventionWebApp -DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-convention -DarchetypeVersion=2.3.2
-DarchetypeRepository=https://repository.apache.org/content/groups/staging/

The generated maven webapp looks fine and all files we need are now
available.
But when I try to run this apps with embedded Jetty I got following
stacktrace:

Problem accessing /myConventionWebApp/hello.action. Reason:

   org/apache/commons/lang/StringUtils

Caused by:

java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
       at
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:140)
       at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
       at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:374)
       at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:278)
       at
org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)

I think there are some dependencies changes necessary.
While try it during development with local repository I don't run into this
stacktrace.

Best Regards

Johannes



-----
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context:
http://struts.1045723.n5.nabble.com/Struts-2-3-2-available-for-test-tp5625540p5631231.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-u...

Reply via email to