- This topic has 5 replies, 2 voices, and was last updated 19 years, 1 month ago by
Riyad Kalla.
-
AuthorPosts
-
sunil1808MemberHi,
I’ve just started using MyEcplise and I’ve downloaded jakarta-tomcat-4.1.31-src server.I’ve followed the instructions on http://www.myeclipseide.com/images/tutorials/quickstarts/appservers/
to configure tomcat from MyEclipse.
1. After that I tried to start the server; I got the following error message
java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
Exception in thread “main”Did I point to the wrong folders while configuring the server?
Following is the path in my configuration file,
Tomcat Home Directory: C:\Program Files\eclipse\myEclipse\jakarta-tomcat-4.1.31-src\catalina\src2. I’ve downloaded the Java SDK1.4 from Sun Site but that has JRE 1.5; will tomcat 4/5 work on JRE1.5.0?
If not where can I download JDK which has JRE 1.4.2.x? I wasn’t able to locate this on the Java site?Thanking you,
Sunil Kr. Singh
Riyad KallaMemberSunil,
First you don’t want to download the Tomcat source release, you want the binary release. For Tomcat 4.1.31 it is this:
http://apache.edgescape.com/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.zipJust unzip that.
Also your Home Dir in the example above should be:
C:\Program Files\eclipse\myEclipse\jakarta-tomcat-4.1.31-srcBut like I said, the source download is the wrong one, after you unzip the link I gave you above, you will want to point to the jakarta-tomcat-4.1.31 directory as your Home dir.
2. I’ve downloaded the Java SDK1.4 from Sun Site but that has JRE 1.5; will tomcat 4/5 work on JRE1.5.0?
If not where can I download JDK which has JRE 1.4.2.x? I wasn’t able to locate this on the Java site?I think Tomcat 4 will run with Java 5, but I’m not sure if it’s buggy. To get Java 1.4.2 you can go here:
http://java.sun.com/j2se/1.4.2/download.html
sunil1808MemberHi Riyad,
Thanks for quick support, this really helped me a lot.
I’ve downloaded the following for tomcat 5.0, apache-tomcat-5.5.16. The server startup and shutdown was successful.
But now the problem is with deployment.The deployment wizard is not recognizing the J2EE projects on my workspace and thus the dropdown list doesn’t have any entry to select from.Just to let you know; the wizard provided under your tutorial (for creating J2EE projects using MyEclipse) looked different from the one that’s getting pulled up during the creation of J2EE project.
If you could please help me with this.Please find the MyEclipse, Eclipse and System configuration,
*** Date: Wed Apr 12 00:51:39 CDT 2006*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Graphical Editing Framework
Version: 3.1
Build id: 200509301327Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\eclipse\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
b60_68
-vm
C:\WINDOWS\system32\javaw.exe
Riyad KallaMemberBut now the problem is with deployment.The deployment wizard is not recognizing the J2EE projects on my workspace and thus the dropdown list doesn’t have any entry to select from.
Right click on the project in question and go to the MyEclipse menu, do you see “Add Web Capabilities”? If you do, then you didn’t create a Web Project, you most likely just created a Java Project which is why the deployment tool doesn’t understand that project as “deployable”. You can run the add web caps wizard or just create a new web project:
File > New > Project > MyEclipse > J2EE > Web Project
If you have a different path, something like “Dynamic Web Project”, then you most likely have WTP installed separately and are actually confusing the two products.
sunil1808MemberHi Riyad,
Thanks for your prompt support; it worked out.
Riyad KallaMemberGlad to hear it.
-
AuthorPosts