Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Debuging / Running JSP with Tomcat
Debuging / Running JSP with Tomcat [message #42878] Fri, 10 September 2004 14:46 Go to next message
Eclipse UserFriend
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 #43766 is a reply to message #42878] Mon, 13 September 2004 13:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pbourke-eclipsestuff.semaview.com

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_j2sdk\lib\tools.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.

Ian wrote:
> 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 #43951 is a reply to message #43766] Tue, 14 September 2004 03:32 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Debuging / Running JSP with Tomcat [message #47516 is a reply to message #43951] Sat, 02 October 2004 08:10 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Missing optionally required plug-in org.eclipse.perfmsr.core_0.0.0
Next Topic:Cannot compile against source model error
Goto Forum:
  


Current Time: Thu May 22 02:38:38 EDT 2025

Powered by FUDForum. Page generated in 0.06153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top