10

No Spring WebApplicationInitializer types detected

新搭建的maven项目,启动时报如下提示,从网上找了一些解决方式,都不好使,遇到这样的问题,解决思路是什么呢,不想每次有问题就重新搭环境啊
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manager-web ---
[INFO] Running war on http://localhost:8080/
[INFO] Creating Tomcat server configuration at C:\Users\luxuefeng\workspace\taotao-manager\taotao-manager-web\target\tomcat
[INFO] create webapp with contextPath:
十二月 06, 2016 5:44:25 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
十二月 06, 2016 5:44:25 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
十二月 06, 2016 5:44:25 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
十二月 06, 2016 5:44:29 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
十二月 06, 2016 5:44:29 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
图片说明

查看全部
Linzhongyilisha
siwluxuefeng
2016/12/06 10:40
  • spring
  • maven
  • 点赞
  • 收藏
  • 回答
    私信

2个回复