Spring Boot——[Disconnected from the target VM, address: IP:端口, transport: #39socket#39]解决方案
问题描述
问题分析
1.tomcat出问题了,更换本地的tomcat
2.maven出问题了,更换maven
3.tomcat和maven可能同时出问题,这个当然需要都更换一下了
4.项目中jdk的编译版本与引用不一致
解决方案
1、使用Spring Boot内置Tomcat
org.springframework.boot spring-boot-starter-tomcat
或者
org.springframework.boot spring-boot-starter-web
2、检查项目设置
参考文章
https://blog.csdn.net/xu12387/article/details/87777153
https://blog.csdn.net/weixin_43850509/article/details/100943657
https://blog.csdn.net/qq_33481146/article/details/86235721
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
