今天练习时想在myeclipse8.5上使用tomcat7.0,但是发现windows→preference→servers→tomcat里并没有tomcat 7.x,所以就需要咱们手动加入tomcat7.0了

,步骤如下:

1、找到tomcat配置位置:

myeclipse8.5添加tomcat7.0


注意要先配置tomcat7.0的文件位置,否则直接点击create launch configuration会出现下面的情况:所以一定要记得先添加上tomcat'7.0的文件

myeclipse8.5添加tomcat7.0


2、在tomcat6.x处添加tomcat 7.0的文件,并设置成enable,设置完之后记得点击apply;


myeclipse8.5添加tomcat7.0


3、点击create launch configuration会出现下面页面,可以自己修改name,在classpath中点击add external jars 添加入tomcat-juli.jar文件,点击apply:


myeclipse8.5添加tomcat7.0myeclipse8.5添加tomcat7.0


至此,tomcat7.0已经配置好,启动tomcat,在浏览器中输入localhost:8080又可以看到那只熟悉的小猫了、



相关文章:

  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2021-12-07
  • 2021-11-12
  • 2021-07-10
  • 2021-09-24
  • 2021-10-14
猜你喜欢
  • 2021-11-19
  • 2022-01-19
  • 2022-02-07
  • 2021-10-07
  • 2021-08-25
  • 2022-02-08
相关资源
相似解决方案