1.整理jar2.将整理出的jar包在Eclipse中分别设置为用户librarywindow -> preferences -> java -> build path -> user libraries3.在项目中添加所需的user library。此时在项目开发时如果需用tomcat则要在tomcat插件中将项目加到tomcat classpath中,否则会报classNotFoundException。具体步骤为windows -> Preferences -> tomcat -> advanced但是发布到tomcat或者打包时系统不会将use Read More