geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: [m2 build] NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/Executor
Date Thu, 13 Jul 2006 06:44:36 GMT
I think I had to fix this in the jetty assembly prototype I got  
working.  If you look in configs/j2ee-system/project.properties at  
the manifest classpath it includes concurrent.jar.  I think it's  
missing from the equivalent spot in pom.xml.  It may also not be  
getting copied into the lib dir of the assembly.

hope this helps
david jencks

On Jul 12, 2006, at 10:07 PM, Jason Dillon wrote:

> We've gotten much further with svkmerge/m2migration and now it  
> builds assemblies... but when I start the server up I'm getting  
> errors like that listed below.
>
> Anyone have an idea what needs to be changed to fix this?
>
> Also, the log4j warning is a bit odd...
>
> <snip>
> Booting Geronimo Kernel (in Java 1.4.2_09)...
> log4j:WARN No appenders could be found for logger  
> (org.apache.geronimo.system.main.Daemon).
> log4j:WARN Please initialize the log4j system properly.
> Module  1/13 org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
> car             Exception in thread "main"  
> java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ 
> Executor
> 	at java.lang.ClassLoader.defineClass0(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
> 	at java.security.SecureClassLoader.defineClass 
> (SecureClassLoader.java:123)
> 	at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access 
> $200(JarFileClassLoader.java:51)
> 	at org.apache.geronimo.kernel.classloader.JarFileClassLoader$6.run 
> (JarFileClassLoader.java:275)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at  
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass 
> (JarFileClassLoader.java:227)
> 	at  
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass 
> (MultiParentClassLoader.java:243)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> 	at java.lang.ClassLoader.defineClass0(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
> 	at java.security.SecureClassLoader.defineClass 
> (SecureClassLoader.java:123)
> 	at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access 
> $200(JarFileClassLoader.java:51)
> 	at org.apache.geronimo.kernel.classloader.JarFileClassLoader$6.run 
> (JarFileClassLoader.java:275)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at  
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass 
> (JarFileClassLoader.java:227)
> 	at  
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass 
> (MultiParentClassLoader.java:243)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.<init> 
> (GBeanInstance.java:225)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean 
> (BasicKernel.java:354)
> 	at  
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
> GBeans(ConfigurationUtil.java:362)
> 	at  
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start 
> (KernelConfigurationManager.java:187)
> 	at  
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:512)
> 	at  
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:493)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$ 
> $FastClassByCGLIB$$ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
> (FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:817)
> 	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
> (RawInvoker.java:57)
> 	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:35)
> 	at  
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> (ProxyMethodInterceptor.java:96)
> 	at org.apache.geronimo.kernel.config.EditableConfigurationManager$ 
> $EnhancerByCGLIB$$443b9517.startConfiguration(<generated>)
> 	at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
> 	at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> 	at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
>
> </snip>
>
> --jason


Mime
View raw message