1、Intellij Idea Maven ‘cannot reconnect’ error https://stackoverflow.com/questions/30615067/intellij-idea-maven-cannot-reconnect-error 2、Idea Maven 报错 Cannot reconnect
java.lang.RuntimeException: Cannot reconnect. Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect 網上經驗 1.更改etc/hosts檔案 2.idea——settings——搜尋maven——更改maven配置地址、倉庫地址、settings....
spring-boot-maven的版本和SpringBoot的版本是不同步的。可以查找匹配版本,我这里是:2.5.4 <build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><version>2.5.4</version></plugin></plugins></build>...