0 Replies Latest reply on Mar 27, 2018 3:04 PM by aporcaro

    Problem with com.sun.jersey.config.property.packages

    aporcaro

      Hi,

      I have a problem. I have a source code with some rest service Jersey.

      I configured the web.xml file with some different servlet. Foreach servlet i have a differnt url to mapping my rest.

      I developed my source with eclipse end I deployed it with wildfly using the code

      <servlet>

          <servlet-name>REST BDA</servlet-name>

          <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>

          <init-param>

      <param-name>com.sun.jersey.config.property.packages</param-name>

      <param-value>it.reGia.rest.bda.service;org.codehaus.jackson.jaxrs</param-value>

      </init-param>

          <load-on-startup>1</load-on-startup>

        </servlet>

        <servlet-mapping>

          <servlet-name>REST BDA</servlet-name>

          <url-pattern>/bda/service/*</url-pattern>

        </servlet-mapping>

      and I have not problem. But when I deploy the war on JBOSS EAP 7, deploy is failed.

      As I have to show different services under its url, how can I solve this problem?

      Help me please