摘要: https://mvnrepository.com/ https://maven.aliyun.com/mvn/guide gradle 配置指南 在 build.gradle 文件中加入以下代码: allprojects { repositories { maven { url 'https:// 阅读全文
posted @ 2021-01-27 15:13 溶洞 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_22172133/article/details/81513955 一、相关介绍 Gradle是一个好用的构建工具 ,使用它的原因是: 配置相关依赖代码量少,不会像maven一样xml过多 打包编译测试发布都有,而且使用起来方便 利用自定义的任 阅读全文
posted @ 2021-01-27 14:53 溶洞 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/yjmyzz/p/javaee-jax-rs-tutorial.html JAX-RS(Java API for RESTful Web Services)同样也是JSR的一部分,详细规范定义见 https://jcp.org/en/jsr/de 阅读全文
posted @ 2021-01-27 12:55 溶洞 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/u012129031/article/details/53409761 简介 JAX-RS (JSR-311) 是为 Java EE 环境下的 RESTful 服务能力提供的一种规范。它能提供对传统的基于 SOAP 的 Web 服务的一种可行替代。 阅读全文
posted @ 2021-01-27 12:35 溶洞 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 1:首先创建rest module服务 2:liferay7中配置服务访问策略; 3:访问地址:http://localhost:8080/o/greetings 阅读全文
posted @ 2021-01-27 11:41 溶洞 阅读(108) 评论(0) 推荐(0) 编辑