import org.apache.tomcat.jni.User;这是报错代码

eclipse里面在项目上面右键properties-->target runtime,选中你当前的tomcat,然后apply、ok。

解决!!!

 

项目导入报错,之前的环境没问题

项目导入报错,之前的环境没问题

项目上面右键,Build Path-->Configure Build Path-->Libraries-->Add Library-->Server Runtime-->next-->finish

相关文章:

  • 2021-12-01
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2021-06-22
  • 2021-07-09
  • 2021-08-13
  • 2021-06-28
猜你喜欢
  • 2022-01-01
  • 2022-12-23
  • 2021-06-25
  • 2021-11-17
  • 2022-12-23
  • 2021-10-12
相关资源
相似解决方案