如何使用Java EE IntelliJ IDEA社区版 [英] How to use Java EE IntelliJ IDEA community edition

查看:859
本文介绍了如何使用Java EE IntelliJ IDEA社区版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只有 IntelliJ IDEA 的社区版,所以它没有完整的支持,但我想要做的就是编译并识别 Java EE 课程。到目前为止,我已经通过复制glassfish中的所有 JAR 文件来完成工作 - >将模块放入我的项目文件夹,然后在该文件夹上设置我的模块依赖项。有没有其他方法可以在不复制数百个JAR文件的情况下执行此操作,或者如果没有升级到完整版本,是否还有可能?

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?

推荐答案

为应用程序服务器jar配置全局库,并将此全局库添加到模块依赖关系

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

这篇关于如何使用Java EE IntelliJ IDEA社区版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆