on ‎2022 Mar 22 9:39 AM
I have run the auto test of my UI5 app locally successfully. When I tried to generate the cobertura coverage report with:
mvn verify -f pom.xml com.sap.ca:jscoverage-plugin:1.36.0:jscoverage
I got following error.
[ERROR] Failed to execute goal com.sap.ca:jscoverage-plugin:1.36.0:jscoverage (default-cli) on project sap.support.sccd: Execution default-cli of goal com.sap.ca:jscoverage-plugin:1.36.0:jscoverage failed: A required class was missing while executing com.sap.ca:jscoverage-plugin:1.36.0:jscoverage: javax/xml/bind/JAXBException
I have tried all following dependencies with version 2.3.2 and 3.0.0 in my pom:
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.2</version>
<scope>runtime</scope>
</dependency>
However, they can't solve the problem.
The javax is not available in JDK>7 anymore for a such long time. Why sap jscoverage-plugin still use it? Is there any method to get rid of the issue.
And does someone has the contact information of jscoverage-plugin development team?
Request clarification before answering.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.