严重: Unable to process Jar entry [org/nutz/integration/quartz/NutQuartzCronJobFactory.class] from Jar [jar:file:/F:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/nutzbook/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar!/] for annotations
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(Unknown Source)
at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:188)
at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:159)
at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
五月 10, 2018 7:49:30 上午 org.apache.catalina.startup.ContextConfig processAnnotationsJar
严重: Unable to process Jar entry [org/nutz/integration/quartz/NutQuartzJobFactory.class] from Jar [jar:file:/F:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/nutzbook/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar!/] for annotations
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(Unknown Source)
at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:187)
at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:159)
at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
五月 10, 2018 7:49:30 上午 org.apache.catalina.startup.ContextConfig processAnnotationsJar
严重: Unable to process Jar entry [org/nutz/integration/quartz/QuartzIocLoader.class] from Jar [jar:file:/F:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/nutzbook/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar!/] for annotations
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(Unknown Source)
at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:188)
at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:159)
at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
五月 10, 2018 7:49:30 上午 org.apache.catalina.startup.ContextConfig processAnnotationsJar
严重: Unable to process Jar entry [org/nutz/integration/quartz/QuartzJob.class] from Jar [jar:file:/F:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/nutzbook/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar!/] for annotations
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(Unknown Source)
at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:188)
at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:159)
at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
五月 10, 2018 7:49:30 上午 org.apache.catalina.startup.ContextConfig processAnnotationsJar
严重: Unable to process Jar entry [org/nutz/integration/quartz/QuartzManager.class] from Jar [jar:file:/F:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/nutzbook/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar!/] for annotations
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(Unknown Source)
at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:187)
at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:159)
at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
五月 10, 2018 7:49:30 上午 org.apache.catalina.startup.ContextConfig processAnnotationsJar
严重: Unable to process Jar entry [org/nutz/integration/quartz/QuartzManagerImpl.class] from Jar [jar:file:/F:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/nutzbook/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Constant pool at index 0 is null.
at org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:204)
at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:83)
at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
五月 10, 2018 7:49:30 上午 org.apache.catalina.startup.ContextConfig processAnnotationsJar
严重: Unable to process Jar entry [org/nutz/integration/quartz/Quartzs.class] from Jar [jar:file:/F:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/nutzbook/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar!/] for annotations
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(Unknown Source)
at org.apache.tomcat.util.bcel.classfile.Utility.swallowMethodParameters(Utility.java:187)
at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:159)
at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.<init>(FieldOrMethod.java:76)
at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:226)
at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:101)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1987)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1940)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1915)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1876)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1145)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:767)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5083)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
五月 10, 2018 7:49:31 上午 org.apache.catalina.core.ApplicationContext log
按教程加入quartz的包后,启动报这个错。
tomcat 8.09 。
nutz版本1.65。
quartz包 2.2.1 配 nutz-integration-quartz-1.r.60.r2。
也试过quartz2.2.3 配 nutz-integration-quartz-1.r.65。都是报这个错。
另外加入 shiro 后启动不报错, 加入 nutz-integration-shiro-1.r.65 后也会报错。