spring boot- 常见问题

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文件名就可以了。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。