Did you by chance build your project from the info on this page?
http://struts.apache.org/2.0.11/docs/struts-maven-archetypes.html
the archetype is uses as an example is old (2.0.5). Should a Jira be opened
to correct this?
On Jan 3, 2008 9:02 AM, Marcin Pietraszek <[EMAIL PROTECTED]> wrote:
> 20
2008/1/3, Antonio Petrelli <[EMAIL PROTECTED]>:
> I think that the wrong dependency is in the struts2-tiles-plugin
> because it seems to reference an old version of the "render" method.
Of course this was my problem! I should use
org.apache.struts
struts2-tiles-plugin
2.0.11
2008/1/3, Marcin Pietraszek <[EMAIL PROTECTED]>:
org.apache.tiles.TilesContainer.render(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V
>
> org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104)
>
> org.apache.struts2.dispatcher.StrutsResultSupport.exe
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
>
> Thanks it is working now! I also needed commons-collection. Why does
> not Struts come with those jars? :)
Tiles does not need commons collections. It's commons-digester that is
needed.
Antonio
Thanks it is working now! I also needed commons-collection. Why does
not Struts come with those jars? :)
Thanks,
Rodrigo Pereira
On Dec 7, 2007 6:20 PM, Mike Jennings <[EMAIL PROTECTED]> wrote:
> Looks like you don't have apache commons-digester in your classpath
>
>
> Rodrigo Pereira wrote:
> >
did you check to see commons-digester.jar is on /WEB-INF/lib ?
and which version ?
M-
- Original Message -
From: "Rodrigo Pereira" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, December 07, 2007 3:17 PM
Subject: Re: Struts 2.0.11 + Tiles
Looks like you don't have apache commons-digester in your classpath
Rodrigo Pereira wrote:
I got more information.
07/12/2007 18:15:55 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener
instance of class org.apache.struts2.tile
I got more information.
07/12/2007 18:15:55 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener
instance of class org.apache.struts2.tiles.StrutsTilesListener
java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule
That's all it is printed...
Thanks,
Rodrigo Pereira
On Dec 7, 2007 5:38 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
> > Hi,
> > after I updated to 2.0.5 I got errors during startup
> >
> > org.apache.tiles.impl.BasiTilesContainer init
> > INFO
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
> Hi,
> after I updated to 2.0.5 I got errors during startup
>
> org.apache.tiles.impl.BasiTilesContainer init
> INFO: Initializing Tiles2 container
> org.apache.catalina.core.StandardContext start
> SEVERE:startup failed due to previous errors
> org.
Hi,
after I updated to 2.0.5 I got errors during startup
org.apache.tiles.impl.BasiTilesContainer init
INFO: Initializing Tiles2 container
org.apache.catalina.core.StandardContext start
SEVERE:startup failed due to previous errors
org.apache.tiles.access.TilesAccess setContainer
INFO: Removing Til
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
>
> No, only a message from tomcat saying the resource is not available.
> Well, my index.html page automatically redirects to an action.
Mmm... at this point I suggest to update to Tiles 2.0.5.
http://tiles.apache.org/download.html
Probably you wi
tener you haven't any exception in you server log?
> No exception on startup ?
> No exception when you try to access to your application?
>
> -Message d'origine-
> De : Rodrigo Pereira [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 7 décembre 2007 16:27
> À : Struts
ruts Users Mailing List
Objet : Re: Struts 2.0.11 + Tiles
Yes, I only get the exception if I remove it, if not I get "The requested
resource (/myApp/) is not available." and it seems like all my actions stop
working.
Thanks,
Rodrigo Pereira
On Dec 7, 2007 1:10 PM, Antonio Petrelli <[
Yes, I only get the exception if I remove it, if not I get "The
requested resource (/myApp/) is not available." and it seems like all
my actions stop working.
Thanks,
Rodrigo Pereira
On Dec 7, 2007 1:10 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
>
> Hi,
> no exception during startup.
> Btw, is it correct of not having StrutsTilesListener in web.xml?
Yes, it *is* correct. Why are you asking, did you remove it?
That listener is necessary for Tiles (inside Struts) to work.
Antonio
Hi,
no exception during startup.
Btw, is it correct of not having StrutsTilesListener in web.xml?
Thanks,
Rodrigo Pereira
On Dec 7, 2007 12:46 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
> >
> > java.lang.NullPointerException
> > org.a
Have you try replacing this:
tilesDefinitions
/WEB-INF/tiles.xml
with this
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
/WEB-INF/tiles.xml
Antonio Petrelli wrote:
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
java.lang.NullPointerException
org.apache.
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
>
> java.lang.NullPointerException
> org.apache.struts2.views.tiles.TilesResult.doExecute(
> TilesResult.java:104)
Ok this is symptom that the Tiles container has not been loaded (there is an
issue that addresses the problem of the NPE, jus
I noticed before I sent the note that I only get this exception if I
took off StrutsTilesListener from web.xml, not sure if this is
correct.
java.lang.NullPointerException
org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:104)
org.apache.struts2.dispatcher.Str
Ok I give up :-(
Seriously Rodrigo, we need the stack trace of the exception that you told
that you have found.
Otherwise, you are really too vague.
Antonio
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
>
> I got that error: "The requested resource (/myApp/) is not available."
>
> web.xml:
>
>
I got that error: "The requested resource (/myApp/) is not available."
web.xml:
tilesDefinitions
/WEB-INF/tiles.xml
struts
org.apache.struts2.dispatcher.FilterDispatcher
struts
/*
Rodrigo
Please post the exception stack trace here, otherwise we cannot help you!
Antonio
2007/12/7, Rodrigo Pereira <[EMAIL PROTECTED]>:
>
> Struts actions stop working and it is not recognize by tomcat.
>
> I have the following jars:
>
> struts2-tiles-plugin-2.0.11.jar
> tiles-api-2.0.4.jar
> t
Struts actions stop working and it is not recognize by tomcat.
I have the following jars:
struts2-tiles-plugin-2.0.11.jar
tiles-api-2.0.4.jar
tiles-core-2.0.4.jar
tiles-jsp-2.0.4.jar
Thanks,
Rodrigo Pereira
On 12/6/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Rodrigo Pereira <[EMAIL PROTE
--- Rodrigo Pereira <[EMAIL PROTECTED]> wrote:
> I am facing an issue trying to use struts 2.0.11 + tiles.
>
> When I insert the following information in my web.xml I get an exception:
>
>
>
org.apache.struts2.tiles.StrutsTilesListener
>
Any particular exception? You have the Tiles plugin? You
What is the exception that you are getting?
Rodrigo Pereira wrote:
Hi,
I am facing an issue trying to use struts 2.0.11 + tiles.
When I insert the following information in my web.xml I get an exception:
org.apache.struts2.tiles.StrutsTilesListener
Have anybody faced the same issue here befo
26 matches
Mail list logo