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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give an alternative way to protect jsp’s with not much features from direct access.

638


What does validation interceptor?

638


What is the purpose of @requiredstringvalidator annotation?

607


What are the contents on web.xml in struts application ?

587


What is ValueStack and OGNL?

648






In which method of action class the business logic is executed?

620


What’s the utilization of resource bundle properties file in struts validation structure?

707


How are interceptors and servlet filters different?

577


What is action class?

672


How do you create message resource?

670


What does params interceptor?

609


What do you mean by the abstract package in struts2, and what is its utilization?

606


What inbuilt themes are provided by struts2?

687


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2843


What is the difference between struts1 and struts2?

604