Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

 « Return to Thread: Exception in thread "main" java.lang.NoClassDefFoundError:

Re: Exception in thread "main" java.lang.NoClassDefFoundError:

by trfunite :: Rate this Message:

Reply to Author | View in Thread

I've installed JDK1.5.0_15 but still i;m facing this problem. do i need to install jre or any other software? Please advice thanks a lot.

Regards
Malcum
djencks wrote:
You need a more compliant jvm, geronimo does not run with gcj or kaffe.

thanks
david jencks

On May 10, 2008, at 3:39 AM, trfunite wrote:

>
> Hi,
>     I just install geronimo recently and when i tried to run it i  
> got the
> following error mention below. I've tried different ways but i cant  
> seems to
> get it working. Could someone please advice me on this? Thanks a lot.
>
> malcum@localhost:~> cd geronimo-tomcat6-javaee5-2.1/
> malcum@localhost:~/geronimo-tomcat6-javaee5-2.1> ./bin/geronimo.sh run
> Using GERONIMO_BASE:   /home/malcum/geronimo-tomcat6-javaee5-2.1
> Using GERONIMO_HOME:   /home/malcum/geronimo-tomcat6-javaee5-2.1
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /usr/lib/jvm/jre
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.apache.geronimo.kernel.ObjectNameUtil
>   at java.lang.Class.initializeClass(libgcj.so.8)
>   at org.apache.geronimo.kernel.Kernel.<clinit>(Kernel.java:39)
>   at java.lang.Class.initializeClass(libgcj.so.8)
>   at
> org
> .apache
> .geronimo
> .kernel
> .util
> .MainConfigurationBootstrapper
> .bootKernel(MainConfigurationBootstrapper.java:72)
>   at
> org
> .apache
> .geronimo
> .kernel
> .util
> .MainConfigurationBootstrapper
> .getMain(MainConfigurationBootstrapper.java:56)
>   at
> org
> .apache
> .geronimo
> .kernel
> .util
> .MainConfigurationBootstrapper
> .main(MainConfigurationBootstrapper.java:38)
>   at  
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>   at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: java.lang.ClassNotFoundException:
> javax.management.MalformedObjectNameException not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/malcum/geronimo-
> tomcat6-javaee5-2.1/bin/server.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>   at java.net.URLClassLoader.findClass(libgcj.so.8)
>   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.8)
>   at java.lang.ClassLoader.loadClass(libgcj.so.8)
>   at java.lang.ClassLoader.loadClass(libgcj.so.8)
>   at java.lang.Class.forName(libgcj.so.8)
>   at java.lang.Class.initializeClass(libgcj.so.8)
>   ...7 more
> malcum@localhost:~/geronimo-tomcat6-javaee5-2.1>
>
> --
> View this message in context: http://www.nabble.com/Exception-in-thread-%22main%22-java.lang.NoClassDefFoundError%3A-tp17162001s134p17162001.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>

 « Return to Thread: Exception in thread "main" java.lang.NoClassDefFoundError:

LightInTheBox - Buy quality products at wholesale price