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

Application validation warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.0.0.CR1
    • 4.0.0.Beta1
    • webservices
    • Hide

      STEP: in #1 workspace create project with AS 7.1 as targeted runtime and with jaxrs service but WITHOUT jaxrs support:

      package test;
      
      import javax.ws.rs.GET;
      import javax.ws.rs.Path;
      
      @Path("/rest")
      public class A {
      
      	@GET
      	public void method() {
      		
      	}
      	
      }
      
      

      STEP: in #2 workspace import the project (workspace has not defined AS7.1 runtime)
      ASSERT: bullding problems (java ee packages cannot be resolved)
      STEP: add jaxrs support into the project
      FAIL: two warnings thrown in error log:

      Could not find type 'javax.ws.rs.core.Application' in project's classpath.
      Unable to find type with fully qualified name 'javax.ws.rs.core.Application' in Java Project 'prj'
      
      Show
      STEP: in #1 workspace create project with AS 7.1 as targeted runtime and with jaxrs service but WITHOUT jaxrs support: package test; import javax.ws.rs.GET; import javax.ws.rs.Path; @Path( "/ rest " ) public class A { @GET public void method() { } } STEP: in #2 workspace import the project (workspace has not defined AS7.1 runtime) ASSERT: bullding problems (java ee packages cannot be resolved) STEP: add jaxrs support into the project FAIL: two warnings thrown in error log: Could not find type 'javax.ws.rs.core.Application' in project's classpath. Unable to find type with fully qualified name 'javax.ws.rs.core.Application' in Java Project 'prj'

          xcoulon@redhat.com Xavier Coulon
          jjankovi Jaroslav Jankovič (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: