jinsongju1922
jinsongju1922
2017-12-08 01:06

Maven项目SSM整合后,tomcat可启动,但localhost:8080/无法访问

  • spring
  • tomcat

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] taotao-manager
[INFO] taotao-manager-pojo
[INFO] taotao-manager-dao
[INFO] taotao-manager-service
[INFO] taotao-manager-web
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building taotao-manager 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taotao-manager ---
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manager >>>
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manager <<<
[INFO]
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manager ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building taotao-manager-pojo 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taotao-manager-pojo ---
[INFO] Deleting E:\jdkandjre\workspace\taotao-manager\taotao-manager-pojo\target
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manager-pojo >>>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ taotao-manager-pojo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ taotao-manager-pojo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 22 source files to E:\jdkandjre\workspace\taotao-manager\taotao-manager-pojo\target\classes
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manager-pojo <<<
[INFO]
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manager-pojo ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building taotao-manager-dao 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taotao-manager-dao ---
[INFO] Deleting E:\jdkandjre\workspace\taotao-manager\taotao-manager-dao\target
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manager-dao >>>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ taotao-manager-dao ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ taotao-manager-dao ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to E:\jdkandjre\workspace\taotao-manager\taotao-manager-dao\target\classes
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manager-dao <<<
[INFO]
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manager-dao ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building taotao-manager-service 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taotao-manager-service ---
[INFO] Deleting E:\jdkandjre\workspace\taotao-manager\taotao-manager-service\target
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manager-service >>>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ taotao-manager-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ taotao-manager-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to E:\jdkandjre\workspace\taotao-manager\taotao-manager-service\target\classes
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manager-service <<<
[INFO]
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manager-service ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building taotao-manager-web 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taotao-manager-web ---
[INFO] Deleting E:\jdkandjre\workspace\taotao-manager\taotao-manager-web\target
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manager-web >>>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ taotao-manager-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ taotao-manager-web ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\jdkandjre\workspace\taotao-manager\taotao-manager-web\target\classes
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manager-web <<<
[INFO]
[INFO]
[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 E:\jdkandjre\workspace\taotao-manager\taotao-manager-web\target\tomcat
[INFO] create webapp with contextPath:
十二月 08, 2017 8:56:30 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
十二月 08, 2017 8:56:30 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
十二月 08, 2017 8:56:30 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
十二月 08, 2017 8:56:32 上午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
十二月 08, 2017 8:56:32 上午 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.
黑马的淘淘商城项目,这以上是控制台消息,浏览器http://localhost:8080/一直画圈,无响应,请问这是怎么回事啊

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答