现在的位置: 首页 > 综合 > 正文

A Configuration error occurred during startup.Please verify the preference field with the prompt:Can

2018年09月28日 ⁄ 综合 ⁄ 共 570字 ⁄ 字号 评论关闭

在进行web项目时,进行web项目发布到tomcat是出现A Configuration error occurred during startup.Please verify the preference field with the prompt:Cannot find a free socket for the  debugger.的问题。下面是转来的解决方法,我的问题是jdk重新装过,要重新进行导入。第三条

解决方法,推荐第三个
1、在Tomcat Launch Mode中,由Debug mode切换成 Run mode 。
2、在环境变量PATH前端添加jdk路径,如D:/Program Files/Java/jdk1.5.0_13/bin;然后重启机器。
3、打开eclipse,window>preferences>myeclipse>application server>tomcat 5 要选中Enable;然后后面tomcat home dircetory要选择你机器上tomcat的安装目录。

继续window>preferences>myeclipse>application server>tomcat>jdk 选择你机器上的jdk ,建议用add从新选择添加一个

转载地址:

http://blog.csdn.net/swandragon/article/details/4742970

抱歉!评论已关闭.