[jboss-user] [EJB 3.0] - Embeddable EJB3 Alpha 9 in JUnit

thunderbear do-not-reply at jboss.com
Mon Sep 18 12:50:09 EDT 2006


Hi,

I'm getting

anonymous wrote : java.lang.RuntimeException: java.lang.NoSuchMethodError: org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.addSchemaInitializer(Ljava/lang/String;Ljava/lang/String;)V
  | 	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:386)
  | 	at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
  | 	at junit.framework.TestResult.runProtected(TestResult.java:128)
  | 	at junit.extensions.TestSetup.run(TestSetup.java:27)
  | 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
  | 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
  | 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | Caused by: java.lang.NoSuchMethodError: org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.addSchemaInitializer(Ljava/lang/String;Ljava/lang/String;)V
  | 	at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.addSchema(SingletonSchemaResolverFactory.java:83)
  | 	at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.addSchema(SingletonSchemaResolverFactory.java:104)
  | 	at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.(SingletonSchemaResolverFactory.java:61)
  | 	at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.(SingletonSchemaResolverFactory.java:41)
  | 	at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.(BeanXMLDeployer.java:53)
  | 	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:370)
  | 
when trying to run EJB3StandaloneBootstrap in a JUnit TestCase.

Is the wrong version of jbossxb.jar bundled in jboss-ejb3-all.jar?
Anyone experiencing the same?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972372#3972372

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972372



More information about the jboss-user mailing list