在JBoss 4.2.1上部署应用程序时出现以下错误
7:05:59,673 ERROR [Application Name]StandardWrapper.Throwable
java.lang.IllegalStateException: Application was not properly initialized at
startup, could not find Factory: javax.faces.context.FacesContextFactory
我浏览了网页,发现很多帖子建议在web.xml
中添加一个条目,但该条目已经存在。所有必需的库都在web-inf
。
所有人都有解决方案吗?
答案 0 :(得分:1)
确保您的类路径是 clean (即没有重复的不同版本的类/ JAR文件,请记住JBoss附带了内置的JSF库!)并且您的web.xml
被声明为至少 Servlet 2.3。