How to use Java EE IntelliJ IDEA community edition
Asked Answered
N

2

15

I only have the community edition of IntelliJ IDEA so it doesn't have the full support, but all I want it to do is compile and recognize Java EE classes. So far, I've gotten it to work by copying all of the JAR files in glassfish->modules into my project folder and then setting my module dependencies on that folder. Is there some other way to do this without copying over hundreds of JAR files or is it not possible without upgrading to the full version?

Nephralgia answered 14/7, 2011 at 19:27 Comment(0)
I
16

Configure a global library for your application server jars and add this global library to the module dependencies.

Invariant answered 14/7, 2011 at 19:30 Comment(0)
E
5

To add to CrazyCoder's answer. Add a GLOBAL library (I never saw this).

File -> Project Structure... -> Global Libraries -> + -> Java -> [choose root dir of server]

enter image description here

Elated answered 11/1, 2021 at 11:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.