Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15402

Doubled warnings Multiple JAX-RS Activators

XMLWordPrintable

    • Hide

      STEP: Create Dynamic Web Project with JAX-RS support
      STEP: Create JAX-RS Activator, for example:

      Activator1.java
      import javax.ws.rs.ApplicationPath;
      import javax.ws.rs.core.Application;
      
      @ApplicationPath("/test")
      public class Activator1 extends Application {
      
      }
      

      STEP: Create another JAX-RS Activator
      ASSERT: There are 2 warnings: Multiple JAX-RS Activators are defined for the project. (for both files)
      FAIL: There are 4 warnings. (two same warnings for both files)

      Show
      STEP: Create Dynamic Web Project with JAX-RS support STEP: Create JAX-RS Activator, for example: Activator1.java import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath( "/test" ) public class Activator1 extends Application { } STEP: Create another JAX-RS Activator ASSERT: There are 2 warnings: Multiple JAX-RS Activators are defined for the project. (for both files) FAIL: There are 4 warnings. (two same warnings for both files)

      After creating multiple JAX-RS Activators in Dynamic Web Project with JAX-RS support, there are doubled warnings ("Multiple JAX-RS Activators are defined for the project.") for each activator.

              manderse@redhat.com Max Andersen
              rrabara Radoslav Rábara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: