部署期间出现WildFly错误

时间:2016-02-06 15:48:59

标签: java lambda wildfly dynatrace

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

1 个答案:

答案 0 :(得分:2)

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

  • 禁用dynatrace
  • 尝试将dynatrace配置为不处理java.lang类
  • 忽略消息
  • 联系dynatrace,了解可能的升级或配置选项以解决此问题