![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
奔腾的海水
这个作者很懒,什么都没留下…
展开
-
springboot启动报错javax.servlet.ServletContext and Unable to start EmbeddedWebApplicationContext
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> <scope>provided</scope> </depende原创 2018-04-09 15:13:58 · 1757 阅读 · 0 评论 -
springboot mybatis逆向工程配置mysql
使用工具:JDK1.8、IntelliJ IDEA、mysqlpom.xml文件 mybatis相关依赖和插件添加<dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId>...原创 2018-04-12 16:03:14 · 395 阅读 · 0 评论 -
springboot热部署配置
pom配置 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </depende...原创 2019-03-29 22:39:12 · 122 阅读 · 0 评论 -
springboot相关注解
springmvc注解 @Controller:该注解用于类上,其表明该类是 Spring MVC 的 Controller; @RequestMapping:该注解主要用来映射 Web 请求,其可以用于类或者方法上; @RequestParam:该注解主要用于将请求参数数据映射到功能处理方法的参数上; @ResponseBody:该注解的作用是将方法的返回值放在 Response 中,而...原创 2019-04-07 14:13:02 · 89 阅读 · 0 评论