Hi frnds iam new to struts wen iam running helloworld
application using struts iam getting the error as belwo
kindly any one can solve it plzz .....thanks in
advance.........
Nov 18, 2009 9:27:46 PM
org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING:
[SetPropertiesRule]{Server/Service/Engine/Host/Context}
Setting property 'source' to
'org.eclipse.jst.jee.server:StrutsExample1' did not find a
matching property.
Nov 18, 2009 9:27:46 PM
org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING:
[SetPropertiesRule]{Server/Service/Engine/Host/Context}
Setting property 'source' to
'org.eclipse.jst.jee.server:Struts1' did not find a matching
property.
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which
allows optimal performance in production environments was
not found on the java.library.path: C:\Program
Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\sys
tem32;C:\WINDOWS;C:/Program
Files/Java/jre6/bin/client;C:/Program
Files/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW
S\System32\Wbem;C:\Program Files\Java\jdk1.5.0_18\bin;
Nov 18, 2009 9:27:46 PM
org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
Nov 18, 2009 9:27:46 PM org.apache.catalina.startup.Catalina
load
INFO: Initialization processed in 678 ms
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@ca2dce
org.apache.struts.action.ActionServlet
java.lang.ClassNotFoundException:
org.apache.struts.action.ActionServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1233)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar
dWrapper.java:1095)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrappe
r.java:993)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand
ardContext.java:4149)
at
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4458)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:722)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi
ce.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer
.java:710)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:583
)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
88)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41
3)
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /Struts1 threw load() exception
java.lang.ClassNotFoundException:
org.apache.struts.action.ActionServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1233)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar
dWrapper.java:1095)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrappe
r.java:993)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand
ardContext.java:4149)
at
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4458)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:722)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi
ce.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer
.java:710)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:583
)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
88)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41
3)
Nov 18, 2009 9:27:46 PM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
Nov 18, 2009 9:27:46 PM org.apache.jk.common.ChannelSocket
init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 18, 2009 9:27:46 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
Nov 18, 2009 9:27:46 PM org.apache.catalina.startup.Catalina
start
INFO: Server startup in 616 ms
Answers were Sorted based on User's Feedback
Answer / r.jainrocks@gmail.com
Hi kondu,
In my view if you use any kind of "properties" than
checks the key-value pairs ,u defined in properties file and used.
Is This Answer Correct ? | 2 Yes | 1 No |
what is use of assert keyword in java..?
In which method of action class the business logic is executed?
where you use thread in your java project?
What are the struts2 configuration properties that control file uploading process?
What is the difference between filters and interceptors ?
What is the role of action class?
what is the diff between struts1.0 and struts2.0
What is the purpose of @action annotation?
Why do the struts tags provide for so little formatting?
Difference between html tags and struts specific html tags
Why use spring, if you are already using struts?
When do I need “struts.jar” on my classpath?