在idea启动后这样
来源:3-1 开发环境搭建
qq_蓝骏毅_04076633
2020-12-19
. ____ _ __ _ _
/\ / ’ __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ || .__|| ||| |__, | / / / /
=|_|======|/=////
:: 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)
2回答
-
廖师兄
2020-12-19
Web server failed to start. Port 8080 was already in use.
端口被占用,换个端口00 -
qq_蓝骏毅_04076633
提问者
2020-12-19
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
00
相似问题