2 Replies Latest reply on May 24, 2017 1:09 PM by jasonglass

    Where is org.jboss.ws.api.annotation.WebContext?

    jsexton

      Can anyone tell me were I can find org.jboss.ws.api.annotation.WebContext for my project?  What jar?  Thanks.

        • 1. Re: Where is org.jboss.ws.api.annotation.WebContext?
          jsexton

          Found it...

           

          jbossws-api-1.0.0.GA.jar

           

          Now Eclipse won't complain about @WebContext

          1 of 1 people found this helpful
          • 2. Re: Where is org.jboss.ws.api.annotation.WebContext?
            jasonglass

            Thanks Jeff - just ran into that problem going from JBoss EAP 5.1 to 7, error I was getting is:

            import org.jboss.wsf.spi.annotation.WebContext - not found

             

            Looks like it's deprecated now, or the package has changed and instead it's

            import org.jboss.ws.api.annotation.WebContext

             

            After adding that, the IDE still could find the jar, so I searched for what you said, found jbossws-api-1.0.3.Final-redhat-1.jar, created a user library with that and it now builds!

             

            Thanks again!

             

            Jay