MyEclipse中使用Tomcat发布工程时报错:The selected server is enabled,but……
2011-03-10 12:40
543 查看
错误具体信息:
the selected server is enabled,but is
not configured properly.deployment to it will not be permitted until the
problem is corrected.please navigate to the server preference pages and
verify the field with the prompt:tomcat jdk name
在网上查了一下,他们是这样解决的:
在MyEclipse工具栏中选择windows==>
preferences==>MyEclipse...==>Servers==>tomcat==>tomcat6.0的二级
菜单(选择你的tomcat目录)==>jdk(选择你的
JDK目录),有的则不用手动添加jdk路径,点击下来按钮就可以直接添加jdk路径名称。
但是我按照上面的设置了一下,但提示说我已经配置好了。但问题还是没解决。
我看了一下MyEclipse下正在使用的JDK环境,是我自己安装的JDK,我就换成MyEclipse自带的jre环境。
重启后再发布工程发现就可以了,然后把
MyEclipse的JDK环境再换成我自己的JDK,发布工程还是可以成功。
问题是解决了,但我不清楚是我修改后解决问题的还是重启解决的。
the selected server is enabled,but is
not configured properly.deployment to it will not be permitted until the
problem is corrected.please navigate to the server preference pages and
verify the field with the prompt:tomcat jdk name
在网上查了一下,他们是这样解决的:
在MyEclipse工具栏中选择windows==>
preferences==>MyEclipse...==>Servers==>tomcat==>tomcat6.0的二级
菜单(选择你的tomcat目录)==>jdk(选择你的
JDK目录),有的则不用手动添加jdk路径,点击下来按钮就可以直接添加jdk路径名称。
但是我按照上面的设置了一下,但提示说我已经配置好了。但问题还是没解决。
我看了一下MyEclipse下正在使用的JDK环境,是我自己安装的JDK,我就换成MyEclipse自带的jre环境。
重启后再发布工程发现就可以了,然后把
MyEclipse的JDK环境再换成我自己的JDK,发布工程还是可以成功。
问题是解决了,但我不清楚是我修改后解决问题的还是重启解决的。
相关文章推荐
- MyEclipse下tomcat发布项目报The selected server is enabled%……&*的解决方法
- MyEclipse部署文件的时候说the selected server is enabled,but is not configured properly.
- 配置Myeclipse中的项目部署到服务器,报the selected server is enabled, but is not configured properly.
- The selected server is enabled,but is not configured pro
- the selected server is enabled,but is not configured properly.Deployment to it will not be permitted
- the selected server is enabled,but is not configured properly.Deployment to it will not be permitted
- Tomcat:The selected server is enabled 异常解决办法
- The selected server is enabled,but is not configure
- Tomcat:The selected server is enabled 异常解决办法
- [Myeclipse项目部署时]The selected server is enabled 解决办法
- the selected server is enabled,but is not configured properly.deployment to it will not be permitted until the problem is correc
- tomcat The selected server is enabled 解决办法
- The selected server is enabled, but is not configured properly. Deployment to it will not be permitt
- Tomcat:The selected server is enabled 异常解决办法
- The selected server is enabled,but is not configure .
- Java:The selected server is enabled,but is nt configured properly
- 使用myeclipse启动tomcat时出现这种错误“Could not publish to the server. java.lang.NullPointerException”
- This InfoPath form template is browser-compatible, but it cannot be browser-enabled on the selected site
- 使用MyEclipse_将web应用发布到Tomcat的Root下,访问时不加工程名
- 使用MyEclipse将web应用发布到Tomcat的Root下,访问时不加工程名