我想摆脱以下JBoss控制台输出中的WARN消息。
08:46:53,653 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "IodLogin.war"
08:46:53,670 INFO [org.jboss.as.remoting] (MSC service thread 1-12) JBAS017100: Listening on 127.0.0.1:9999
08:46:53,670 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on 127.0.0.1:4447
08:46:54,124 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor' for service type 'com.sun.faces.spi.injectionprovider'
08:46:54,124 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection' for service type 'com.sun.faces.spi.injectionprovider'
08:46:54,596 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment IodLogin.war
08:46:54,815 INFO [org.jboss.weld.deployer] (MSC service thread 1-10) JBAS016005: Starting Services for CDI deployment: IodLogin.war
08:46:54,858 INFO [org.jboss.weld.Version] (MSC service thread 1-10) WELD-000900 1.1.10 (redhat)
08:46:54,901 INFO [org.jboss.as.osgi] (MSC service thread 1-7) JBAS011907: Register module: Module "deployment.IodLogin.war:main" from Service Module Loader
08:46:54,904 INFO [org.jboss.weld.deployer] (MSC service thread 1-11) JBAS016008: Starting weld service for deployment IodLogin.war
08:46:55,269 INFO [org.apache.catalina.core.StandardContext] (MSC service thread 1-13) The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
08:46:55,327 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-13) Initializing Mojarra 2.1.13-jbossorg-1 20121010-0442 for context '/IodLogin'
08:46:55,933 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-13) Hibernate Validator 4.2.0.Final-redhat-2
08:46:56,281 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-13) Monitoring jndi:/default-host/IodLogin/WEB-INF/faces-config.xml for modifications
这只是一个警告信息,我怀疑它有任何直接的负面影响,但我尽量避免警告信息,这些信息可能会分散我和其他人的注意力,使其免受不应忽视的警告 - “男孩们'狼'“比喻道。
我没有使用Tomcat或Jetty,但看起来某些配置文件或代码指的是特定于这些环境的类。我已经验证过没有XML文件直接引用它们。
我正在运行JBoss EAP 6.0.1.GA.到目前为止,这个JSF 2.0应用程序非常简单 - 只有一个页面和几个类。我正在使用Eclipse,没有Maven。 Elsewhere on SO,我找到了对org.jboss.shrinkwrap
的引用,但我不知道这对我的情况有何影响。
更新:我的问题是“我如何使这个问题的症状消失,因此它不会掩盖真正的问题”。我不是在寻找代码中的错误,只是改进了配置。
关于我应该在哪里寻找任何建议?