Auf Thema antworten

Keiner ne Idee?

hab schon das hier probiert:

How to Junit test EJB class | JBoss AS | JBoss Community

HOWTO test EJB3 with JUnit outside of the container (Gerald's Blog)


Bekomm aber immer beim createEJBContainer diese Meldungen

[CODE]16:07:11,126 WARN  [ClassPathEjbJarScanner] Dev Hack Alert: Ignoring class on ClassPath which can't be loaded due to java.lang.NoClassDefFoundError: org/apache/tools/ant/DynamicConfigurator while loading com.sun.istack.tools.ProtectedTask; configure an exclusion filter so "/D:/JBoss/jboss-6.0.0.Final/client/jaxb-xjc.jar" is not processed

16:07:11,126 WARN  [ClassPathEjbJarScanner] Dev Hack Alert: Ignoring class on ClassPath which can't be loaded due to java.lang.NoClassDefFoundError: org/apache/tools/ant/DynamicConfigurator while loading com.sun.istack.tools.ProtectedTask$AntElement; configure an exclusion filter so "/D:/JBoss/jboss-6.0.0.Final/client/jaxb-xjc.jar" is not processed

[/CODE]



Oben