zoukankan      html  css  js  c++  java
  • 如何排除jar包冲突

    今天新引入了一个二方库,引入后发现程序无法启动,有冲突和循环引用的问题。报错信息如下:

     Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.eclipse.jdt.core.CompletionContext->org.eclipse.jdt.internal.codeassist.InternalCompletionContext->org.eclipse.jdt.core.CompletionContext]

    commond + o 全局搜索引用org.eclipse.jdt.core.CompletionContext的文件, 

    找到相关的jar包然后写exlusion排除一下就可以了 

        <dependency>
                <groupId>com.xxx.community.services</groupId>
                <artifactId>xxx-community-facade-api</artifactId>
                <version>1.2-SNAPSHOT</version>
                <exclusions>
                    <exclusion>
                        <artifactId>org.aspectj</artifactId>
                        <groupId>*</groupId>
                    </exclusion>
                </exclusions>
            </dependency>
  • 相关阅读:
    Linq to Sql学习总结1
    SQL相关
    C#各种小知识点总结
    Ext.Net学习笔记
    ASP.NET MVC3入门学习总结
    leetcode-剑指67-OK
    leetcode-剑指44-OK
    leetcode-剑指51-OK
    leetcode-剑指32-III-OK
    leetcode-剑指49-OK
  • 原文地址:https://www.cnblogs.com/iwangzheng/p/7161095.html
Copyright © 2011-2022 走看看