org.jvnet.hk2.component.ComponentException: Failed to create class org.glassfish.weld.WeldSniffer

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
Failed to create class org.glassfish.weld.WeldSniffer >
via java.net by Unknown author, 2 years ago
Failed to create class com.sun.enterprise.security.ssl.SecuritySupportImpl
java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.weld.WeldSniffer
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:66)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:67)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:59)
at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:73)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
at java.util.ArrayList.addAll(ArrayList.java:472)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:87)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffer(SnifferManagerImpl.java:115)
at com.sun.enterprise.v3.server.ApplicationLifecycle.getSniffersFromApp(ApplicationLifecycle.java:1996)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:351)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:309)

Users with the same issue

Once, 2 months ago
3 times, 3 months ago
Once, 3 months ago
206 times, 3 months ago
70 times, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.