If you are using 2.0.1 or later, you need to include the struts2-sitemesh
plugin.

Don

On 10/31/06, Mariano Stampella <[EMAIL PROTECTED]> wrote:

 Hi,



I am using actually this libraries:



<!--  Struts 2 -->

<dependency>

   <groupId>org.apache.struts</groupId>

   <artifactId>struts2-core</artifactId>

   <version>2.0.2-SNAPSHOT</version>

</dependency>

<dependency>

   <groupId>org.apache.struts</groupId>

   <artifactId>struts2-extras</artifactId>

   <version>2.0-SNAPSHOT</version>

</dependency>

<!-- XWork -->

<dependency>

   <groupId>opensymphony</groupId>

   <artifactId>xwork</artifactId>

   <version>2.0-SNAPSHOT</version>

</dependency>

<!-- Freemarker -->

<dependency>

    <groupId>freemarker</groupId>

    <artifactId>freemarker</artifactId>

    <version>2.3.4</version>

</dependency>



<!-- SiteMesh -->

<dependency>

   <groupId>opensymphony</groupId>

   <artifactId>sitemesh</artifactId>

   <version>2.2.1</version>

</dependency>



And when tomcat startup, found this problem:



GRAVE: Excepción arrancando filtro sitemesh

*java.lang.ClassNotFoundException*: org.apache.struts2
.sitemesh.FreeMarkerPageFilter

      at org.apache.catalina.loader.WebappClassLoader.loadClass(*
WebappClassLoader.java:1355*)

      at org.apache.catalina.loader.WebappClassLoader.loadClass(*
WebappClassLoader.java:1201*)

      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(*
ApplicationFilterConfig.java:209*)

      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(*
ApplicationFilterConfig.java:304*)

      at org.apache.catalina.core.ApplicationFilterConfig.<init>(*
ApplicationFilterConfig.java:77*)

      at org.apache.catalina.core.StandardContext.filterStart(*
StandardContext.java:3634*)

      at org.apache.catalina.core.StandardContext.start(*
StandardContext.java:4217*)

      at org.apache.catalina.core.ContainerBase.start(*ContainerBase.java
:1013*)

      at org.apache.catalina.core.StandardHost.start(*StandardHost.java
:718*)

      at org.apache.catalina.core.ContainerBase.start(*ContainerBase.java
:1013*)

      at org.apache.catalina.core.StandardEngine.start(*
StandardEngine.java:442*)

      at org.apache.catalina.core.StandardService.start(*
StandardService.java:450*)

      at org.apache.catalina.core.StandardServer.start(*
StandardServer.java:709*)

      at org.apache.catalina.startup.Catalina.start(*Catalina.java:551*)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*)

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at org.apache.catalina.startup.Bootstrap.start(*Bootstrap.java:294*)

      at org.apache.catalina.startup.Bootstrap.main(*Bootstrap.java:432*)

31/10/2006 17:17:56 org.apache.struts2.spring.StrutsSpringObjectFactory
init

INFO: Initializing Struts-Spring integration...

31/10/2006 17:17:56 
com.opensymphony.xwork2.spring.SpringObjectFactorysetAutowireStrategy

INFO: Setting autowire strategy to name

31/10/2006 17:17:56 org.apache.struts2.spring.StrutsSpringObjectFactory
init

INFO: ... initialized Struts-Spring integration successfully

31/10/2006 17:17:56 org.apache.catalina.core.StandardContext start

GRAVE: Error filterStart

31/10/2006 17:17:56 org.apache.catalina.core.StandardContext start

GRAVE: Falló en arranque del Contexto [/example] debido a errores previos























*Mariano Stampella
[EMAIL PROTECTED]

*www.fdvsolutions.com*













Billinghurst 1712, 8vo D (CP1425) :: Buenos Aires, Argentina :: (54-11)
4826-9464





Reply via email to