spring boot项目启动,Tomcat报端口已被使用
2017-11-09 09:53
686 查看
因为用feign,所以引用了另一个spring boot项目。而另外一个项目的server.port写在application.properties中。替换了本地项目的配置文件。
把另外一个项目server.port写在bootstrap.properties中。再次引用,问题解决。
把另外一个项目server.port写在bootstrap.properties中。再次引用,问题解决。
相关文章推荐
- SpringBoot打包成WAR使用外置TOMCAT启动
- spring boot 使用 JdbcTemplate 连接oracle数据库 及修改启动端口方法
- springboot项目修改启动端口
- 使用Spring Boot +JPA+mybatis快速启动一个web项目
- Spring boot项目Tomcat启动与切换
- 使用命令行启动spring boot项目
- Spring Boot 使用外部tomcat 启动服务
- IntelliJIdea 2016.2 使用 tomcat 8.5 调试spring的web项目时,bean被实例化两次导致timer和thread被启动了两遍的问题的解决
- 使用外部容器运行spring-boot项目:不使用spring-boot内置容器让spring-boot项目运行在外部tomcat容器中
- springboot war放入tomcat启动怎么指定使用外部application.properties
- tomcat启动提示端口被占用 maven项目 java.lang.ClassNotFoundException: org.springframework.web.servlet.Dispatche
- 使用Maven构建javaWeb项目时,启动tomcat出错:严重: Error configuring application listener of class org.springframewo
- 把spring boot项目打war包放在tomcat下启动报错java.lang.NoSuchMethodError: org.apache.tomcat.util.res.StringManage
- 使用Maven构建javaWeb项目时,启动tomcat出错:严重: Error configuring application listener of class org.springframewo
- spring-boot项目启动失败的一种解决办法:自带的tomcat容器切换成jetty容器
- springboot项目 打成war包 使用自定义tomcat配置
- 使用Maven构建javaWeb项目时,启动tomcat出错:严重: Error configuring application listener of class org.springframewo
- 使用Interllij Idea2017.2创建SpringBoot 启动不了Tomcat问题
- 使用docker启动spring-boot时出现ports无端口