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
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
转载于:https://www.cnblogs.com/heyuxiu/p/5649058.html