Question: java.lang.ClassNotFoundException:

Ads

 
 
 

Share on Google+Share on Google+

Aditya
java.lang.ClassNotFoundException:
2 Answer(s)      7 years 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
Ads
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

Ads









Related Tutorials/Questions & Answers:
Tutorials   
Java Spring Hibernate Struts Training Dynamic tabs in struts 1.2 Unable to upload a file to mysql database using struts1 Pagination in struts 2 struts2 filterdispatcher is deprecated please use the new filters viewing How to add struts2 dependency in Maven? Struts Exception Handling can you check below code if any erors multimedia how to display the value of termcell name in label class not found exception Where to learn Struts 2? dropdown cacheing Upload and Download Large files in jsp What is Struts 2 framework struts and hibernate based health care project source code struts and hibernate based health care project source code Struts 2 Integration with Struts 1 About captcha of strut2 About captcha of strut2 Which is the good website for struts 2 tutorials? advance java source code source code In Struts 2 how to pass the Struts struts internationalization for Korean language struts2 Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate i want to create an application with only a button which on click displays table from database using struts2 and hibernate on eclipse Struts2 and Hibernate Struts2 and Hibernate Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts 2 action-validation.xml not loading Struts-2 and Ajax integration STRUTS QUESTION conerting web project into .exe file About Select tag ScartApplication aplicacion ecommerce struts 1.3 struts 1.3 sms prob Need to know struts1 all jar file names struts with hibernate

Ads

 
Advertisement null

Ads