Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] build error org.eclipse.lyo.clients:oslc-java-client

And please don't file a bug report, send a mail and write on the chat all at the same time in the future.

--
/Andrew

18 mars 2019 kl. 15:33 skrev Umesha Krishnegowda <umesh2007cit@xxxxxxxxx>:

Thanks jim. I will try with oslc4j 2.4 tomorrow and let you know. Good day ahead.


On Mar 18, 2019 7:03 PM, "Jim Amsden" <jamsden@xxxxxxxxxx> wrote:
Looks like you're picking up the wrong version of Jena. You might have the wrong version of oslc-core loaded into eclipse.

I would recommend that you stick with OSLC4J 2.4.0 for your initial study and not try to rely on incomplete changes in 4.0.0.

We're still working on getting everything merged into 4.0.0-SNAPSHOT and I'd expect problems until we get a little further.


Jim Amsden, Senior Technical Staff Member
OSLC and Linked Lifecycle Data
919-525-6575




From:        Umesha Krishnegowda <umesh2007cit@xxxxxxxxx>
To:        Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Date:        03/18/2019 09:27 AM
Subject:        Re: [lyo-dev] build error org.eclipse.lyo.clients:oslc-java-client
Sent by:        lyo-dev-bounces@xxxxxxxxxxx




thanks for your reply Jim,

I tried latest one now (/oslc4j-client-samples/src/main/java/org/eclipse/lyo/client/oslc/samples/IERMSample.java)  with below arguments 

-url https://btfs1000065149.st.mypc.net:9444/rm
-user uk
-password uk@123
-project "JKE Banking (Requirements Management)"

but i am getting below error, can you please guide me.

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.jena.system.JenaSystem.logLifecycle(Ljava/lang/String;[Ljava/lang/Object;)V
at org.apache.jena.riot.RIOT.init(RIOT.java:69)
at org.apache.jena.riot.system.InitRIOT.start(InitRIOT.java:29)
at org.apache.jena.system.JenaSystem.lambda$init$40(JenaSystem.java:114)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:179)
at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:156)
at org.apache.jena.system.JenaSystem.init(JenaSystem.java:111)
at org.apache.jena.rdf.model.ModelFactory.<clinit>(ModelFactory.java:49)
at org.eclipse.lyo.client.oslc.OslcClient.getCatalogUrl(OslcClient.java:590)
at org.eclipse.lyo.client.oslc.samples.IERMSample.main(IERMSample.java:140)

<mime-attachment.png>

On Mon, Mar 18, 2019 at 6:32 PM Jim Amsden <jamsden@xxxxxxxxxx> wrote:
You are attempting to use the old oslc-java-client, which depends in Apache Wink and JAX-RS 1.0, with the new 4.0.0 oslc-core which is based on JAX-RS 2.0. This old client should only be used with OSLC4J 2.4.0 or earlier. We are still working on a new oslc4j-client which uses JAX-RS 2.0 and no longer depends on Wink. If you want to try that, use branch jra-rename on lyo.client.

Jim Amsden, Senior Technical Staff Member

OSLC and Linked Lifecycle Data

919-525-6575





From:        
Umesha Krishnegowda <umesh2007cit@xxxxxxxxx>
To:        
lyo-dev@xxxxxxxxxxx
Date:        
03/18/2019 08:49 AM
Subject:        
[lyo-dev] build error org.eclipse.lyo.clients:oslc-java-client
Sent by:        
lyo-dev-bounces@xxxxxxxxxxx




Dear Experts,

AM new OSLC topic, when i tried to build am getting below error. Can you please help me


[INFO] Scanning for projects...
[INFO] 
[INFO] --------------< org.eclipse.lyo.clients:oslc-java-client >--------------
[INFO] Building OSLC Java Client 4.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from :
https://repo.eclipse.org/content/repositories/lyo-releases/org/apache/wink/wink-client/1.4/wink-client-1.4.pom
[INFO] Downloading from :
https://repo.maven.apache.org/maven2/org/apache/wink/wink-client/1.4/wink-client-1.4.pom
[INFO] Downloading from :
https://repo.eclipse.org/content/repositories/lyo-releases/org/apache/wink/wink/1.4/wink-1.4.pom
[INFO] Downloading from :
https://repo.maven.apache.org/maven2/org/apache/wink/wink/1.4/wink-1.4.pom
[INFO] Downloading from :
https://repo.eclipse.org/content/repositories/lyo-releases/org/apache/wink/wink/1.2.1-incubating/wink-1.2.1-incubating.pom
[INFO] Downloading from :
https://repo.maven.apache.org/maven2/org/apache/wink/wink/1.2.1-incubating/wink-1.2.1-incubating.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.481 s
[INFO] Finished at: 2019-03-18T18:08:04+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project oslc-java-client: Could not resolve dependencies for project org.eclipse.lyo.clients:oslc-java-client:jar:4.0.0-SNAPSHOT: Failed to collect dependencies at org.apache.wink:wink-client:jar:1.4: Failed to read artifact descriptor for org.apache.wink:wink-client:jar:1.4: Could not transfer artifact org.apache.wink:wink-client:pom:1.4 from/to lyo-releases (
https://repo.eclipse.org/content/repositories/lyo-releases/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [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/DependencyResolutionException

--
Thanks & Regards
   Umesh
_______________________________________________
lyo-dev mailing list

lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://www.eclipse.org/mailman/listinfo/lyo-dev


_______________________________________________
lyo-dev mailing list

lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://www.eclipse.org/mailman/listinfo/lyo-dev


--
Thanks & Regards
   Umesh_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/lyo-dev



_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/lyo-dev
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/lyo-dev

PNG image


Back to the top