Errors upon import struts2 showcase example
-------------------------------------------

                 Key: WW-2488
                 URL: https://issues.apache.org/struts/browse/WW-2488
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.11
         Environment: Eclipse Europa, Apache Tomcat 6.0, MySQL 5.1, jre 6.0, 
jdk 1.6.0, Windows XP
            Reporter: Chriss Nold


I am new to struts2 and I'm have difficulties with the example applications.
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> or <li> tags.
In an attemp 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 
org.apache.struts2.showcase.chat.ChatSessionListener
java.lang.ClassNotFoundException: 
org.apache.struts2.showcase.chat.ChatSessionListener
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

The .java file is in the location listed, and the build file also appears to be 
in the proper location.  Any help that you can offer would be greatly 
appreciated.

Thank you,
Chriss

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to