Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Struts java.lang.ClassNotFoundException:
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Aditya
java.lang.ClassNotFoundException:
2 Answer(s)      4 years and 11 months ago
Posted in : Struts


Hi,

I cant connect my eclipse(ganymede) to maven
Even I got some errors when launching my first application

This is what i got

Jan 28, 2010 4:03:02 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Struts2Demo' did not find a matching property.
Jan 28, 2010 4:03:02 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:mkcl' did not find a matching property.
Jan 28, 2010 4:03:02 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\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\WiFi\bin\;;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\mysql-connector-java-3.1.6-bin\mysql-connector-java-3.1.6-bin\C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\jsp-api\C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api;C:\Program Files\Java\jdk1.6.0_14\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Java\jdk1.6.0_14\bin;C:\Program Files\Java\jdk1.6.0_14\bin;C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\bin;
Jan 28, 2010 4:03:02 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 28, 2010 4:03:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 403 ms
Jan 28, 2010 4:03:02 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 28, 2010 4:03:02 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Jan 28, 2010 4:03:02 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
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: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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jan 28, 2010 4:03:02 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Jan 28, 2010 4:03:02 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/mkcl] startup failed due to previous errors
Jan 28, 2010 4:03:02 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 28, 2010 4:03:02 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 28, 2010 4:03:02 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Jan 28, 2010 4:03:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 395 ms

Advertisement
View Answers

January 28, 2010 at 4:44 PM




January 28, 2010 at 6:34 PM


Thanks alot,I finally got it connected(MAVEN)

now no any page is displayed in my eclipse here and it shows:-

Jan 28, 2010 6:47:23 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Struts2Demo' did not find a matching property.
Jan 28, 2010 6:47:23 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\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\WiFi\bin\;;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\mysql-connector-java-3.1.6-bin\mysql-connector-java-3.1.6-bin\C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\jsp-api\C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api;C:\Program Files\Java\jdk1.6.0_14\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Java\jdk1.6.0_14\bin;C:\Program Files\Java\jdk1.6.0_14\bin;C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\bin;
Jan 28, 2010 6:47:23 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 28, 2010 6:47:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 419 ms
Jan 28, 2010 6:47:23 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 28, 2010 6:47:23 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Jan 28, 2010 6:47:23 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 28, 2010 6:47:23 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 28, 2010 6:47:23 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Jan 28, 2010 6:47:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 348 ms


Related Tutorials/Questions & Answers:
 

 

 

DMCA.com