Problem when adding Java Module to Java EE Application Module
Hi everyone,
This thing is driving me crazy... I hope someone can help me :
I want to create a Java EE application module that will include a Web Module and a Java Module.
I first create a Java EE application module, then I add a Web Module but when I then add a Java Module... it is not added to the Java EE application module.
More precisely, when I look at the Java EE application module settings ("Modules and Libraries to Package" section), I can see the web module but not the java module.
I have included 2 snapshots : one shows the project view ("common" is the name of the java module), the other one shows the java EE structure : the "common" module is not included in the Java Modules !
Any help would be appreciated :)
Attachment(s):
javaEE_structure_view.jpg
project_view.jpg
Please sign in to leave a comment.
... forgot to mention that I'm using version 6.0.5 ;)
I think it's just a confusion on the different view modes. View as project would normally show you the whole project along with its modules whereas packages contain the java (module) packages and ee view enterprise components (such as a web application).
does it make sense?
Java Module cannot be included into JavaEE app module directly. You
should include Java Module into some Web or Ejb module included in
JavaEE app module instead.
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"