【问题标题】:InvalidClassException in a non edited class非编辑类中的 InvalidClassException
【发布时间】:2017-09-15 13:00:52
【问题描述】:

我收到此错误:

ERROR com.calyon.espm.businessdelegate.translation.InCacheTranslationDelegateImpl 36  - 
org.springframework.remoting.RemoteAccessException: 
Cannot access HTTP invoker remote service at [http://[url]/reference.espmservice]; 
nested exception is java.io.InvalidClassException: 
org.apache.commons.lang.exception.NestableRuntimeException; 
local class incompatible: 
stream classdesc serialVersionUID = 1, local class serialVersionUID = -8541954612511556316
....
Caused by: java.io.InvalidClassException: org.apache.commons.lang.exception.NestableRuntimeException; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = -8541954612511556316

由于最近没有编辑类 InCacheTranslationDelegateImpl,我怎么会收到这样的错误?

【问题讨论】:

  • 这只是一个提示,但您的异常似乎是配置问题的结果。主要错误是“无法在 [http://[url]/reference.espmservice] 访问 HTTP 调用程序远程服务;”其中缺少“url”。你能检查一下这条消息是否取代了真实的网址吗?如果是这样,您的配置缺少该 url,则代理无法打开 http 连接等。
  • 你说得对……这是网络问题。 :)
  • 没问题。通常只需要四只眼睛就能看到真相。

标签: java serialization serialversionuid


【解决方案1】:

其实是网络问题:)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-02-07
    • 2011-09-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-21
    • 1970-01-01
    相关资源
    最近更新 更多