Skip to main content



      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 16:20 Go to next message
Eclipse UserFriend
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 01:09 Go to previous messageGo to next message
Eclipse UserFriend
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 10:18 Go to previous message
Eclipse UserFriend
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?
Previous Topic:XPath View - show text value
Next Topic:How to create EJB 2.x beans in Eclipse Luna
Goto Forum:
  


Current Time: Wed Jul 23 14:38:49 EDT 2025

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

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

Back to the top