ClassNotFoundException: java.util.ArrayList$SubList 错误

ClassNotFoundException: java.util.ArrayList$SubList
java.lang.RuntimeException: java.lang.ClassNotFoundException: java.util.ArrayList$SubList
    com.jd.jsf.gd.util.ClassTypeUtils.getClass(ClassTypeUtils.java:85)
    com.jd.jsf.gd.codec.msgpack.InvocationTemplate.read(InvocationTemplate.java:136)
    com.jd.jsf.gd.codec.msgpack.InvocationTemplate.read(InvocationTemplate.java:25)
    com.jd.org.msgpack.template.AbstractTemplate.read(AbstractTemplate.java:32)
    com.jd.org.msgpack.MessagePack.read(MessagePack.java:445)
    com.jd.org.msgpack.MessagePack.read(MessagePack.java:410)
    com.jd.jsf.gd.codec.msgpack.MsgpackUtil.read(MsgpackUtil.java:130)
    com.jd.jsf.gd.codec.msgpack.MsgpackDecoder.decode(MsgpackDecoder.java:26)
    com.jd.jsf.gd.codec.msgpack.MsgpackCodec.decode(MsgpackCodec.java:52)
    com.jd.jsf.gd.protocol.JSFProtocol.decode(JSFProtocol.java:83)
    com.jd.jsf.gd.server.JSFTask.doRun(JSFTask.java:66)
    com.jd.jsf.gd.server.BaseTask.run(BaseTask.java:27)
    java.util.concurrent.Executors$RunnableAdapter.call(Executor
s.java:441)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    java.lang.Thread.run(Thread.java:662)

==================

有一台节点客户就是访问不了, 最后杀掉98这个节点后发现好了,就是只要不打到这个节点,就是正常的,检查了下,发现JDK版本不一致

 java -version

java version "1.6.0_25"

export PATH=/export/servers/jdk1.6.0_25/bin/:$PATH

之后重启tomcat就没问题了.

至于为什么1.7会报告这个, 查查看.

上一篇:内功心法 -- java.util.ArrayList (4)


下一篇:JS:九宫格抽奖转盘实例