问题一:
tomcat部署J2EE项目出现the selected server is enabled,but is not configured properly。please navigate to the server preference pages and vertiry the field解决方法
问题原因以及解决方案:myeclipsejdk配置错误,重新配置jdk
问题二:
tomcat启动时报错:Document base ……does not exist or is not a readable directory错误。
我的问题原因是:\conf\server.xml 中<Context>节点配置了错误的节点,由于我的tomcat包括配置都是从其他人那拷贝过来的,但是在配置文件中有专属于他的地址或项目,造成了该错误,如下:
修改前:<Context docBase="E:\apache-tomcat-7.0.70\webapps\upload" path="/images" reloadable="true"/>
修改后:<Context docBase="D:\apache-tomcat-7.0.70\webapps\upload" path="/images" reloadable="true"/>
不同电脑配置不同,导致读配置文件出错