- Start the Tomcat server on the eclipse server to run the web project. An exception occurs.
Java. Lang. classnotfoundexception
Information: Set web app root system property:
'Webapp. root' =[F: \ work_space_soft \. Metadata \. plugins \ org. Eclipse. WST. server. Core \ tmp0 \ wtpwebapps \ lottes_03_14 \]3:14:43Org. Apache. Catalina. Core. applicationcontext log information: initializing log4j from
[F: \ work_space_soft \. Metadata \. plugins \ org. Eclipse. WST. server. Core \ tmp0 \ wtpwebapps \ lottes_03_14 \ Web-INF \ conf \ log4j. xml]3:14:44Org. Apache. Catalina. Core. standardcontext filterstart: exception starting filter user authentication filterJava. Lang. classnotfoundexception: COM. Soft. Web. Filter. userauthenfilter
-
- Exception parsing: the Java compilation file (. Class) is not found
- Cause tracing:
- View the output location of the web Project compilation file:
-
-
- Check the class file in the corresponding location. The class file does not exist in the following directory.
- Solution:
-
-
- Refresh the project and re-compile the WEB Project.
- The following error message is displayed on the console:
Delete -- force F:/soft/03_14/webroot/WEB-INF/classes/System. properties path is not a working copy directorysvn:'F: \ soft \ 03_14 \ webroot \ WEB-INF \ Classes \ system. properties' is not a working copy
-
-
- Delete the above files and re-compile the project.
- Until you confirm that there is a class file in the corresponding position of the web project.
- Redeploy the WEB Project within the eclipse development tool.
- Restart Tomcat server again. This exception does not occur. Problem solved.