尝试将应用程序部署到WildFly 8.2时。我收到以下错误,我的应用程序根本没有启动。 JDK版本是1.8.0_51。
016-02-06 09
:38:49 [e8c32865] info [native] Instrumentation channel connected successfully
2016-02-06 09:38:50 [e8c32865] warning [native] Error during parsing of java bytecode: Java 7 classes with "invokedynamic" are not supported, skipping class transformation (class java/lang/CharSequence)
2016-02-06 09:38:50 [e8c32865] warning [native] Error during parsing of java bytecode: Java 7 classes with "invokedynamic" are not supported, skipping class transformation (class java/lang/reflect/AnnotatedElement)
2016-02-06 09:38:53 [e8c32865] warning [native] Error during parsing of java bytecode: Java 7 classes with "invokedynamic" are not supported, skipping class transformation (class java/util/Comparator)
2016-02-06 09:39:04 [e8c32865] info [native] Agent classes defined successfully
2016-02-06 09:39:05 [e8c32865] warning [native] Error during parsing of java bytecode: Java 7 classes with "invokedynamic" are not supported, skipping class transformation (class java/util/Map$Entry)
2016-02-06 09:39:06 [e8c32865] warning [native] Error during parsing of java bytecode: Java 7 classes with "invokedynamic" are not supported, skipping class transformation (class java/util/Arrays)
我们如何解决这个问题?任何帮助将不胜感激。
更新:
当我们在服务器中禁用'dynatrace'时问题已解决。 但是,需要在不禁用dynatrace的情况下解决此问题。
答案 0 :(得分:2)
这是dynatrace不能正确支持java 8字节码的问题。 你可以