【文件属性】:
文件名称:annotator-maven-plugin-demos:用于演示https
文件大小:34KB
文件格式:ZIP
更新时间:2021-03-14 17:10:13
Java
入门
第一步:克隆项目
git clone https://github.com/dragon-zhang/annotator-maven-plugin-all.git
第二步:运行命令
在annotator-maven-plugin-all中运行以下命令
mvn clean install -U
第三步:运行命令
确保生成新的字节码
首先,删除所有生成的targets文件夹
然后,在annotator-maven-plugin-demos中运行以下命令
mvn clean install
第四步:向Tomcat发动战争
步骤5:查看结果
对于swagger2用户
http://localhost:8080/swagger-ui.html
对于swagger3用户
http://localhost:8080/swagger-ui/index.html
【文件预览】:
annotator-maven-plugin-demos-master
----.gitignore(42B)
----pom.xml(658B)
----README.md(612B)
----annotator-maven-plugin-demo()
--------src()
--------pom.xml(9KB)
----swagger2-maven-plugin-demo()
--------src()
--------pom.xml(6KB)
----swagger3-maven-plugin-demo()
--------src()
--------mvnw(10KB)
--------pom.xml(2KB)
--------mvnw.cmd(6KB)