首页 > 解决方案 > Intellij Idea 2020 社区版中的 Glassfish 5(Payara 服务器)

问题描述

我正在关注一个教程Payara Server 5.2020.4IntelliJ Version: 2020.2.1.

导师在用IntelliJ Ultimate,我只有IntelliJ Community

我知道Netbeans/的存在Eclipse已经为此启用,并且我正在使用它们。

但是,我仍然有疑问,我想解决它。

是否可以通过为 Tomcatpom.xml添加对Glassfish/Payara这样的服务器的支持?answer

怎么做

提前致谢。

标签: mavenintellij-ideapom.xmlpayaraglassfish-5

解决方案


是的,可以使用 maven 将 Payara Server 与任何 IDE 集成。

这可以使用通用 Cargo maven 插件来实现,该插件支持许多应用程序服务器,包括 Payara Server。您可以在此处的 Payara 博客中查看如何操作:

https://blog.payara.fish/deploying-to-payara-server-using-the-maven-cargo-plugin

以及 Cargo 插件中 Payara 服务器支持的文档:

https://docs.payara.fish/community/docs/5.2020.4/documentation/user-guides/using-the-maven-cargo-plugin.html


推荐阅读