开发者社区 问答 正文

用Intellij idea运行mvc工程,报错WARNING: Unknown?报错

 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.

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

展开
收起
爱吃鱼的程序员 2020-06-09 13:16:27 887 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

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

    2020-06-09 13:16:43
    赞同 展开评论