Error: Could not find main class org.apache.catalina.startup.Bootstrap. Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:55)


To resolve the same follow the below steps

1. In Eclipse, Open the "Server" window (Present in J2EE perspective. If not there then add it from Windows->Preference->Others->Server).

2. Double click on the server e.g. "Tomcat".

3. Click on  "Open launch configuration" link in the "General information" block.

4. In the dialog, select the "Classpath" tab.

5. Click on the "Add external jar" button.

6. Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar"

7.Close the dialog.

8. Save the settings.

9. Start the server from Eclipse.

Comments

Popular Posts