Why deploying spring camel-jpa based bundle causes NoClassDefFoundError serp/util/Strings ?
Issue
- While deploying a OpenJPA based bundle in a fabric managed container causes the following error to appear dueing deployment:
io.fabric8.agent.utils.MultiException: Error updating agent
at io.fabric8.agent.DeploymentAgent.install(DeploymentAgent.java:750)[58:io.fabric8.fabric-agent:1.0.0.redhat-379]
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:525)[58:io.fabric8.fabric-agent:1.0.0.redhat-379]
at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:252)[58:io.fabric8.fabric-agent:1.0.0.redhat-379]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_71]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_71]
Caused by: org.osgi.framework.BundleException: Activator start error in bundle org.apache.aries.jpa.container [155].
at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2437)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix$7.call(Felix.java:2325)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.runInContext(Felix.java:2188)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2323)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2090)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
at io.fabric8.agent.DeploymentAgent.install(DeploymentAgent.java:743)[58:io.fabric8.fabric-agent:1.0.0.redhat-379]
... 7 more
Caused by: java.lang.NoClassDefFoundError: serp/util/Strings
at org.apache.openjpa.lib.conf.Configurations.parseProperties(Configurations.java:585)
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
