Spring bootのバージョンを2.2.5.RELEASE→2.3以上(2.5.12)にバージョンアップすると「Caused by: org.xml.sax.SAXNotRecognizedException: unrecognized feature http://xml.org/sax/features/external-general-entities」エラー
Spring bootのバージョンアップをしたら、src/main/resources/logback-spring.xmlのパースエラーが出てしまいました。
どうもpull-parser-2.jarが悪さしている様子です。
gradlew.bat dependencies
コマンドで調べるとspotbugsのライブラリっぽいのでexcludeしたら解決しました。
dependencies { compile('com.github.spotbugs:spotbugs:4.0.0'){ exclude group: "pull-parser", module: "pull-parser" } ... }
参考サイト
かんがるーさんの日記
最近自分が興味をもったものを調べた時の手順等を書いています。今は Spring Boot をいじっています。
The SAX parser pull-parser conflicts with Tomcat SAX parser · Issue #30 · ESGF/esg-orp
esg-orp/.classpath Line 99 in 3da3bcf The pull-parser library overrides the Tomcat SAX parser making the osg-orp application failin...

KHI入社して退社。今はCONFRAGEで正社員です。関西で140-170/80~120万から受け付けております^^
得意技はJS(ES6),Java,AWSの大体のリソースです
コメントはやさしくお願いいたします^^
座右の銘は、「狭き門より入れ」「願わくは、我に七難八苦を与えたまえ」です^^
資格:少額短期保険募集人,FP3級,宅建士
コメント