作者:手机用户2502939965 | 来源:互联网 | 2023-09-24 16:46
将以前JDK1.6换成稳定版本后,启动JBOSS后报错,一下是部分错误信息09:57:08,719ERROR[[XXXXXX]]クラスorg.jboss.web.jsf.integra
将以前JDK1.6换成稳定版本后,启动JBOSS后报错,一下是部分错误信息
09:57:08,719 ERROR [[/XXXXXX]] クラス org.jboss.web.jsf.integration.config.JBossJSFConfigureListener のリスナインスタンスにコンテキスト初期化イベントを送信中の例外です
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org/ajax4jsf/resource/InternetResourceBuilder
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:71)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
Caused by: java.lang.NoClassDefFoundError: org/ajax4jsf/resource/InternetResourceBuilder
at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.
(ChameleonRenderKitFactory.java:62)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
09:57:13,031 ERROR [StandardContext] Error listenerStart
09:57:13,031 ERROR [StandardContext] 以前のエラーのためにコンテキストの起動が失敗しました
09:57:13,031 INFO [SessionFactoryImpl] closing
09:57:13,031 INFO [SessionFactoryImpl] closing
09:57:13,031 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: java:/hibernateSessionFactory
09:57:13,031 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
09:57:13,031 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: java:/hibernateSessionFactory
09:57:13,031 WARN [ServiceController] Problem starting service jboss.web.deployment:war=XXXXXXX.war,id=325603586
org.jboss.deployment.DeploymentException: URL file:/XXXXXXX/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/XXXXXXX-ear.ear/XXXXXXX.war/ deployment failed
09:57:13,031 ERROR [MainDeployer] Could not start deployment: file:/XXXXXXX/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/XXXXXXX-ear.ear/XXXXXXX.war/
org.jboss.deployment.DeploymentException: URL file:/XXXXXXX/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/XXXXXXX-ear.ear/XXXXXXX.war/ deployment failed
9 个解决方案
看看JAR包是不是有冲突。JBOSS本身的JAR包和工程自有的JAR之间有没有冲突。
能具体说说么?比如那几个JAR包会引起这样的错误?谢谢啦
我的环境是:
eclipse3.4.2
jboss-4.2.3GA
jboss-seam-2.1.2
jdk1.6.0
解决了,是缺少org/ajax4jsf/resource/InternetResourceBuilder
JAR包,谢谢啦
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org/ajax4jsf/resource/InternetResourceBuilder
很明显 少包啦。。。