1 Reply Latest reply on Apr 10, 2013 2:53 AM by Davide G

    custom bundle is not importing package - Cannot be resolved

    Bayani Portier Level 1

      Hi guys,

       

      I've got a bundle that has a SlingSafeMethodsServlet implementation in it. The SlingSafeMethodsServlet is attempting to import the com.thoughtworks.xstream package, but it can't seem to resolve it.

       

      I have included the bundle into maven as a dependency:

      <dependency>

                                    <groupId>com.thoughtworks.xstream</groupId>

                                    <artifactId>xstream</artifactId>

                          </dependency>

       

       

      Imported Packagescom.thoughtworks.xstream -- Cannot be resolved
      com.thoughtworks.xstream.io -- Cannot be resolved
      com.thoughtworks.xstream.io.xml -- Cannot be resolved

      That is the result, and the bundle won't start. If anyone has any ideas, I would most appreciate the insight.