摘要:
首先引入依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </dependency> 创建配置类:Swagg 阅读全文
posted @ 2022-07-21 14:18
敲代码的空白格
阅读(432)
评论(0)
推荐(0)
摘要:
首先创建类,定义一个事件,继承ApplicationEvent类实现方法 /** * 定义一个事件 */public class MsgEvent extends ApplicationEvent { public MsgEvent(Object source) { super(source); } 阅读全文
posted @ 2022-07-16 16:49
敲代码的空白格
阅读(650)
评论(0)
推荐(0)
摘要:
首先打开编辑运行-编辑配置 点击修改选项-选择程序实参 输入命令行参数即可 阅读全文
posted @ 2022-07-16 10:00
敲代码的空白格
阅读(101)
评论(0)
推荐(0)
摘要:
先上报错信息 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deptController': Injection of resource dependencies fai 阅读全文
posted @ 2022-07-14 08:50
敲代码的空白格
阅读(1453)
评论(0)
推荐(0)
摘要:
<!-- 配置Thymeleaf视图解析器 --> <bean id="viewResolver" class="org.thymeleaf.spring5.view.ThymeleafViewResolver"> <property name="order" value="1"/> <proper 阅读全文
posted @ 2022-07-03 15:47
敲代码的空白格
阅读(320)
评论(0)
推荐(0)
浙公网安备 33010602011771号