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包

你可能感兴趣的:(JAVA技术)