我没有应该加载jsondoc-ui.html,错误404,虽然http://localhost:8080/jsondoc http://localhost:8080/jsondoc有效,我得到了我的文档,但没有用户界面。使用您的指示http://jsondoc.org/how-to-spring-boot.html http://jsondoc.org/how-to-spring-boot.html请帮助我理解。先感谢您。
我的应用程序属性
jsondoc.version=1.0
jsondoc.base-path=http://localhost:8080
jsondoc.packages[0]=backEnd
jsondoc.display-method-as=uri
jsondoc.playground-enabled=true
我的 pom.xml
<dependency>
<groupId>org.jsondoc</groupId>
<artifactId>spring-boot-starter-jsondoc</artifactId>
<version>1.2.15</version>
</dependency>
<dependency>
<groupId>org.jsondoc</groupId>
<artifactId>jsondoc-ui-webjar</artifactId>
<version>1.2.15</version>
</dependency>
并在我的配置类中使用注释 @EnableJSONDoc
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)