Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5780

netbeans wrongly reports "selected bean not in the same module"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.4
    • None
    • javaee - EJB Project
    • openjdk15

      OSX 11.4 (20F71)

      NB12.4 recently installed - has not been messed with

    Description

      replicating:

      • create enterprise project including EJB and Web module etc.
      • create EJB XYZ with Local interface. Add business method
      • create REST WS in the web project
      • inside a REST method, Ctrl-I and select Call Enterprise Bean
      • navigate to XYZ EJB module, and select the XYZ EJB.

      see red warning "selected bean is not in the same enterprise module". see screenshot

      this project was created previously using the same steps as above, in NB12.1 or something. It deploys and runs using @Local references so clearly this is a regression (or some other change in project structure constraints).

      Attachments

        1. callEJBBug.png
          104 kB
          Paul

        Activity

          People

            Unassigned Unassigned
            primeq Paul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: