Jersey Launch Designs

I just downloaded the jersey samples, which is a maven project, but when I try to run the samples I get

"[ERROR] Failed to fulfill the goal org.apache.maven.plugins: Maven-Checkstyle-plugin: 2.16: Checkstyle (default-cli) in the json-jackson project: an error occurred in the generation of the control report. Error executing checkstyle: Not could not find the prohibition file in the location: etc / config / checkstyle-suppressions.xml: Could not find the resource 'Etc./configuration / Checkstyle-suppressions.xml. → [Help 1] "

I think this may be due to the parent pom, however I have not found a solution yet.

Any idea how this can be resolved?

+5
source share
1 answer

I open an error on jira https://java.net/jira/browse/JERSEY-3011

Decision:

A simple workaround: cloning the entire Jersey repo and building only examples (you'll have etc / * dir loaded). Or you can try disabling checkstyle: mvn clean install -PcheckstyleSkip

+7
source

Source: https://habr.com/ru/post/1237068/


All Articles