请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

在idea启动后这样

. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |__, | / / / /
=|_|======|/=////
:: Spring Boot :: (v2.4.1)

2020-12-19 18:53:15.912 INFO 10244 — [ main] com.imooc.sell.SellApplication : Starting SellApplication using Java 1.8.0_271 on WIN-06A2DOOVT03 with PID 10244 (D:\Program Files\sell\target\classes started by Administrator in D:\Program Files\sell)
2020-12-19 18:53:15.916 INFO 10244 — [ main] com.imooc.sell.SellApplication : No active profile set, falling back to default profiles: default
2020-12-19 18:53:16.166 INFO 10244 — [ main] com.imooc.sell.SellApplication : Started SellApplication in 0.438 seconds (JVM running for 0.964)

正在回答 回答被采纳积分+3

2回答

廖师兄 2020-12-19 20:33:52

Web server failed to start. Port 8080 was already in use.

端口被占用,换个端口

0 回复 有任何疑惑可以回复我~
提问者 qq_蓝骏毅_04076633 2020-12-19 19:09:38
2020-12-19 19:08:18.707  INFO 5680 --- [           main] com.imoll.sell.SellApplication           : Starting SellApplication using Java 1.8.0_271 on WIN-06A2DOOVT03 with PID 5680 (D:\Program Files\sell\target\classes started by Administrator in D:\Program Files\sell)
2020-12-19 19:08:18.708  INFO 5680 --- [           main] com.imoll.sell.SellApplication           : No active profile set, falling back to default profiles: default
2020-12-19 19:08:19.218  INFO 5680 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2020-12-19 19:08:19.232  INFO 5680 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2020-12-19 19:08:19.233  INFO 5680 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.41]
2020-12-19 19:08:19.289  INFO 5680 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2020-12-19 19:08:19.289  INFO 5680 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 545 ms
2020-12-19 19:08:19.451  INFO 5680 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2020-12-19 19:08:19.546  WARN 5680 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
2020-12-19 19:08:19.547  INFO 5680 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'
2020-12-19 19:08:19.548  INFO 5680 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2020-12-19 19:08:19.554  INFO 5680 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-12-19 19:08:19.563 ERROR 5680 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Web server failed to start. Port 8080 was already in use.

Action:

Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.


Process finished with exit code 1


0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号