我创建了一个jhipster应用程序,它现在有了客户端。初始配置是以下给出的选项,
? Which *type* of application would you like to create? Monolithic application (recommended for simple projects)
? What is the base name of your application? nouisample
? Do you want to make it reactive with Spring WebFlux? No
? What is your default Java package name? com.mycompany.myapp
? Which *type* of authentication would you like to use? JWT authentication (stateless, with a token)
? Which *type* of database would you like to use? SQL (H2, PostgreSQL, MySQL, MariaDB, Oracle, MSSQL)
? Which *production* database would you like to use? MySQL
? Which *development* database would you like to use? MySQL
? Which cache do you want to use? (Spring cache abstraction) No cache - Warning, when using an SQL database, this will
disable the Hibernate 2nd level cache!
? Would you like to use Maven or Gradle for building the backend? Maven
? Do you want to use the JHipster Registry to configure, monitor and scale your application? No
? Which other technologies would you like to use? API first development using OpenAPI-generator
? Which *Framework* would you like to use for the client? No client
? Would you like to enable internationalization support? No
? Please choose the native language of the application English
? Besides JUnit and Jest, which testing frameworks would you like to use?
? Would you like to install other generators from the JHipster Marketplace? No
我在以下配置文件中启动应用程序,
2023-06-18T15:15:58.305+05:30 INFO 23300 --- [ restartedMain] com.mycompany.myapp.NouisampleApp : The following 2 profiles are active: "dev", "api-docs"
中的应用程序启动器http://localhost:8080/”。
但我无法连接招摇ui。我尝试了以下网址,
-
http://localhost:8080/#/docs
-
http://localhost:8080/swagger-ui.html
-
http://127.0.0.1:8761/swagger-ui/index.html
我得到的只是一个包含以下文本的错误页面。
Your request cannot be processed
Sorry, an error has occurred.
Status: Not Found (Not Found)
Message: Not Found
有人能帮忙吗?如何访问swagger ui?