hstaudacher / osgi-jax-rs-connector

An OSGi - JAX-RS 2.0 Connector, software repository available on the link below
http://hstaudacher.github.io/osgi-jax-rs-connector
Other
191 stars 98 forks source link

Shell not found while using with Sling 8 #182

Open lancedolan opened 7 years ago

lancedolan commented 7 years ago

Steps to reproduce: -Download and run Sling 8 server http://sling.apache.org/downloads.cgi -Install the jersey-all and the publisher module of this project

com.eclipsesource.jaxrs publisher 5.3.1
        <dependency>
            <groupId>com.eclipsesource.jaxrs</groupId>
            <artifactId>jersey-all</artifactId>
            <version>2.22.2</version>
        </dependency>

Expected behavior: -Can write some hello world Jersey Service and test it

Observed behavior: org.osgi.framework.ServiceException: Service factory exception: org/apache/felix/shell/Command Caused by: java.lang.NoClassDefFoundError: org/apache/felix/shell/Command

I also posted on stackoverflow here http://stackoverflow.com/questions/41901337/how-to-use-jersey-in-sling