0 Replies Latest reply on Mar 15, 2015 8:20 AM by Andrey N

    16:03:43,529 DEBUG [org.jboss.weld.Reflection] (default task-79) WELD-000620: interface javax.enterprise.inject.Decorated is not declared @Target(METHOD, FIELD, PARAMETER, TYPE). Weld will use this annotat ion, however this may make the application unport

    Andrey N Newbie

      Hi

       

      I tryed to configure JAX-RS at WildFly 8.2

      package test.ejb.person;
      
      
      import javax.ejb.EJB;
      import javax.ejb.LocalBean;
      import javax.ejb.Stateless;
      import javax.ws.rs.GET;
      import javax.ws.rs.Path;
      import javax.ws.rs.Produces;
      
      
      /**
      * Session Bean implementation class PersonRestBean
      */
      @Path( "personService" )
      //@Stateless
      //@Stateful
      //@LocalBean
      public class PersonRestResource {
      
      
      //    @EJB
      //    private PersonBean personBean;
      
      
          /**
           * Default constructor.
           */
          public PersonRestResource() {
      
      
          }
      
      
          @GET
      //    @Path( "/status" )
          @Produces( {"text/plain"} )
          public String listPerson() {
      
      
              return "/personService ~ worked";
          }
      }
      
      

       

      and when I open url I got :

      16:03:43,529 DEBUG [org.jboss.weld.Reflection] (default task-79) WELD-000620: interface javax.enterprise.inject.Decorated is not declared @Target(METHOD, FIELD, PARAMETER, TYPE). Weld will use this annotat
      ion, however this may make the application unportable.
      16:03:43,529 DEBUG [org.jboss.weld.Reflection] (default task-79) WELD-000620: interface javax.enterprise.inject.Intercepted is not declared @Target(METHOD, FIELD, PARAMETER, TYPE). Weld will use this annot
      ation, however this may make the application unportable.
      
      

       

      on the page I got :

      Not Found


      what does that DEBUG INFO MEAN ?

       

      Message was edited by: Andrey N