seam2中实现fckEditor出错:jboss4.2.1已经不再支持myFaces
2007-08-30 10:34
549 查看
jboss4.2.1GA,jboss-seam-CVS.2007-08-30_14-35-23
把fck-faces-1.7.26.jar和FCKeditor-2.3.jar放在根目录下,用firefox打开相关页面出错:
XML解析错误:前缀未绑定至名字空间
位置:http://localhost:8080/helloJise/testrichtextAddEdit.seam?cid=6
行:56,列:17
<fck:editor toolbarSet="Default" value="" width="100%" height="400" id="content" cols="180" rows="118"></fck:editor>
----------------^
原先在jboss4.0.5GA中是可以运行的。
根据seam论坛的解释,基本可以确定是由于从jboss4.0.5GA迁移至4.2.0GA所致。
michael.yuan@jboss.com:
Yes, migrating from 4.0.5 to 4.2.0 is a pain because we switched from MyFaces to JSF RI. But that should stay stable for the foreseeable future -- meaning that migrating to JBoss AS 5.0 should be very easy.
如果把两个jar文件放到war包的web-info/lib目录下,出错:
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NoClassDefFoundError: org/apache/myfaces/renderkit/html/HtmlTextareaRenderer
... ...
org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp18917helloJise.ear-contents/helloJise-exp.war/ deployment failed
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
......
仅把FCKeditor-2.3.jar放到war包的web-info/lib目录下,加载时不出错,浏览页面时,出现:
XML解析错误:前缀未绑定至名字空间,与前面所述相同。
2007.9.1 可能是加载fck-faces-1.7.26.jar时出了问题
2007.9.5 根据资料介绍,jboss4.2.1已经不再至此myFaces,而fck-faces包正是使用了myFaces的功能,因此,导致加载fck-faces-1.7.26.jar时出错。
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces:
JBoss AS 4.0.3 and higher ships with the MyFaces JSF 1.1 implementation. For information on using the JSF 1.1 support in these versions, see JBossWithIntegratedMyFaces.
JBoss AS 5.x and JBoss AS 4.2 ship with the java.net CDDL JSF 1.2 Implementation. For information on using the JSF 1.2 support, see JBossWithJSFCDDL.
把fck-faces-1.7.26.jar和FCKeditor-2.3.jar放在根目录下,用firefox打开相关页面出错:
XML解析错误:前缀未绑定至名字空间
位置:http://localhost:8080/helloJise/testrichtextAddEdit.seam?cid=6
行:56,列:17
<fck:editor toolbarSet="Default" value="" width="100%" height="400" id="content" cols="180" rows="118"></fck:editor>
----------------^
原先在jboss4.0.5GA中是可以运行的。
根据seam论坛的解释,基本可以确定是由于从jboss4.0.5GA迁移至4.2.0GA所致。
michael.yuan@jboss.com:
Yes, migrating from 4.0.5 to 4.2.0 is a pain because we switched from MyFaces to JSF RI. But that should stay stable for the foreseeable future -- meaning that migrating to JBoss AS 5.0 should be very easy.
如果把两个jar文件放到war包的web-info/lib目录下,出错:
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NoClassDefFoundError: org/apache/myfaces/renderkit/html/HtmlTextareaRenderer
... ...
org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp18917helloJise.ear-contents/helloJise-exp.war/ deployment failed
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
......
仅把FCKeditor-2.3.jar放到war包的web-info/lib目录下,加载时不出错,浏览页面时,出现:
XML解析错误:前缀未绑定至名字空间,与前面所述相同。
2007.9.1 可能是加载fck-faces-1.7.26.jar时出了问题
2007.9.5 根据资料介绍,jboss4.2.1已经不再至此myFaces,而fck-faces包正是使用了myFaces的功能,因此,导致加载fck-faces-1.7.26.jar时出错。
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces:
JBoss AS 4.0.3 and higher ships with the MyFaces JSF 1.1 implementation. For information on using the JSF 1.1 support in these versions, see JBossWithIntegratedMyFaces.
JBoss AS 5.x and JBoss AS 4.2 ship with the java.net CDDL JSF 1.2 Implementation. For information on using the JSF 1.2 support, see JBossWithJSFCDDL.
相关文章推荐
- seam2中实现fckEditor出错:jboss4.2.1已经不再支持myFaces
- Aerospike Has Removed the Large Data Type (LDT) Feature--Aerospike已经不再支持LDT特性
- 让JBoss支持多域名:1个IP映射多个域名的实现方法
- JBoss7.1.1 实现支持热部署
- OBS Classic经典版已经不再支持
- 让JBoss支持多域名:1个IP映射多个域名的实现方法
- OEGUI0.2版本放出 支持SDKTray已经实现的所有GUI组件
- Hibernate3已经不再支持DBCP连接池,而推荐使用C­3PO
- (不要再问我了。flex4已经支持图文混排了.)实现图文混排 view source by rightMenu
- jwPlayer实现支持IE8及以下版本避免出错的方法
- 实现从一个目录向另一个目录拷贝文件,如果目的目录已经有此文件,则不再拷贝。
- window.defaultStatus已经不再被支持了吗?
- HTML5中新元素、新属性汇总;HTML5中已经不支持元素(或改为css实现)等
- jwPlayer实现支持IE8及以下版本避免出错的方法
- Confluent Platform 3.0支持使用Kafka Streams实现实时的数据处理(最新版已经是3.1了,支持kafka0.10了)
- Hibernate3已经不再支持DBCP连接池,而推荐使用C3PO
- 爬虫简单示例,用httpClient4.2.1实现(转载)
- OKHttp3(支持Retrofit)的网络数据缓存Interceptor拦截器的实现
- Android立体旋转动画实现与封装(支持以X、Y、Z三个轴为轴心旋转)
- [置顶] 基于梯度下降法的三层神经网络的C++实现(支持保存和读取)