用Intellij idea运行mvc工程,报错WARNING: Unknown version string [3.1]. Default version will be used.

娻方惠子 发布于 2016/07/20 09:38
阅读 4K+
收藏 0

 Connected to server
[2016-07-20 09:35:46,528] Artifact jnj:war exploded: Artifact is being deployed, please wait...
七月 20, 2016 9:35:53 上午 org.apache.catalina.deploy.WebXml setVersion
WARNING: Unknown version string [3.1]. Default version will be used.
七月 20, 2016 9:35:56 上午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\apache-tomcat-7.0.56\webapps\manager
七月 20, 2016 9:35:59 上午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\apache-tomcat-7.0.56\webapps\manager has finished in 2,874 ms
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/jnj/jnj_server/classes/artifacts/jnj_war_exploded/WEB-INF/lib/slf4j-log4j12-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/jnj/jnj_server/classes/artifacts/jnj_war_exploded/WEB-INF/lib/slf4j-nop-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
log4j:ERROR Could not find value for key log4j.appender.FILE
log4j:ERROR Could not instantiate appender named "FILE".
七月 20, 2016 9:36:15 上午 org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
七月 20, 2016 9:36:15 上午 org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
[2016-07-20 09:36:15,238] Artifact jnj:war exploded: Error during artifact deployment. See server log for details.

报这样的错,不能正常运行

加载中
0
zcy-fover
zcy-fover
是不是你在tomcat中没有部署war包?
娻方惠子
前两天还能正常运行,更新项目以后就提示这个问题
0
zcy-fover
zcy-fover
那springMVC的配置文件添加了吗?
0
zcy-fover
zcy-fover
http://stackoverflow.com/questions/24226131/warning-unknown-version-string-3-1-default-version-will-be-used你可以参考一下这个网站,和你的错误好像差不多
返回顶部
顶部