Seven Stars

JAXRS-Intro Example Error

I am trying to run the JaxRS-Intro example... When I am trying to run the client, i see the following error. What am I doing wrong?
I did a mvn install at the jaxrs-intro folder and that did not give any errors.
C:\Users\abc\Downloads\TOS_ESB-20160704_1411-V6.2.1\Runtime_ESBSE\examples\talend\cxf\jaxrs-intro\war>mvn jetty:run
Scanning for projects...

------------------------------------------------------------------------
Building JAX-RS Intro Example War 1.0
------------------------------------------------------------------------

>>> maven-jetty-plugin:6.1.15:run (default-cli) > test-compile @ jaxrs-intro-service-war >>>
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.532 s
Finished at: 2017-02-22T16:48:21-05:00
Final Memory: 8M/245M
------------------------------------------------------------------------
Failed to execute goal on project jaxrs-intro-service-war: Could not resolve dependencies for project org.talend.cxf-examples.jaxrs-intro-example:jaxrs-intro-service-war:war:1.0: Failed to col
lect dependencies at org.talend.cxf-examples.jaxrs-intro-example:jaxrs-intro-service-bundle:jar:1.0: Failed to read artifact descriptor for org.talend.cxf-examples.jaxrs-intro-example:jaxrs-intro-serv
ice-bundle:jar:1.0: Failure to find org.talend.cxf-examples:talend-cxf-examples:pom:1.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted u
ntil the update interval of central has elapsed or updates are forced ->

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Than you.
2 REPLIES
Employee

Re: JAXRS-Intro Example Error

I thought I replied yesterday but see no my response today.
Please do "mvn install -Pfastinstall" for the examples/ and examples/cxf poms
Cheers, Sergey
Seven Stars

Re: JAXRS-Intro Example Error

I thought I replied yesterday but see no my response today.
Please do "mvn install -Pfastinstall" for the examples/ and examples/cxf poms
Cheers, Sergey

Sergey, That worked!
Thank you.
PS: you can mark it resolved.