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.
Hi Vijay,
Welcome on Community! Scope provided should be the way to go!
A few ideas here:
Hope this will help!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.