Debuging / Running JSP with Tomcat [message #42878] |
Fri, 10 September 2004 14:46  |
Eclipse User |
|
|
|
Originally posted by: Ian.noreply.net
Hello,
I originally posted this message via the "Web interface" and it seems to be
viewable on the server but not on the web interface itself !! So I thought I
would post it again, via my own web interface to see if that works ..
ORIGINAL PROBLEM:
I have downloaded the IBM.zip code and installed it. I have patched the
tomcatcore.jar file and have downloaded Tomcat 5.5 with J2P SE5. I went
through the "getting started" document and all went well until I came to
the final part.
Instead of tomcat starting, I get the following error:
"Could not find the main class. Program will exit"
and on the console there is:
"java.lang.NoClassDefFoundError: Software
Exception in thread "main" "
Anyone know what the problem is ? and how to fix it ?
Thanks
Ian
----------------
Posted via SST !
|
|
|
|
|
Re: Debuging / Running JSP with Tomcat [message #47516 is a reply to message #43951] |
Sat, 02 October 2004 08:10  |
Eclipse User |
|
|
|
Originally posted by: urgo.ringo.aqris.com
I have got exactly the same problem but for some reason I'm not able to
solve it the way Patrick described. I'm using SDK 1.4.2_05 and have
installed Tomcat 5.0.28 on Win2K machine.
Could there be any other reasons for this error?
Thanks!
Ian wrote:
> Cheers patrick, worked like a dream :o)
> Patrick Bourke wrote:
> > I ran into the same problem, and the solution for me was to ensure that
> > tools.jar from the j2sdk was on the build path.
> > I created a new JRE entry which was a copy of my J2SDK entry
> > ("J2SdkWithTools"). In Edit JRE, I unchecked "Use default system
> > libraries" and added c:path_to_my_j2sdklibtools.jar as an External
> > Jar. I configured Tomcat to use this JRE through Window > Preferences >
> > Server > Installed Runtimes.
> > I stopped the server, removed the Server entry for my Tomcat, added it
> > again and started in Debug mode and the example in the Getting Started
> > guide worked for me.
> > Hope that helps,
> > Patrick.
|
|
|
Powered by
FUDForum. Page generated in 0.06153 seconds