On Apr 4, 2007, at 4:44 PM, Mathieu Mangeot-Nagata wrote:


Hello all,

I'm trying to start xwiki as a war application within enhydra5.1 framework.
There is a problem during startup.
I have a ClassNotFoundException on a struts class:

2007-04-04 15:56:43,277: xwiki,INFO,: Configuring web service using "default"
2007-04-04 15:56:43,407: xwiki,INFO,: Configuring web service using "file:/home/mangeot/xwiki/WEB-INF/web.xml"
2007-04-04 15:56:47,865: xwiki,INFO,: default: init
2007-04-04 15:56:47,867: xwiki,INFO,: jsp: init
2007-04-04 15:56:47,920: xwiki,INFO,: action: init
2007-04-04 15:56:47,930: org.apache.struts.util.MessageResourcesFactory,ERROR,: MessageResourcesFactory.createFactory
java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResourcesFactory

I checked the strusts.jar file and it contains the PropertyMessageResourcesFactory:
749 Thu Mar 09 15:30:48 CET 2006 org/apache/struts/util/PropertyMessageResourcesFactory.class

I don't know where is the problem.
I googled the Web but did not find any useful help.

Any ideas?

Your enhydra setup probably has another struts jar somewhere.

-Vincent