org.jboss.weld.resources.spi.ResourceLoadingException

Error loading class org.apache.deltaspike.core.util.ServiceUtils

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web15

  • via Unknown by Jean-Baptiste Onofré,
  • via Unknown by Jean-Baptiste Onofré,
  • via Unknown by Jean-Baptiste Onofré,
  • Stack trace

    • org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class org.apache.deltaspike.core.util.ServiceUtils at org.ops4j.pax.cdi.weld.impl.bda.AbstractClassLoaderResourceLoader.classForName(AbstractClassLoaderResourceLoader.java:50)[169:org.ops4j.pax.cdi.weld:0.9.0] at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:106)[166:org.jboss.weld.osgi-bundle:2.1.2.Final] at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:94)[166:org.jboss.weld.osgi-bundle:2.1.2.Final] at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:62)[166:org.jboss.weld.osgi-bundle:2.1.2.Final] at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:60)[166:org.jboss.weld.osgi-bundle:2.1.2.Final] at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)[166:org.jboss.weld.osgi-bundle:2.1.2.Final] at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)[166:org.jboss.weld.osgi-bundle:2.1.2.Final] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_67] at java.lang.Thread.run(Thread.java:745)[:1.7.0_67] Caused by: java.lang.ClassFormatError: Weaving hook failed. at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2074) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955) at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_67] at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1844) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:937) at org.apache.xbean.osgi.bundle.util.DelegatingBundle.findCachedClass(DelegatingBundle.java:201) at org.apache.xbean.osgi.bundle.util.DelegatingBundle.loadClass(DelegatingBundle.java:181) at org.ops4j.pax.swissbox.core.BundleClassLoader.findClass(BundleClassLoader.java:176)[160:org.ops4j.pax.swissbox.core:1.8.0] at org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(BundleClassLoader.java:194)[160:org.ops4j.pax.swissbox.core:1.8.0] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_67] at org.ops4j.pax.cdi.weld.impl.bda.AbstractClassLoaderResourceLoader.classForName(AbstractClassLoaderResourceLoader.java:44)[169:org.ops4j.pax.cdi.weld:0.9.0] ... 10 more Caused by: java.lang.IllegalArgumentException: value null at org.objectweb.asm.ClassWriter.a(Unknown Source)[8:org.objectweb.asm.all:5.0.3] at org.objectweb.asm.MethodWriter.visitLdcInsn(Unknown Source)[8:org.objectweb.asm.all:5.0.3] at org.apache.aries.spifly.weaver.TCCLSetterVisitor$TCCLSetterMethodVisitor.visitMethodInsn(TCCLSetterVisitor.java:194)[124:org.apache.aries.spifly.dynamic.bundle:1.0.1] at org.objectweb.asm.MethodVisitor.visitMethodInsn(Unknown Source)[8:org.objectweb.asm.all:5.0.3] at org.objectweb.asm.ClassReader.a(Unknown Source)[8:org.objectweb.asm.all:5.0.3] at org.objectweb.asm.ClassReader.b(Unknown Source)[8:org.objectweb.asm.all:5.0.3] at org.objectweb.asm.ClassReader.accept(Unknown Source)[8:org.objectweb.asm.all:5.0.3] at org.objectweb.asm.ClassReader.accept(Unknown Source)[8:org.objectweb.asm.all:5.0.3] at org.apache.aries.spifly.dynamic.ClientWeavingHook.weave(ClientWeavingHook.java:61)[124:org.apache.aries.spifly.dynamic.bundle:1.0.1] at org.apache.felix.framework.util.SecureAction.invokeWeavingHook(SecureAction.java:1127)[org.apache.felix.framework-4.2.1.jar:] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2057)[org.apache.felix.framework-4.2.1.jar:] ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one