java.lang.NoSuchMethodError: 'java.util.List org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(org.apache.commons.fileupload.RequestContext)'
我在执行 upload.parseRequest(request);
这一句代码时一直卡住,不往下执行了,然后打开调试,发现出现了上面的异常。
这个异常就是说:我们那个commons.fileupload这个包冲突了,就是可能重复了。
移除一个就好了,选择点 -
号.