maven - Intellij Idea 2020 社区版中的 Glassfish 5(Payara 服务器)
问题描述
我正在关注一个教程Payara Server 5.2020.4
和IntelliJ Version: 2020.2.1.
导师在用IntelliJ
Ultimate
,我只有IntelliJ
Community
。
我知道Netbeans
/的存在Eclipse
已经为此启用,并且我正在使用它们。
但是,我仍然有疑问,我想解决它。
是否可以通过为 Tomcatpom.xml
添加对Glassfish/Payara
这样的服务器的支持?answer
怎么做?
提前致谢。
解决方案
是的,可以使用 maven 将 Payara Server 与任何 IDE 集成。
这可以使用通用 Cargo maven 插件来实现,该插件支持许多应用程序服务器,包括 Payara Server。您可以在此处的 Payara 博客中查看如何操作:
https://blog.payara.fish/deploying-to-payara-server-using-the-maven-cargo-plugin
以及 Cargo 插件中 Payara 服务器支持的文档:
推荐阅读
- java - AWS Kinesis 增强型扇出 Java 示例
- mongodb - mongodb高资源使用和配置提示
- json - aws cli 查询以查找最后拍摄的快照、拍摄日期、使用的标签(如果有)、实例的名称标签和实例 ID
- html - 粘贴后如何检查输入值的长度?
- php - 两个 laravel 应用程序干扰 xampp
- python - Django:无法验证 MultipleChoiceField
- python - 本地 postgresql 环境不与 sqlalchemy 连接
- php - PHP - 从包含匹配字符串的 html 响应中删除行
- c# - 实体类型 T 需要定义一个主键。如果您打算使用无密钥实体类型调用“HasNoKey()”
- javascript - 变量在 Angular 中具有值时被视为未定义