[wildfly-dev] NoClassDefFoundError for WildFlyBatchMessages

Arun Gupta arun.gupta at gmail.com
Mon Nov 18 17:46:44 EST 2013


Running a test from
https://github.com/arun-gupta/javaee7-samples/tree/master/batch/batchlet-simple
gives the following error:


14:41:34,818 INFO [org.jboss.as.server] (management-handler-thread -
1) JBAS018559: Deployed "f3b403ce-26a3-4f80-be51-8bb46dccc819.war"
(runtime-name : "f3b403ce-26a3-4f80-be51-8bb46dccc819.war")
14:41:35,067 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner]
(pool-1-thread-1) Failed:
org.javaee7.batch.batchlet.simple.MyBatchletTest.testBatchletProcess:
java.util.ServiceConfigurationError:
javax.batch.operations.JobOperator: Provider
org.jberet.operations.JobOperatorImpl could not be instantiated:
java.lang.NoClassDefFoundError: Could not initialize class
org.wildfly.jberet._private.WildFlyBatchMessages
at java.util.ServiceLoader.fail(ServiceLoader.java:224) [rt.jar:1.7.0_45]
at java.util.ServiceLoader.access$100(ServiceLoader.java:181) [rt.jar:1.7.0_45]
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
[rt.jar:1.7.0_45]
at java.util.ServiceLoader$1.next(ServiceLoader.java:445) [rt.jar:1.7.0_45]
at javax.batch.runtime.BatchRuntime.getJobOperator(BatchRuntime.java:57)
[jboss-batch-api_1.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.javaee7.batch.batchlet.simple.MyBatchletTest.testBatchletProcess(MyBatchletTest.java:37)
[classes:]

The workspace was updated a few mins ago.

Arun


-- 
http://blog.arungupta.me
http://twitter.com/arungupta


More information about the wildfly-dev mailing list