• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

招摇提示规范中没有定义操作!的解决方案


Recommended Posts

时髦的提示规范中没有定义操作!的解决方案:

xbvbb4pm0bu3140.png

检查时髦的的配置文件(我这里用的是爪哇岛配置文件SwaggerConfig.java):

摘要=新摘要(文档类型.SWAGGER_2)//指定文档风格。apiInfo。选择()。API(requesthandlerselectors。基础包(' com。qfedu。FM商城。控制lo’))。路径(PathSelectors.any())。build();

在API(requesthandlerselectors。基础包(' com。qfedu。FM商城。控制lo’))这句中,指定了要生成的控制器的地址。这里可以看到我的控制器包写错了,所以读取不到地址。

此时检查一下包名或地址是否写错。修改正确之后重新启动,刷新页面即可解决问题。

pxkd25jmvpw3141.png

参考资料:https://博客。csdn。net/QQ _ 30019911/article/details/110005716

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now