- This topic has 5 replies, 2 voices, and was last updated 19 years, 10 months ago by
Scott Anderson.
-
AuthorPosts
-
When I start up Tomcat, I see the following error:
Jun 17, 2005 10:38:33 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\apps\tomcat\webapps\WOW\WEB-INF\lib\j2ee.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classI have my j2ee.jar in my web projects WEB-INF/lib directory. Should it not be located there and does it need to be deployed? I need it for compiling my code (Java, JSP’s). My copy of j2ee.jar is originally from WebSphere studio 5.1, so could it be an older version? I think WebSphere was running with an older Java (1.3 or 1.41). Do I need an updated version?
My profile is as follows:
What operating system and version are you running?
Windows XP, SP2What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.2
Build id: 200503110845– Was Eclipse freshly installed for MyEclipse?
Yes– Are any other external plugins installed?
No– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.8.4What JDK version are you using to run Eclipse? (java -version)
1.4.2 (compiler compliance level 1.3)What JDK version are you using to launch your application server?
1.4.2What steps did you take that resulted in the issue?
– Start Tomcat 5.0.28 server (for debug)
– Hit breakpoint
– Change java code currently at
– Save (and build) code changeWhat application server are you using?
Tomcat 5.0.28Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
NoI do see messages like the following in the Eclipse log:
!ENTRY org.eclipse.core.resources 2 1 Jun 16, 2005 07:38:45.750
!MESSAGE Skipping builder com.ibm.etools.j2ee.LibCopyBuilder for project PlanetJ. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.
Scott AndersonParticipantI have my j2ee.jar in my web projects WEB-INF/lib directory. Should it not be located there and does it need to be deployed?
It should *not* be in WEB-INF/lib and therefore should not be deployed. Tomcat already has its own version for the level of spec it supports.
I need it for compiling my code (Java, JSP’s).
Actually, you don’t if you’ve set up your project as a MyEclipse Web Project. For an example of how to get a web project going quickly and correctly, please see: http://www.myeclipseide.com/images/tutorials/quickstarts/webprojects/
Scott AndersonParticipant!ENTRY org.eclipse.core.resources 2 1 Jun 16, 2005 07:38:45.750
!MESSAGE Skipping builder com.ibm.etools.j2ee.LibCopyBuilder for project PlanetJ. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.com.ibm.etools.j2ee.* is not part of MyEclipse. This is a remnant from another set of plugins you apparently had installed previously.
I did follow those instructions. It’s of my dependent Java projects that are still failing. I had each of them point to the jars in MyEclipse and they now compile. You are correct in that my Web Project does not need to include any j2ee jar references in the build path. I have removed the j2ee jar from my lib directory.
Scott AndersonParticipantSounds like you’re up and running then. Excellent!
-
AuthorPosts