1

尝试将应用程序部署到 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 的情况下解决此问题。

4

1 回答 1

2

这是 dynatrace 不正确支持 java 8 字节码的问题。你可以

  • 禁用动态跟踪
  • 尝试将 dynatrace 配置为不处理 java.lang 类
  • 忽略消息
  • 联系 dynatrace 了解可能的升级或配置选项以解决此问题
于 2016-02-07T20:27:02.843 回答