Weird compilation error

I have an enterprise app that was compiling and deploying (to JBoss) fine. All of a sudden, IDEA crashed hard. After a restart, I can no longer deploy, I keep getting this error:



I regret that I did not capture the error message before restarting IDEA. Is there someplace I may be able to check for it now? I'm on OS X. Thanks.

Tobin

6 comments
Comment actions Permalink

Ok, I figured out the issue. IDEA's crash was just an unfortunate coincidence.

My EJB module has all my beans and entities, all defined using ejb3 annotations. It also has all the necessary jars. My new web module depended on the EJB module, and used some of the entity beans. Apparently, the web module needed the jar with the ejb3 annotations, even though the annotation doesn't exist in the web module itself. It looks like I don't quite understand how the dependencies play out completely, yet.

Maybe if I have the EJB module export it's relevant jars, I won't have to add them to the web modules.

Anyway, sorry for the extraneous forum noise.

Tobin

0
Comment actions Permalink

Don't feel sorry - this post saved me a lot of time figuering out what goes wrong ;)

Regards,

Stefan.

0
Comment actions Permalink

saved my time too! :)

0
Comment actions Permalink

Also just saved my day, thanks!

Cheers,
Colin

0
Comment actions Permalink

Checking the "Export" checkbox on the module that depended on the annotation solved this for me. Thanks!

0

Please sign in to leave a comment.