1.java.lang.NoClassDefFoundError: com/jspsmart/upload/SmartUpload
解决:虽然我已经把SmartUpload.jar引入build path中的libraries中了,但是还是报这个错,
还需要把jar包引入到WEB-INF下的lib文件夹中
2.上传的时候报java.lang.NullPointerException: charsetName
解决: SmartUpload 要设置字符集
SmartUpload su = new SmartUpload();
su.setCharset("UTF-8");