Hi all,
I follow the README file to run the oauth2 example but have error to start the service:
Starting the service --------------------------------------- * In the servlet container cd war; mvn jetty:run-war
It has some error:
BUILD FAILURE ------------------------------------------------------------------------ Total time: 1.279 s Finished at: 2014-11-03T13:32:48-05:00 Final Memory: 9M/183M ------------------------------------------------------------------------ Failed to execute goal on project jaxrs-oauth2-service-war: Could not re solve dependencies for project org.talend.cxf-examples.jaxrs-oauth-example:jaxrs -oauth2-service-war:war:1.0: Failed to collect dependencies at org.talend.cxf-ex amples.jaxrs-oauth-example:jaxrs-oauth2-service:jar:1.0: Failed to read artifact descriptor for org.talend.cxf-examples.jaxrs-oauth-example:jaxrs-oauth2-service :jar:1.0: Could not find artifact org.talend.cxf-examples:talend-cxf-exampleso m:1.0 in central () ->
To see the full stack trace of the errors, re-run Maven with the -e swit ch. Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please rea d the following articles:
Hi Kai
You have to build it first.
First build an examples parent pom, if it is a jaxrs_oauth2 folder then the examples pom would be two folders up. Do "mvn install --non-recursive" there, next do cxf examples pom build the same way (one folder up from the jaxrs_oauth2 folder). Then build the jaxrs_oauth2 example.
Let me know how it goes please
Sergey
Hi Kai
You have to build it first.
First build an examples parent pom, if it is a jaxrs_oauth2 folder then the examples pom would be two folders up. Do "mvn install --non-recursive" there, next do cxf examples pom build the same way (one folder up from the jaxrs_oauth2 folder). Then build the jaxrs_oauth2 example.
Let me know how it goes please
Sergey