java.lang.IllegalStateException

Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory


Solutions on the web19738

Solution icon of coderanch
via Coderanch by Iii Aaa, 8 months ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of coderanch
via Coderanch by Iii Aaa, 7 months ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of icesoft
via Icesoft by akotlus, 1 year ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of icesoft
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of java
via Java.net JIRA by easarina, 9 months ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of apache
via karaf-user by Charles Moulliard, 1 month ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of oraclecommunity
via Oracle Community by 843810, 1 month ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of oraclecommunity
via Oracle Community by 843844, 8 months ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of stackoverflow
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Solution icon of web
via angularsummit.com by Unknown author, 1 year ago
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

Stack trace

  • java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory at org.apache.catalina.core.StandardContext.start(StandardContext.java:5214) at com.sun.enterprise.web.WebModule.start(WebModule.java:500) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1896) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1568) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:323) at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:209) at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:146) at org.glassfish.maven.RunWarMojo.execute(RunWarMojo.java:82) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4942) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5205) ... 32 more Caused by: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804) at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306) at javax.faces.webapp.FacesServlet.init(FacesServlet.java:166) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1428) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1230) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4932) ... 33 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

12 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
21 more bugmates