2 Replies Latest reply on Jan 28, 2002 5:00 AM by valter

    java.lang.NoClassDefFoundError java/lang/Object

    valter Newbie

      [root@localhost bin]# pwd;ls -al;sh -x run.sh
      /cd/JBoss-2.4.4_Jetty-3.1.3-1/jboss/bin
      total 6024
      drwxr-xr-x 2 root root 4096 Jan 27 14:27 ./
      drwxr-xr-x 11 root root 4096 Dec 29 05:56 ../
      -rw-r--r-- 1 root root 4769 Dec 29 05:56 BeanCacheMonitorJMS.jar
      -rw-r--r-- 1 root root 2815 Dec 29 05:56 BeanCache
      MonitorJMX
      -rwxr-xr-x 1 root root 6123520 Jan 27 14:27 core*
      -rw-r--r-- 1 root root 777 Dec 29 05:56 run.bat
      -rw-r--r-- 1 root root 6755 Dec 29 05:56 run.jar
      -rwxr-xr-x 1 root root 845 Dec 29 05:56 run.sh*
      -rw-r--r-- 1 root root 99 Dec 29 05:56 run_with_jetty.bat
      -rwxr-xr-x 1 root root 119 Dec 29 05:56 run_with_jetty.sh*
      + JBOSS_CLASSPATH=:run.jar
      + JBOSS_CLASSPATH=:run.jar
      ++ java -version
      ++ grep HotSpot
      + HOTSPOT=x
      + '[' x '!=' x ']'
      + HOTSPOT=
      + JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar
      + JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
      + JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl
      + echo JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar
      JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar
      + java -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl -classpath :run.jar:../lib/crimson.jar org.jboss.Main
      Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object
      run.sh: line 27: 13951 Aborted (core dumped) java $HOTSPOT $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@

      [root@localhost bin]# uname -a
      Linux localhost.localdomain 2.4.8-34.1mdk #1 Mon Nov 19 12:40:39 MST 2001 i686 unknown.jar


      the same error message with tomcat.
      can you help me?

      thanks,
      valter