please verify the preference field with the prompt:Tomcat JDK name

使用MyEclipse的Tomcat的时候出现下面的问题: a configuration error occurred during startup.
please verify the preference field with the prompt:Tomcat JDK name;?

环境变量也设了,怎么还是不行?之前单独启动tomcat都可以,求高手指点!!!


解决办法:在Eclipse的菜单找到Window-〉Preferences 点击后在弹出窗口的左半部分找到Tomcat,然后在它的子项里找到JVMSetting,点击它,然后在右边的详细内容里吧JRE这个下拉菜单里选上你的JDK版本。OK了。


原文地址:https://www.cnblogs.com/ryb/p/2154110.html