tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From is_maximum <mnr...@gmail.com>
Subject exception in OpenEJB eclipse plugin
Date Thu, 12 Nov 2009 12:40:15 GMT

Hi
I get following error when starting the server :

Apache OpenEJB 3.1.1    build: 20090530-06:18
http://openejb.apache.org/
org.apache.openejb.OpenEJBException: java.lang.TypeNotPresentException: Type
[unknown] not present: Type [unknown] not present
	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:285)
	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
	at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
	at org.apache.openejb.server.Server.init(Server.java:63)
	at org.apache.openejb.server.Main.initServer(Main.java:155)
	at org.apache.openejb.server.Main.main(Main.java:128)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.openejb.cli.MainImpl.main(MainImpl.java:152)
	at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:103)
Caused by: java.lang.TypeNotPresentException: Type [unknown] not present
	at
sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:27)
	at
sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:56)
	at $Proxy49.value(Unknown Source)
	at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1147)
	at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:616)
	at
org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:186)
	at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:247)
	at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:601)
	at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:551)
	at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:380)
	at
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:292)
	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:271)
	... 11 more
Caused by: java.lang.NoClassDefFoundError: javax/ejb/EJBHome
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:242)
	at
org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:91)
	at
org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:66)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:242)
	at
sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
	at
sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
	at
sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
	at
sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370)
	at
sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:351)
	at
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:280)
	at
sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
	at
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
	at
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
	at java.lang.Class.initAnnotationsIfNecessary(Class.java:3031)
	at java.lang.Class.getAnnotation(Class.java:2989)
	at java.lang.Class.isAnnotationPresent(Class.java:3001)
	at
org.apache.xbean.finder.ClassFinder.findAnnotatedClasses(ClassFinder.java:241)
	at
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:441)
	at
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:249)
	at
org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:184)
	... 17 more


what is the problem? I've set the openEjb home directory and everything
seems ok

-----
--
Regards

Mohammad Norouzi

Help each other to reach the future faster

http://pixelshot.wordpress.com Pixelshot Photoblog 

http://brainable.blogspot.com Brainable Blog 


-- 
View this message in context: http://old.nabble.com/exception-in-OpenEJB-eclipse-plugin-tp26317952p26317952.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message