Logger cannot be resolved to a type 引用jar包了 import org.apache.log4j.Logger; 但是运行就报这个错 把包复制到web-inf,lib 中