JUnit failed by org.xml.sax.SAXParseException in maven 1.x build

Problem
When invoking maven junit-plugin for service test cases, below error occured

Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name ‘rp:interceptor-chain’ to a(n) elment declaration component.

Cause
Java version is not compatible with ES6

Solution
Change the JAVA_HOME to WPS 5.1 JRE

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Back to Top