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

com.br | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Erro ao executar JSF

    com.br | 1 year ago
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
  2. 0

    Erro ao iniciar o JSF - Assuntos Gerais - GUJ

    com.br | 5 months ago
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
  3. 0

    could not find Factory: javax.faces.context.FacesContextFactory

    Coderanch | 5 years ago | Jeetu Das
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Parsing error when deploying Tomcat6 JSF application - digester.Digester

    Stack Overflow | 5 years ago | user1530669
    java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions! If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml. A typical config looks like this; <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener>
  6. 0

    Upgrading to MyFaces 2.2.8, Issues while deploying application in tomcat6

    Stack Overflow | 2 years ago | ddhiraj
    java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions! If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml. A typical config looks like this; <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener>

  1. jpvee 12 times, last 3 months ago
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

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

    at javax.faces.FactoryFinder.getFactory()
  2. JavaEE 7
    FacesServlet.init
    1. javax.faces.FactoryFinder.getFactory(FactoryFinder.java:263)
    2. javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
    2 frames
  3. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    8. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
    9. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
    10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
    11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
    12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    15. org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    18. org.apache.catalina.core.StandardService.start(StandardService.java:450)
    19. org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    20. org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    20 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    2 frames