热部署异常


Loading changes ......

2020-04-22 14:19:52
[WARN]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed()]: FAILED org.eclipse.jetty.server.session.HashSessionManager@5bf7bc39: java.lang.IllegalAccessError: class sun.reflect.GeneratedSerializationConstructorAccessor3 cannot access its superclass sun.reflect.SerializationConstructorAccessorImpl
java.lang.IllegalAccessError: class sun.reflect.GeneratedSerializationConstructorAccessor3 cannot access its superclass sun.reflect.SerializationConstructorAccessorImpl
 at sun.misc.Unsafe.defineClass(Native Method)
 at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:394)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:393)
 at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:112)
 at sun.reflect.ReflectionFactory.generateConstructor(ReflectionFactory.java:398)
 at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:360)
 at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1574)
 at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:79)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:519)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:494)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:494)
 at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:391)
 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:681)
 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:567)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:493)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSessions(HashSessionManager.java:478)
 at org.eclipse.jetty.server.session.HashSessionManager.doStart(HashSessionManager.java:107)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:123)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
 at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:752)
 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at com.qysoft.rapid.core.RapidServer$1.onChange(RapidServer.java:98)
 at com.jfinal.server.Scanner.compare(Scanner.java:87)
 at com.jfinal.server.Scanner.working(Scanner.java:56)
 at com.jfinal.server.Scanner.access$0(Scanner.java:54)
 at com.jfinal.server.Scanner$1.run(Scanner.java:93)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)

2020-04-22 14:19:52
[WARN]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed()]: FAILED org.eclipse.jetty.server.session.SessionHandler@14f230f5: java.lang.IllegalAccessError: class sun.reflect.GeneratedSerializationConstructorAccessor3 cannot access its superclass sun.reflect.SerializationConstructorAccessorImpl
java.lang.IllegalAccessError: class sun.reflect.GeneratedSerializationConstructorAccessor3 cannot access its superclass sun.reflect.SerializationConstructorAccessorImpl
 at sun.misc.Unsafe.defineClass(Native Method)
 at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:394)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:393)
 at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:112)
 at sun.reflect.ReflectionFactory.generateConstructor(ReflectionFactory.java:398)
 at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:360)
 at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1574)
 at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:79)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:519)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:494)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:494)
 at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:391)
 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:681)
 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:567)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:493)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSessions(HashSessionManager.java:478)
 at org.eclipse.jetty.server.session.HashSessionManager.doStart(HashSessionManager.java:107)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:123)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
 at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:752)
 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at com.qysoft.rapid.core.RapidServer$1.onChange(RapidServer.java:98)
 at com.jfinal.server.Scanner.compare(Scanner.java:87)
 at com.jfinal.server.Scanner.working(Scanner.java:56)
 at com.jfinal.server.Scanner.access$0(Scanner.java:54)
 at com.jfinal.server.Scanner$1.run(Scanner.java:93)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)

2020-04-22 14:19:52
[WARN]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed()]: FAILED o.e.j.w.WebAppContext{/,file:/F:/dsj_worspace/dsj_mgmt/WebRoot/}: java.lang.IllegalAccessError: class sun.reflect.GeneratedSerializationConstructorAccessor3 cannot access its superclass sun.reflect.SerializationConstructorAccessorImpl
java.lang.IllegalAccessError: class sun.reflect.GeneratedSerializationConstructorAccessor3 cannot access its superclass sun.reflect.SerializationConstructorAccessorImpl
 at sun.misc.Unsafe.defineClass(Native Method)
 at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:394)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:393)
 at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:112)
 at sun.reflect.ReflectionFactory.generateConstructor(ReflectionFactory.java:398)
 at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:360)
 at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1574)
 at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:79)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:519)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:494)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:494)
 at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:391)
 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:681)
 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:567)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:493)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSessions(HashSessionManager.java:478)
 at org.eclipse.jetty.server.session.HashSessionManager.doStart(HashSessionManager.java:107)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:123)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
 at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:752)
 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at com.qysoft.rapid.core.RapidServer$1.onChange(RapidServer.java:98)
 at com.jfinal.server.Scanner.compare(Scanner.java:87)
 at com.jfinal.server.Scanner.working(Scanner.java:56)
 at com.jfinal.server.Scanner.access$0(Scanner.java:54)
 at com.jfinal.server.Scanner$1.run(Scanner.java:93)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)
Exception in thread "JFinal-Scanner" java.lang.IllegalAccessError: class sun.reflect.GeneratedSerializationConstructorAccessor3 cannot access its superclass sun.reflect.SerializationConstructorAccessorImpl
 at sun.misc.Unsafe.defineClass(Native Method)
 at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
 at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:394)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:393)
 at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:112)
 at sun.reflect.ReflectionFactory.generateConstructor(ReflectionFactory.java:398)
 at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:360)
 at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1574)
 at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:79)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:519)
 at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:494)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:494)
 at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:391)
 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:681)
 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:567)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSession(HashSessionManager.java:493)
 at org.eclipse.jetty.server.session.HashSessionManager.restoreSessions(HashSessionManager.java:478)
 at org.eclipse.jetty.server.session.HashSessionManager.doStart(HashSessionManager.java:107)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:123)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
 at org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)
 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:752)
 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
 at com.qysoft.rapid.core.RapidServer$1.onChange(RapidServer.java:98)
 at com.jfinal.server.Scanner.compare(Scanner.java:87)
 at com.jfinal.server.Scanner.working(Scanner.java:56)
 at com.jfinal.server.Scanner.access$0(Scanner.java:54)
 at com.jfinal.server.Scanner$1.run(Scanner.java:93)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)


评论区

JFinal

2020-04-22 16:04

估计你用的比较古老的 jetty-server 版本,最新的版本在这里:
https://mvnrepository.com/artifact/com.jfinal/jetty-server

为 2019.3 版

热门反馈

扫码入社