help with this error [Virus checked]

View: New views
2 Messages — Rating Filter:   Alert me  

help with this error [Virus checked]

by Wolfgang.Schrecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi experts,
I try to run a test case from eclipse, I get this error and have no idea
what it's all about.
Any help ?

Apache OpenEJB 3.0    build: 20080408-04:13
http://openejb.apache.org/
INFO - openejb.home = D:\Dokumente und
Einstellungen\DE16297\workspace\oejb3-jpa
INFO - openejb.base = D:\Dokumente und
Einstellungen\DE16297\workspace\oejb3-jpa
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory,
type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
INFO - Found EjbModule in classpath: D:\Dokumente und
Einstellungen\DE16297\workspace\oejb3-jpa\target\classes
INFO - Configuring app: D:\Dokumente und
Einstellungen\DE16297\workspace\oejb3-jpa\target\classes
FATAL - OpenEJB has encountered a fatal error and cannot be started: The
Assembler encountered an unexpected error while attempting to build the
container system.
java.lang.NoClassDefFoundError: org/objectweb/asm/FieldVisitor
      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 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.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 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 org.apache.xbean.finder.ClassFinder.readClassDef(
ClassFinder.java:677)
      at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:140)
      at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:112)
      at
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(
AnnotationDeployer.java:315)
      at
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(
AnnotationDeployer.java:223)
      at org.apache.openejb.config.AnnotationDeployer.deploy(
AnnotationDeployer.java:167)
      at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(
ConfigurationFactory.java:148)
      at
org.apache.openejb.config.ConfigurationFactory.configureApplication(
ConfigurationFactory.java:440)
      at
org.apache.openejb.config.ConfigurationFactory.configureApplication(
ConfigurationFactory.java:391)
      at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(
ConfigurationFactory.java:309)
      at org.apache.openejb.assembler.classic.Assembler.build(
Assembler.java:249)
      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149)
      at org.apache.openejb.OpenEJB.init(OpenEJB.java:288)
      at org.apache.openejb.OpenEJB.init(OpenEJB.java:267)
      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.loader.OpenEJBInstance.init(
OpenEJBInstance.java:36)
      at org.apache.openejb.client.LocalInitialContextFactory.init(
LocalInitialContextFactory.java:62)
      at org.apache.openejb.client.LocalInitialContextFactory.init(
LocalInitialContextFactory.java:51)
      at
org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(
LocalInitialContextFactory.java:40)
      at javax.naming.spi.NamingManager.getInitialContext(
NamingManager.java:667)
      at javax.naming.InitialContext.getDefaultInitCtx(
InitialContext.java:247)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.<init>(InitialContext.java:197)
      at net.atos.wlp.oejb3.AlbumManagerOEJB3_JEETestCase.oneTimeSetUp(
AlbumManagerOEJB3_JEETestCase.java:60)
      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.junit.internal.runners.ClassRoadie.runBefores(
ClassRoadie.java:49)
      at org.junit.internal.runners.ClassRoadie.runProtected(
ClassRoadie.java:36)
      at org.junit.internal.runners.JUnit4ClassRunner.run(
JUnit4ClassRunner.java:42)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
JUnit4TestReference.java:38)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)

mit freundlichen Grüßen/best regards

Wolfgang Schrecker

"Der Inhalt eines Begriffs nimmt ab, wenn sein Umfang zunimmt; wird dieser
allumfassend, so muß der Inhalt ganz verloren gehen."
from G. Frege: Die Grundlagen der Arithmetik S. 40



 --
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstrasse 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
mailto:Wolfgang.Schrecker@...
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417
 
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstraße 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
Fax :
mailto: Wolfgang.Schrecker@...
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
This e-mail is destined for the above mentioned recipient. In case you
received this e-mail by accident, we would appreciate it if you could
contact the sender and delete all copies stored on your computer.
Please be aware that the security and confidentiality of electronic data
transmitted by e-mail is not completely guaranteed and that data may be seen,
copied, downloaded or changed by third persons during transmission.
Atos Origin accepts no liability for the security and confidentiality of
data and documents sent by e-mail. Please make sure that all important
messages will be confirmed in writing by means of a telefax or a letter.
* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *

Re: help with this error [Virus checked]

by David Blevins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jul 23, 2008, at 2:01 AM, Wolfgang.Schrecker@... wrote:

>
> Hi experts,
> I try to run a test case from eclipse, I get this error and have no  
> idea
> what it's all about.
> Any help ?
>
> Apache OpenEJB 3.0    build: 20080408-04:13
> http://openejb.apache.org/
> INFO - openejb.home = D:\Dokumente und
> Einstellungen\DE16297\workspace\oejb3-jpa
> INFO - openejb.base = D:\Dokumente und
> Einstellungen\DE16297\workspace\oejb3-jpa
> INFO - Configuring Service(id=Default Security Service,
> type=SecurityService, provider-id=Default Security Service)
> INFO - Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory,
> type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
> INFO - Found EjbModule in classpath: D:\Dokumente und
> Einstellungen\DE16297\workspace\oejb3-jpa\target\classes
> INFO - Configuring app: D:\Dokumente und
> Einstellungen\DE16297\workspace\oejb3-jpa\target\classes
> FATAL - OpenEJB has encountered a fatal error and cannot be started:  
> The
> Assembler encountered an unexpected error while attempting to build  
> the
> container system.
> java.lang.NoClassDefFoundError: org/objectweb/asm/FieldVisitor
>      at java.lang.ClassLoader.defineClass1(Native Method)
>      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

Seems like the asm-2.2.3.jar is not in your IDEs classpath.

-David

LightInTheBox - Buy quality products at wholesale price