Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Tomcat 7 server startup errors(Running a tomcat server within eclipse)
Tomcat 7 server startup errors [message #1695458] Thu, 14 May 2015 20:20 Go to next message
James Paxton is currently offline James PaxtonFriend
Messages: 1
Registered: May 2015
Junior Member
I have the following installed.

Eclipse Java EE IDE for Web Developers.

Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600


I have added a tomcat7 server. When I attempt to run the server , I get the following. How do I determine what source is missing?

java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:236)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:426)
Re: Tomcat 7 server startup errors [message #1695474 is a reply to message #1695458] Fri, 15 May 2015 05:09 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/14/2015 10:01 PM, James Paxton wrote:
> I have the following installed.
> Eclipse Java EE IDE for Web Developers.
>
> Version: Luna Service Release 2 (4.4.2)
> Build id: 20150219-0600
>
>
> I have added a tomcat7 server. When I attempt to run the server , I
> get the following. How do I determine what source is missing?
>
> java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:236)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:426)

Let's make sure you...

a. Added the server to the Eclipse workspace (via Window -> Preferences
-> Servers, etc.)

b. Created a Server in the workspace (should see a Server "project" in
the Project Explorer)

c. aren't talking about launching Tomcat from outside Eclipse, right?

d. Right-click your application project, choose Build Path and the
Libraries tab, you see the library/JARs for Tomcat, right?
Re: Tomcat 7 server startup errors [message #1695513 is a reply to message #1695474] Fri, 15 May 2015 14:18 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

e. The server you added was a version of Tomcat unpacked from an archive from apache.org, so all of the necessary jar locations were known and used when launching it?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:XPath View - show text value
Next Topic:How to create EJB 2.x beans in Eclipse Luna
Goto Forum:
  


Current Time: Thu Apr 25 10:32:09 GMT 2024

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

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

Back to the top