本文主要是介绍failed scanning class module-info.class,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题如下:
failed scanning class module-info.class
java.lang.IllegalStateException: module-info.class: '19' is an unknown constant pool type.
java.lang.IllegalStateException: module-info.class: '19' is an unknown constant pool type.
at com.caucho.bytecode.ByteCodeClassScanner.error(ByteCodeClassScanner.java:575)
at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPool(ByteCodeClassScanner.java:296)
at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:100)
at com.caucho.loader.enhancer.ScanManager.scanForJarClasses(ScanManager.java:207)
at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:116)
at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:77)
at com.caucho.loader.EnvironmentClassLoader.scan(EnvironmentClassLoader.java:903)
at com.caucho.loader.DynamicClassLoader.sendAddLoaderEvent(DynamicClassLoader.java:928)
at com.caucho.loader.DynamicClassLoader.updateScan(DynamicClassLoader.java:915)
at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:479)
at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:60)
at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:699)
at com.caucho.env.deploy.DeployController.restartImpl(DeployController.java:643)
at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:143)
at com.caucho.env.deploy.DeployController.request(DeployController.java:606)
问题出处:http://bugs.caucho.com/view.php?id=6170#bugnotes
原因:jdk版本和依赖的jar包冲突
解决方式:更换依赖的jar包
这篇关于failed scanning class module-info.class的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!