Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jaxrs-dev] Jax-rs documentation example errors

This is the mailing list for the JAX-RS standard. You refer to a specific product (Jersey), so please report THERE.

Thanks

-Markus

 

 

Von: jaxrs-dev [mailto:jaxrs-dev-bounces@xxxxxxxxxxx] Im Auftrag von Som Lima
Gesendet: Mittwoch, 24. März 2021 18:57
An: jaxrs developer discussions
Betreff: [jaxrs-dev] Jax-rs documentation example errors

 

Hi,

If this is not right list please let me know.

 

Section

" 1.6. Exploring Other Jersey Examples

For off-line browsing, you can also download a bundle with all the examples from here.  "

 

I downloaded  the bundle with a view to master JAX-RS technology in the next few days.

 

I opened to the Helloworld example in eclipse IDE .

Version: 2020-12 (4.18.0)
Build id: 20201210-1552

 

The <parent>  TAG of /jersey/examples/helloworld/pom.xml is  lit up in RED.

 

when I follow the  README.MD instruction to compile and run

mvn clean compile exec:java

 

I get the following error appears suggesting

I should have a file called  etc/config/checkstyle-suppressions.xml.

 

There is nothing in the documentation about this  file.

Moreover, this is obstructing my progress and will probably obstruct any one else.

 

Full error log

[INFO] --- maven-checkstyle-plugin:3.1.0:check (verify) @ helloworld ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.771 s
[INFO] Finished at: 2021-03-24T16:50:43Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (verify) on project helloworld: Failed during checkstyle execution: Unable to find suppressions file at location: etc/config/checkstyle-suppressions.xml: Could not find resource 'etc/config/checkstyle-suppressions.xml'. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 

 

 

 

 

 


Back to the top