问题描述
我正在学习有关Payara Server 5.2020.4
和IntelliJ Version: 2020.2.1.
的教程
导师正在使用IntelliJ
Ultimate
,而我只有IntelliJ
Community
。
我知道Netbeans
/ Eclipse
的存在已经启用,并且我正在使用它们。
但是,我仍然有疑问,我想解决它。
是否可以通过pom.xml
为answer
这样的Glassfish/Payara
服务器添加对Tomcat的支持?
然后如何做到?
谢谢。
解决方法
是的,可以使用maven将Payara Server与任何IDE集成。
可以使用通用的Cargo maven插件来实现,该插件支持许多应用程序服务器,包括Payara Server。您可以在Payara博客中查看操作方法:
https://blog.payara.fish/deploying-to-payara-server-using-the-maven-cargo-plugin
以及此处Cargo插件中的Payara Server支持文档: