Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST plugin stopped working after adding dependency on eclipse.lyo

Vijay Patil June 11, 2018

I have wriiten a sample Hello World REST plugin using atlassian SDK. I have added following dependency in pom.xml -

<dependency>
    <groupId>org.eclipse.lyo.oslc4j.core</groupId>
    <artifactId>oslc4j-core</artifactId>
    <version>2.1.0</version>
</dependency>

After this, my REST plugin is not loading. I am getting 404 Not found error.

If I add "<scope>provided</scope>" attribute in the dependency, then my REST plugin is working, but I am unable to create an instance of "org.eclipse.lyo.oslc4j.core.model.ServiceProviderCatalog" and getting ClassDefNotFound exception.

How can I resolve this issue ? How can I add oslc4j-core plugin at compile time ? How can I include it in the build path ?

Any help on this will be much appreciated.

1 answer

0 votes
miikhy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2018

Hi Vijay,

Welcome on Community! Scope provided should be the way to go!

A few ideas here:

Hope this will help!

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events