struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Mathieu" <mathieu.se...@gmail.com>
Subject Config problems ?
Date Fri, 26 Oct 2007 07:48:35 GMT
Hi every one,
I have installed Struts 1.3.8 used the struts-blank-1.3.8.war to create a
first project, it run on an Apache Tomcat 5.0 with a JDK1.4.2_08.
When I first try the app with the /Welcom.do url from the struts-blank app,
no problem (this Welcom.do is just an url that forward directly to jsp
without any Action class).
But when I try to call my Action FirstTest.java, I receive an Exception.

I'am searching sind 3 days and don't no anymore what to do

My url /firstTest.do is declared in the struts-config.xml as follow:

        <action path="/firstTest"
                type="java.com.test.FirstTest">
          <forward name="success"
                   path="/pages/firstTest.jsp"/>
        </action>


Exception

26-oct.-2007 9:46:40
org.apache.struts.chain.commands.servlet.CreateActioncreateAction
INFO: Initialize action of type: java.com.test.FirstTest
26-oct.-2007 9:46:40
org.apache.struts.chain.commands.AbstractExceptionHandler execute
ATTENTION: Unhandled exception
java.lang.ClassNotFoundException: java.com.test.FirstTest
    at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1340)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1189)
    at org.apache.struts.chain.commands.util.ClassUtils.getApplicationClass(
ClassUtils.java:54)
    at
org.apache.struts.chain.commands.util.ClassUtils.getApplicationInstance(
ClassUtils.java:71)
    at org.apache.struts.chain.commands.servlet.CreateAction.createAction(
CreateAction.java:98)
    at org.apache.struts.chain.commands.servlet.CreateAction.getAction(
CreateAction.java:68)
    at org.apache.struts.chain.commands.AbstractCreateAction.execute(
AbstractCreateAction.java:90)
    at org.apache.struts.chain.commands.ActionCommandBase.execute(
ActionCommandBase.java:51)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at org.apache.commons.chain.generic.LookupCommand.execute(
LookupCommand.java:304)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at org.apache.struts.chain.ComposableRequestProcessor.process(
ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1913)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(
StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java
:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)
26-oct.-2007 9:46:40
org.apache.struts.chain.commands.ExceptionCatcherpostprocess
ATTENTION: Exception from exceptionCommand 'servlet-exception'
java.lang.ClassNotFoundException: java.com.test.FirstTest
    at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1340)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1189)
    at org.apache.struts.chain.commands.util.ClassUtils.getApplicationClass(
ClassUtils.java:54)
    at
org.apache.struts.chain.commands.util.ClassUtils.getApplicationInstance(
ClassUtils.java:71)
    at org.apache.struts.chain.commands.servlet.CreateAction.createAction(
CreateAction.java:98)
    at org.apache.struts.chain.commands.servlet.CreateAction.getAction(
CreateAction.java:68)
    at org.apache.struts.chain.commands.AbstractCreateAction.execute(
AbstractCreateAction.java:90)
    at org.apache.struts.chain.commands.ActionCommandBase.execute(
ActionCommandBase.java:51)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at org.apache.commons.chain.generic.LookupCommand.execute(
LookupCommand.java:304)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at org.apache.struts.chain.ComposableRequestProcessor.process(
ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1913)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(
StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java
:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)

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