首先将jar包拷贝到WEB-INF下的lib目录中,java类要想使用到这些jar包,必须将这些jar包放到Myeclipse的build path中才能被引用到。你可以将lib中的所有jar包选中,右键,build path中选择 add to build path就可以了。