1 Reply Latest reply on May 22, 2013 5:45 PM by charyorde

    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

    charyorde

      Hi,

       

      I'm setting up Jive on Ubuntu 11.10. I have a standalone tomcat6 installed. When I execute ./cargo-start , I get the following errors:

       

      [INFO] Scanning for projects...

      [INFO] -------------------------------------------------------------------------util.jar in d

      [INFO] Building weboverlay

      [INFO]    task-segment: [cargo:start]

      [INFO] ------------------------------------------------------------------------

      [WARNING] POM for 'com.jivesoftware:kahadb:pom:5.3.2-5.0.0.0:provided' is invalid.

       

      Its dependencies (if any) will NOT be available to the current build.

      [WARNING] POM for 'net.oauth.core:oauth:pom:20090531:provided' is invalid.

       

      Its dependencies (if any) will NOT be available to the current build.

      [WARNING] DEPRECATED [wait]: The wait parameter is now deprecated, please use cargo:run instead

      [INFO] [cargo:start {execution: default-cli}]

      [INFO] [stalledLocalDeployer] Deploying [/home/emperor/javaprojects/yookos-3.2/web/target/version-6.0.x-1.0-SNAPSHOT-jive-6.0.0.0_RC8.war] to [target/tomcat6x/webapps]...

      [INFO] [stalledLocalDeployer] The WAR file has its context set to / and will therefore be deployed as ROOT.war

      [INFO] [talledLocalContainer] Tomcat 6.x starting...

      [INFO] [talledLocalContainer] Listening for transport dt_socket at address: 8787

      [WARNING] [talledLocalContainer] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

      [WARNING] [talledLocalContainer] Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap

      [WARNING] [talledLocalContainer]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

      [WARNING] [talledLocalContainer]     at java.security.AccessController.doPrivileged(Native Method)

      [WARNING] [talledLocalContainer]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

      [WARNING] [talledLocalContainer]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

      [WARNING] [talledLocalContainer]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

      [WARNING] [talledLocalContainer]     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

      [WARNING] [talledLocalContainer] Could not find the main class: org.apache.catalina.startup.Bootstrap.  Program will exit.

       

      I've tried dropping bootstrap.jar and tomcat-juli.jar into $JAVA_HOME//jre/lib/ext/ but I've not been lucky yet.

       

      I'll appreciate your help on this.

       

      Thanks