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

CDI validator should validate resource in the context of its project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M5
    • 3.3.0.M4
    • cdi
    • None

      EXECUTE: Create two dependent CDI projects: ProjectA and ProjectB. Project A is included in the class path of project B.
      EXECUTE: Add Seam REST jars into ProjectA.
      EXECUTE: Create the following bean in of ProjectA:

      public class TestBean {
          @Inject @RestClient("http://example.com")
          String taskService;
      }
      

      FAILURE: There is a problem marker on the injection. It will disappear only if you add Seam REST jars in ProjectB too.

            alexeykazakov Alexey Kazakov
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: