Unbound classpath variable: 'TOMCAT_HOME/lib/servlet-api.jar' in project 'XXX'

Unbound classpath variable: 'TOMCAT_HOME/lib/jsp-api.jar' in project 'XXX'


path BuildPath Problem

Solution:

1.先配置tomca的环境变量


Unbound classpath variable: 'TOMCAT_HOME/lib/servlet-api.jar' in project 'XXX'

2.

Unbound classpath variable: 'TOMCAT_HOME/lib/servlet-api.jar' in project 'XXX'

3.new 一个 TOMCAT_HOME

Unbound classpath variable: 'TOMCAT_HOME/lib/servlet-api.jar' in project 'XXX'



4.在classpath中配置.

Unbound classpath variable: 'TOMCAT_HOME/lib/servlet-api.jar' in project 'XXX'

5.然后打开 在eclipse中

windows ---preference--java---classpath variables

Unbound classpath variable: 'TOMCAT_HOME/lib/servlet-api.jar' in project 'XXX'

Unbound classpath variable: 'TOMCAT_HOME/lib/servlet-api.jar' in project 'XXX'

path:是你的tomcat的安装路径


完毕!



相关文章:

  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2021-06-12
  • 2021-08-29
猜你喜欢
  • 2021-04-19
  • 2021-07-13
  • 2022-01-07
  • 2021-05-21
  • 2021-09-08
  • 2021-09-15
  • 2021-08-17
相关资源
相似解决方案