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

Generated Web Maven Java source files in wrong package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 11.1
    • javaee - Maven
    • None

    Description

      In the New Project dialog, select "Java with Maven | Web Application", click Next, Next, select GlassFish and Java EE 8 Web. Click Finish. The project is created and opens in the IDE.

      Look in Source Packages node and notice that the sources files, JAXRSConfiguration and JavaEE8Resource, are in the default package and 'resource' package respectively, while the package statement in the editor indicates they should be in the 'com.mycompany' package instead, causing error markings in the editor.

      Attachments

        Activity

          People

            javajuneau Josh Juneau
            geertjan Geertjan Wielenga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: