[wildfly-dev] NoClassDefFoundError for WildFlyBatchMessages

James R. Perkins jperkins at redhat.com
Mon Nov 18 17:57:10 EST 2013


That seems odd. Are you running this on Beta1 or was it built of the 
upstream?

On 11/18/2013 02:46 PM, Arun Gupta wrote:
> 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
>
>

-- 
James R. Perkins
Red Hat JBoss Middleware



More information about the wildfly-dev mailing list