users@glassfish.java.net

Exception starting struts 2 - tiles integration

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Jul 2008 06:25:02 PDT

Hi everyone,

     I work in a struts 2 application with tiles in an enterprise application. I use Netbeans 6.0 IDE. In my enterprise application I use Jasper reports 3.0,EJB3.0, Struts 2 tiles plugin. when I try to run it , the application shows

   'The package name 'tiles-default' at location package - jar:file:/D:/kramesh/BPC/dist/gfdeploy/BPC-war_war/WEB-INF/lib/struts2-tiles-plugin-2.0.11.jar!/struts-plugin.xml:30:60 is already been used by another package at location package - jar:file:/D:/kramesh/BPC/dist/gfdeploy/struts2-tiles-plugin-2.0.11.jar!/struts-plugin.xml:30:60 - package - jar:file:/D:/kramesh/BPC/dist/gfdeploy/BPC-war_war/WEB-INF/lib/struts2-tiles-plugin-2.0.11.jar!/struts-plugin.xml:30:60'

error

Also it shows Exception in starting FilterDispatcher. but I configure the struts 2 FilterDispatcher properly in web.xml.

I have
        struts-tile-plugin.jar
        tiles-api-2.0.6.jar
        tiles-core-2.0.6.jar
        tiles-jsp-2.0.6.jar

jars to plug in tiles in struts 2. I have attached my source file and struts.xml and web.xml files

Anyone give me the solution

Thanks in advance

Regards,

Ramesh K
[Message sent by forum member 'rameshkmca' (rameshkmca)]

http://forums.java.net/jive/thread.jspa?messageID=285375