问题描述
- apache上传文件出错如何解决
-
前台及流程无影响
java.io.InvalidClassException: org.apache.commons.fileupload.disk.DiskFileItem; local class incompatible: stream classdesc serialVersionUID = 2237570099615271025, local class serialVersionUID = -4544929277210508707 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) Truncated. see log file for complete stacktrace > <[ServletContext@17950393[app:WebContent module:WebContent path:/client spec-version:2.5]] could not deserialize the request scoped attribute with name: "multipart_request_handle"
解决方案
问题已解决,我的eclipse环境不干净,clean以后重新build之后问题就解决了。
eclispe环境问题造成的
解决方案二:
额好吧,有的时候有些问题就是很莫名其妙~~
时间: 2024-10-28 13:17:50