Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cucumber Gherkin plugin fails with JAXBException (SQ 7.9.1, JRE 11) #73

Closed
Bertk opened this issue Sep 11, 2019 · 2 comments
Closed

Cucumber Gherkin plugin fails with JAXBException (SQ 7.9.1, JRE 11) #73

Bertk opened this issue Sep 11, 2019 · 2 comments

Comments

@Bertk
Copy link

Bertk commented Sep 11, 2019

The analysis in build pipeline fails with JAXBException.

  • SonarQube version 7.9.1
  • Cucumber Gherkin plugin version 1.7
  • JRE 11.0
2019-09-11T06:55:52.9845111Z INFO: Sensor Gherkin Squid Sensor [gherkin]
2019-09-11T06:55:52.9928983Z INFO: 21 source files to be analyzed
2019-09-11T06:55:53.8526915Z INFO: ------------------------------------------------------------------------
2019-09-11T06:55:53.8544233Z INFO: EXECUTION FAILURE
2019-09-11T06:55:53.9582727Z INFO: ------------------------------------------------------------------------
2019-09-11T06:55:53.9584086Z INFO: Total time: 1:00.877s
2019-09-11T06:55:53.9971361Z INFO: Final Memory: 34M/117M
2019-09-11T06:55:53.9971778Z INFO: ------------------------------------------------------------------------
2019-09-11T06:55:53.9973579Z ##[error]ERROR: Error during SonarQube Scanner execution
2019-09-11T06:55:53.9975694Z ERROR: Error during SonarQube Scanner execution
2019-09-11T06:55:53.9978989Z ##[error]ERROR: javax/xml/bind/JAXBException
ERROR: Caused by: javax.xml.bind.JAXBException
@racodond
Copy link
Owner

Hi,

Unfortunately, I have no time to keep maintaining this plugin.

Cheers,

David

@jonbrohauge
Copy link

When building and using Java 11, be aware that some packages have been removed from the JDK. Try adding this to your pom.xml:

<dependencies>
    <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>javax.activation-api</artifactId>
        <version>1.2.0</version>
    </dependency>
</dependencies>

@Bertk Bertk closed this as completed Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants