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
请先登录再写评论。
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
Don't feel sorry - this post saved me a lot of time figuering out what goes wrong ;)
Regards,
Stefan.
saved my time too! :)
Also just saved my day, thanks!
Cheers,
Colin
eplica or an authent
http://www.replicahandbagss.com/replica-handbags/burberry-handbags.html eplica or an authent http://www.replicahandbagss.com/replica-handbags/jimmy-choo-handbags.html eplica or an authent http://www.replicahandbagss.com/replica-handbags/valentino-handbags.html eplica or an authent http://www.replicahandbagss.com/replica-handbags/gucci-handbags.html
---
Original message URL: http://devnet.jetbrains.net/message/5269792#5269792
Checking the "Export" checkbox on the module that depended on the annotation solved this for me. Thanks!