1.下载tomcat免安装版。tomcat路径不包含空格
http://download.****.net/detail/u014112584/7549191
2.windows -preferences-Myeclipse-servers-tomcat7.x
(1)选择Enable
(2)Tomcat home directory: 粘贴tomcat路径
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvZ3Vhbmp1bmdhbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">
(3)窗体-首选项-myeclipse-servers-tomcat7.x下拉的 JDK add JavaJDK路径
3.測试tomcat,在myeclipse中选择tomcat7.x点选start,然后在浏览器中输入:http://localhost:8080/ ,网页中显示一仅仅猫的网页,则tomcat配置成功
4.若出现如图
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvZ3Vhbmp1bmdhbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">
这表明配置成功
版权声明:本文博客原创文章,博客,未经同意,不得转载。