struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chriss Nold" <>
Subject Problems setting up example applications
Date Mon, 18 Feb 2008 10:10:43 GMT
 I am new to both Eclipse and Struts2 and I am having issues with the
struts2 examples.
First, I open eclipse and import the .war file for the blank project, and
set the Eclipse configuration to add it is a Tomcat project. When I attempt
to access the app, it fails to find the action mappings. It appears to crash
at the following line of the index.html:
   <META HTTP-EQUIV="Refresh" CONTENT="0;URL=example/HelloWorld.action">
giving the error in the browser:
The requested resource (There is no Action mapped for action name
HelloWorld.) is not available.
and in the console:
There is no Action mapped for action name HelloWorld. - [unknown location]
and, before it fails, the app forwards to the URL:

The action mapping is present in the example.xml which is included in the
This is occurring with no modifications to the project.

Upon importing the showcase .war file included in the struts2 download, I
immediately receive seven errors of "invalid </p> tags" in the .jsp's. All
of these are following <ol>, <ul> or <li> tags.
In an attempt to at least get it to start, I removed these end tags and
configured it as a Tomcat project. When I restart the server, showcase fails
(during the server restart) giving the following error:
SEVERE: Error configuring application listener of class
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.core.StandardContext.listenerStart(
at org.apache.catalina.core.StandardContext.start(

at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.start(
at org.apache.catalina.startup.Bootstrap.main(

The .java file is in the location listed, and the build file also appears to
be in the proper location.
I am running Eclipse Europa and tomcat 6 on an XP box with jre 6 and
jdk 1.6with MySQL.

 Any help that you can offer would be greatly appreciated.

Thank you,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message