Hi All,
I am experimenting with the "quickstart" application from the struts 2
tutorial links (http://cwiki.apache.org/WW/struts-2-spring-2-jpa-ajax.html). I
have updated the struts version to 2.0.11.1 and spring to 2.5.2. Everything
works great but when I added sitemesh to the pom, I got an error and jetty does
not start
pom.xml
.
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-sitemesh-plugin</artifactId>
<version>2.0.11.1</version>
</dependency>
.
Error:
[INFO] Jetty server exiting.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failure
Embedded error: Cannot construct Factory :
com.opensymphony.module.sitemesh.factory.DefaultFactory:
java.lang.reflect.InvocationTargetException
[INFO] ------------------------------------------------------------------------
[INFO] Traceorg.apache.maven.lifecycle.LifecycleExecutionException: Failure
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
.
.
Thanks,
Doug
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.