Disconnected from the target VM, address: '127.0.0.1:25641', transport: 'socket'

版权声明:博主最近都在,有不懂疑惑的,可以一起交流,也希望能有高人指点一二,谢啦!本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_40295575/article/details/87809428

今天遇到一个怪事,就是将原本在eclipse项目转成idea运行。maven工程来的。

起初运行一直卡在这,无法进入SpringBoot启动的界面

[INFO ] 2019-02-20 15:14:06:392 org.springframework.context.annotation.AnnotationConfigApplicationContext (Jdk14Logger.java:87) - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4961f6af: startup date [Wed Feb 20 15:14:06 CST 2019]; root of context hierarchy
[INFO ] 2019-02-20 15:14:06:830 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor (Jdk14Logger.java:87) - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
[INFO ] 2019-02-20 15:14:06:900 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker (Jdk14Logger.java:87) - Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$85fb7795] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

后来,通过debug模式,发现了

Disconnected from the target VM, address: '127.0.0.1:25641', transport: 'socket'

通过百度,看到有很多种解决方法,但是每种解决方法都不一样

说是测试类大小写的问题,点击

说是maven与idea版本兼容的问题,点击

说是xml扫描的问题,点击

等等,一大堆不一样的解决方法,真不知道哪些管用,最后使用了最后一种解决方法,先把扫描xml路径给注释了,能进入Springboot的启动界面了,但是还会存在问题

继续修改。。。

猜你喜欢

转载自blog.csdn.net/weixin_40295575/article/details/87809428