• Invalid byte tag in constant pool: 19


    错误信息

    严重: Unable to process Jar entry [module-info.class] from Jar [jar:file:/C:/Users/qinsfu/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.2/jackson-core-2.11.2.jar!/] for annotations
    org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
    	at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:133)
    	at org.apache.tomcat.util.bcel.classfile.ConstantPool.(ConstantPool.java:60)
    	at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
    	at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2134)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:2010)
    	at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1976)
    	at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1961)
    	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1319)
    	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
    	at java.base/java.lang.Thread.run(Thread.java:832)
    

    貌似只会在特定版本的tomcat上发出这个警告,我的运行环境时jdk14+tomcat7插件。

    虽然即使时发出了这个警告,也应用的运行也没有太大影响。

    你需要更换一下子集的tomcat版本,例如在我本机上的tomcat8或以上。

  • 相关阅读:
    Idea主题下载
    使用plsql创建用户并授权(图形化界面)
    PLSQL Developer 没有64位版本 + 找不到 msvcr71.dll
    NOIp2017TG解题报告
    Restart
    NOIp2018RP++
    其他题
    Errors
    NOIpDairy
    Code Style for OI
  • 原文地址:https://www.cnblogs.com/freesfu/p/13768574.html
Copyright © 2020-2023  润新知