myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <>
Subject java.lang.IllegalStateException: No Factories configured for this Application
Date Thu, 13 Sep 2007 20:30:38 GMT

I get a java.lang.IllegalStateException: No Factories configured for this Application when
adding a dependency to my webapp.  Someone mentioned on the users list that deleting the tomcat
work directory might solve it, but this is different.  It seems like it's a class loading

I'm running with tomcat 6.0.14 and jdk 1.6

To isolate what's happening I first created a maven project from scratch (component.test)
and added it as a dependency to the webapp.  The webapp runs fine with this dependency.  Then
I added a jsf component and renderer to the component.test project, updated this projects
dependencies, and ran 
mvn clean install on component.test.  

Then I did a 
mvn clean package 
on the corresponding webapp and redeployed it.  Now I get this in the log:

INFO: Deploying web application archive test0.war
Sep 13, 2007 2:55:54 PM org.apache.myfaces.webapp.DefaultFacesInitializer initFaces
SEVERE: Error initializing MyFaces: null
        at org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(
        at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(
        at org.apache.catalina.core.StandardContext.listenerStart(
        at org.apache.catalina.core.StandardContext.start(
        at org.apache.catalina.core.ContainerBase.addChildInternal(
        at org.apache.catalina.core.ContainerBase.addChild(
        at org.apache.catalina.core.StandardHost.addChild(
        at org.apache.catalina.startup.HostConfig.deployWAR(
        at org.apache.catalina.startup.HostConfig.deployApps(
        at org.apache.catalina.startup.HostConfig.check(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

The pom for the component.test project looks like this:

<project xmlns="" xmlns:xsi=""




Any thoughts on why this is happening?

- Ole

View raw message