Announcement Announcement Module
Collapse
No announcement yet.
Adding packages inside top level package Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding packages inside top level package

    When creating a new Spring sample MVC project you're required to create a top level package (e.g. com.companyname.applicationname) but what if I want to create packages inside this package? When I rightclick on the top level package node and chose "new->package" nothing happens. The PetClinic sample project have packages inside the top level package, so it must be possible but how?

    Regards Kristofer.

  • #2
    Kristofer,

    you can just create a new class and then specify the new package. Empty packages are per-default not displayed in Eclipse. You'll see the package once you added Class or Interface.

    HTH

    Christian

    Comment


    • #3
      Thanks! What a relief to get it working.

      Comment

      Working...
      X