java.lang.ClassNotFoundException:afu.com.sun.source.tree.Tree $ Kind [英] java.lang.ClassNotFoundException: afu.com.sun.source.tree.Tree$Kind
问题描述
将应用程序从weblogic 12.1.3迁移到12.2.1时,在EAR部署期间遇到了以下堆栈跟踪:
When migrating our application from weblogic 12.1.3 to 12.2.1 we run into the following stacktrace during deployment of our EAR:
<2018-06-05 16:17:03,765> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "518856605645758" for task "2" on [partition-name: DOMAIN]. Error is: "java.lang.ClassNotFoundException: afu.com.sun.source.tree.Tree$Kind"
java.lang.ClassNotFoundException: afu.com.sun.source.tree.Tree$Kind
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
我在互联网上找不到有关该课程的任何信息,可能是谁在使用
I cannot find anything on the internet about this class and who might be using it, and so I have no clue how to solve this.
问题: afu.com.sun。*软件包从哪里来? ,以及如何摆脱对该Tree类的依赖?
Question: Where does the afu.com.sun.* package come from, and how do I get rid of the dependency on this Tree class?
推荐答案
我设法通过更新对番石榴从23.5-jre至24.1-jre。这给Cliffred提到的检查器框架增加了传递依赖。
I managed to fix this by updating our dependency on Guava from 23.5-jre to 24.1-jre. This adds a transitive dependency to the checker framework that Cliffred mentioned.
这篇关于java.lang.ClassNotFoundException:afu.com.sun.source.tree.Tree $ Kind的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!