´╗┐
tiagooleite2

Untitled

Nov 24th, 2020
485
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ERRO!
  2.  
  3. {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."prestacao.war".undertow-deployment" => "com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  4.     Caused by: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes."}}
  5.  
  6.  
  7.  
  8.  
  9.  
  10. WEB.XML
  11.  
  12. <servlet>
  13.         <servlet-name>Faces Servlet</servlet-name>
  14.         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  15.         <load-on-startup>1</load-on-startup>
  16.     </servlet>
  17.     <servlet>
  18.         <servlet-name>Jersey REST Service</servlet-name>
  19.         <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
  20.         <init-param>
  21.             <param-name>com.sun.jersey.config.property.packages</param-name>
  22.             <param-value>br.gov.icuria.service</param-value>
  23.         </init-param>
  24.         <init-param>
  25.             <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
  26.             <param-value>true</param-value>
  27.         </init-param>
  28.         <load-on-startup>1</load-on-startup>
  29.     </servlet>
  30.     <servlet-mapping>
  31.         <servlet-name>Jersey REST Service</servlet-name>
  32.         <url-pattern>/rest/</url-pattern>
  33.     </servlet-mapping>
  34.     <servlet-mapping>
  35.         <servlet-name>Jersey REST Service</servlet-name>
  36.         <url-pattern>/validacao/</url-pattern>
  37.     </servlet-mapping>
  38.  
RAW Paste Data