我爱编程spring boot问题集

spring boot- 常见问题

2018-04-04  本文已影响11人  zl520k

The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.

说明8080端口被占用

解决办法:

在src/resource下增加文件application.properties

加入server.port=8082//只要不等于8080,就可以的

The requested profile "pom.xmlcould not be activatedbecause it does not exist

解决办法:

只要在设置里面删除pom.xml文件名就可以了。

上一篇 下一篇

猜你喜欢

热点阅读