Can't create packages with Maven webapp

Posted by cardori on Stack Overflow See other posts from Stack Overflow or by cardori
Published on 2012-10-18T16:42:30Z Indexed on 2012/10/18 17:01 UTC
Read the original article Hit count: 126

Filed under:
|
|
|

I have created a project using the following maven webapp project in eclipse:

enter image description here

When adding a package to the project (right click project -> new -> package), the package gets added as a folder (I added a package named core). It does not have the usual package icon:

enter image description here

If I try to create a new class and select a package, there are no entries in the list box. I have tried creating packages in a normal eclipse dynamic web project and these work correctly.

How do I get packages in Maven enabled webapp projects?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse