![](https://img-blog.csdnimg.cn/20210305194046254.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
SpringMVC
SpringMVC
临水而愚
滴水穿石,事在人为。
展开
-
使用Swagger3报错的问题
报错提示org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifec原创 2021-11-30 10:53:05 · 7208 阅读 · 0 评论 -
SpringMVC-Day02
数据处理处理提交数据当url传输的字段名一致时候//http://localhost:8089/hello1?name=xiaohua @GetMapping("/hello1") public String hello1(String name){ System.out.println(name); return "hello"; }当url传输的字段名不一致时候(使用@RequestParam绑定参数)////http://lo原创 2021-03-06 17:10:05 · 6920 阅读 · 0 评论 -
SpringMVC-Day01
SpringMVCSpring MVC是Spring Framework的一部分,是基于Java实现的轻量级的Web框架,即其底层还是Servlet.SpringMVC 执行流程Controller控制器复杂提供访问应用程序的行为,通常通过接口定义或注解定义两种方法实现。控制器负责解析用户的请求并将其转换为一个模型。在Spring MVC中一个控制器类可以包含多个方法在Spring MVC中,对于Controller的配置方式有很多种Web.xml<?xml ve原创 2021-03-05 19:43:18 · 6801 阅读 · 0 评论