关于tomcat启动问题,一直启动不了。。。。

[INFO] Scanning for projects...
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building webdemo Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ webdemo ---
[INFO] Deleting D:\work\java_work-32bit\webdemo\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ webdemo ---
[debug] execute contextualize
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ webdemo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ webdemo ---
[debug] execute contextualize
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ webdemo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ webdemo ---
[INFO] Surefire report directory: D:\work\java_work-32bit\webdemo\target\surefire-reports


T E S T S

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ webdemo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [webdemo] in [D:\work\java_work-32bit\webdemo\target\webdemo]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\work\java_work-32bit\webdemo\src\main\webapp]
[INFO] Webapp assembled in [21 msecs]
[INFO] Building war: D:\work\java_work-32bit\webdemo\target\webdemo.war
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default) @ webdemo >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ webdemo ---
[debug] execute contextualize
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ webdemo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default) @ webdemo <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default) @ webdemo ---
[INFO] Running war on http://localhost:8080/webdemo
[INFO] Creating Tomcat server configuration at D:\work\java_work-32bit\webdemo\target\tomcat
[INFO] create webapp with contextPath: /webdemo
七月 28, 2016 11:02:54 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
七月 28, 2016 11:02:54 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
七月 28, 2016 11:02:54 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
七月 28, 2016 11:02:55 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]

4个回答

是启动不了,还是你访问不了?

lhk544079549
lhk544079549 最后没有tomcat启动成功的信息。
大约 4 年之前 回复

test那个启动了啊

lhk544079549
lhk544079549 test不是run:0么。。
大约 4 年之前 回复

启动不了是不是启动时那个servlet新建了一个线程,进入死循环,导致该servlet无法初始化,

[INFO] Running war on http://localhost:8080/webdemo
[INFO] Creating Tomcat server configuration at D:\work\java_work-32bit\webdemo\target\tomcat
[INFO] create webapp with contextPath: /webdemo
七月 28, 2016 11:02:54 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
七月 28, 2016 11:02:54 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
七月 28, 2016 11:02:54 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
七月 28, 2016 11:02:55 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
明显启动 并且部署了,你应该把访问的错误给贴出来

lhk544079549
lhk544079549 访问不了,浏览器是空白的页面。。
大约 4 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐