java.lang.NoClassDefFoundError

Could not initialize class org.omnifaces.config.BeanManager

Solutions on the web5300

  • Could not initialize class org.omnifaces.config.BeanManager
  • Could not initialize class org.omnifaces.config.BeanManager
  • Could not initialize class org.omnifaces.config.BeanManager
  • Stack trace

    • java.lang.NoClassDefFoundError: Could not initialize class org.omnifaces.config.BeanManager at org.omnifaces.util.Beans.getManager(Beans.java:88) at org.omnifaces.util.Beans.getReference(Beans.java:113) at org.omnifaces.application.OmniApplication.<init>(OmniApplication.java:70) at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89) at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54) at com.sun.faces.application.InjectionApplicationFactory.getApplication(InjectionApplicationFactory.java:93) at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:142) at com.sun.faces.lifecycle.ClientWindowFactoryImpl.<init>(ClientWindowFactoryImpl.java:62) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:405) at javax.faces.FactoryFinderInstance.getImplementationInstance(FactoryFinderInstance.java:251) at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:543) at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:283) at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328) at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:439) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4840) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.