Debug运行项目时报错,无法进入Debug,猜想出错原因可能是未正确关闭IDEA. 解决方法,先直接运行项目,然后停掉项目,再用Debug模式启动,问题解决.…
今天搭建了一个SpringBoot项目,刚启动就报错 Disconnected from the target VM, address: '127.0.0.1:2227', transport: 'socket' 百度一下,有人说端口占用,有人说Mavenban不兼容,我测试一下以前的项目可以正常运行,断定不是这些问题!仔细检查,原来是pom.xml文件出了问题! 如图: 修改之后: 正常启动!…
关于 IDEA 启动 springboot 项目异常 - Disconnected from the target VM, address: '127.0.0.1:59770', transport: 'socket' 启动springboot项目报错如下: Connected to the target VM, address: '127.0.0.1:55043', transport: 'socket' . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __…
运行环境: JDK 版本:1.8 Maven 版本:apache-maven-3.3.3 IDEA 版本:14 maven-jetty-plugin 配置: <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <configuration> <webAppSourceDirectory>${pro…
一.问题由来 本地代码在一次打包后,再次启动项目时报了一个错误,详细的错误信息如下: 2020-10-23 15:10:26.724 [] [main] INFO o.s.c.a.AnnotationConfigApplicationContext[583] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@79d94571: startup date [Fri Oct 2…
1.先去E:\PLZT\workspace\.metadata\.plugins\org.eclipse.wst.server.core.sever.xml看里面是否存在两个配置是的话删除一个重启服务器 2.还是不行就把eclipse 中的服务器删除重新添加.注意 在添加的时候不要直接点finish   点next看tomcat的路径和jek包是否正确,点击完成就可以了.…
解决办法:project structure中设置 JDK 和language 匹配即可.如图: 另外如果有maven,需要把maven中JDK版本设置成一样的.…
运行java web项目时报错:Several ports (8005, 8080, 8009) required 如下图 之所以报上面的错误是因为安装Tomcat的时候,已经把端口8005,8080,8009占用掉了,所以现在要改一下端口号,展开Project Explorer 里的Servers文件夹,找到server.xml打开,根据下图的位置更改为没有用过的端口号…
关于go get安装git golang项目时报错的处理办法 使用go get安装github上的项目时一般来说,不可避免会出错.各种错误的处理办法: 必须条件: 1.安装git并配置环境变量.下载地址:http://git-scm.com/ 2.安装golang环境,并配置好环境变量. 其它错误: 1.提示 missing Mercurial command 需要下载安装Mercurial软件tortoisehg.地址:mercurial.selenic.com 下载不了?那得自备梯子. 2.…