Web and Java Module in 4.0.3

Ok, I have created a Web Module in IDEA and I would like to add a Java module to it so in the "Paths" dialog I go ahead an add an existing module which works great. The only problem is that I cant seem to get the Web Module to include the classes of the Java Module. I made sure that the Java Module was a dependency of the Web Module. However, I do not see the module in the "Web Module Settings" tab under "Modules and Libraries to Deploy". Am I missing something? Please let me know. Thanks.

0
Avatar
Permanently deleted user

Please make sure web module depends ON java module and not vice versa.
I.e. go to Settings|Paths|web module|dependencies and verify your java module is checked.

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Michael Garza" <no_mail@jetbrains.com> wrote in message news:9913966.1082064030056.JavaMail.javamailuser@localhost...

Ok, I have created a Web Module in IDEA and I would like to add a Java module to it so in the "Paths" dialog I go ahead an add an

existing module which works great. The only problem is that I cant seem to get the Web Module to include the classes of the Java
Module. I made sure that the Java Module was a dependency of the Web Module. However, I do not see the module in the "Web Module
Settings" tab under "Modules and Libraries to Deploy". Am I missing something? Please let me know. Thanks.


0
Avatar
Permanently deleted user

Ok I have checked to make sure that the "Web Module" depends on the "Java Module" many many times. I have attached some screenshots of it so that you don't think im crazy. Oh and I did "Apply" it over and over and make just never seems to include the Java module.



Attachment(s):
Depends.PNG
Deploy.PNG
0
Avatar
Permanently deleted user

Is "Include in Web Module" next to Mojo checked on the Web Module Settings
tab?

"Michael Garza" <no_mail@jetbrains.com> wrote in message
news:19189161.1082127594787.JavaMail.javamailuser@localhost...

Ok I have checked to make sure that the "Web Module" depends on the "Java

Module" many many times. I have attached some screenshots of it so that you
don't think im crazy. Oh and I did "Apply" it over and over and make just
never seems to include the Java module.


0
Avatar
Permanently deleted user

I must be blind because I do not see the Mojo Module listed under the "Web Module Settings" tab. If you look at Deploy.PNG Mojo is not listed as an option to include into the Web Module even though Mojo IS a dependency of the Web Module. If I am missing something, please let me know. Thanks.

0
Avatar
Permanently deleted user

I don't see a deploy.png

"Michael Garza" <no_mail@jetbrains.com> wrote in message
news:8769545.1082134181310.JavaMail.javamailuser@localhost...

I must be blind because I do not see the Mojo Module listed under the "Web

Module Settings" tab. If you look at Deploy.PNG Mojo is not listed as an
option to include into the Web Module even though Mojo IS a dependency of
the Web Module. If I am missing something, please let me know. Thanks.


0
Avatar
Permanently deleted user

You have to go to the forum to see it.
For some reason it doesn't get to the news group.

0

Hmm. My guess is your project file is corrupt. But maybe a bug too. Maybe a Jetbrainer can take a look at your project and module files?

0
Avatar
Permanently deleted user

I think what I am going to end up doing is creating a small test case and see if that works. Ill let you know what I find out. Thanks.

0
Avatar
Permanently deleted user

As it turns out... I created the small test case and it worked perfectly. So then I thought that I would go through and recreate my projects one by one. This seems to have done the trick. As now my modules show up in the "Web Module Settings" tab. Im not sure why all my project files were corrupt, but oh well, at least it works now and I can get back to work. :) Thanks for the help everyone.

0

请先登录再写评论。