用JSF1.2时提示could not find Factory: javax.faces.context.FacesContextFactory解决办法
2008-06-01 13:59
471 查看
用JSF1.2时提示could not find Factory: javax.faces.context.FacesContextFactory解决办法:
网上有人说:
在项目的web.xml中加入下面一句
<listener>
<listener-class>org.operamasks.faces.config.FacesConfigLoader</listener-class>
</listener>
重启tomcat解决
但我没用的是myeclispe,没有用operamasks,试着用:
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
代替之,问题解决。
网上有人说:
在项目的web.xml中加入下面一句
<listener>
<listener-class>org.operamasks.faces.config.FacesConfigLoader</listener-class>
</listener>
重启tomcat解决
但我没用的是myeclispe,没有用operamasks,试着用:
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
代替之,问题解决。
相关文章推荐
- 用JSF1.2时提示could not find Factory: javax.faces.context.FacesContextFactory解决办法
- 在JBoss中部署JSF应用时报错"Could not find backup for factory javax.faces.application.ApplicationFactory" 解决方法
- Could not find class 'javax.naming.directory.InitialDirContext'的解决办法!
- 关于错误提示:could not find a part of path “X:\”的解决办法
- 记录一下,关于错误提示:could not find a part of path “X:\”的解决办法
- 记录一下,关于错误提示:could not find a part of path “X:\”的解决办法
- 真机调试出现Could not find Developer Disk Image问题解决办法
- U盘安装ubuntu 10.10,出现错误:Could not find kernel image 的解决办法
- Eclipse中的引用项目报Could not find *.apk!解决办法
- Could not find or load main class org.gradle.wrapper.GradleWrapperMain解决办法
- eclipse 调试时出现!MESSAGE Could not find bundle: org.eclipse.equinox.console解决办法
- Eclipse中的引用项目报Could not find *.apk!解决办法
- android中出现could not find camera.apk,解决办法!
- Could not find *.apk在android1.5中的解决办法
- Eclipse启动Android模拟器提示PANIC: Could not open:XXX解决办法
- idea中mybatis+spring boot, mapper 提示Could not autowire. No beans of … type found解决办法
- Could not find *.apk!解决办法
- Yii “CDbConnection failed to open the DB connection: could not find driver"解决办法
- Struth2过滤报错“警告: Could not find action or result”解决办法
- 运行android程序,Could not find *.apk的解决办法