
Spring Boot
文章平均质量分 95
孤城冰
坚持别人不能坚持的,努力别人不能付出的,就会收获别人不能收获的。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
maven 引用MultipartEntityBuilder
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5</version> </dependency> <dependency> ...原创 2020-08-31 00:38:59 · 9819 阅读 · 0 评论 -
报错:Loading class `com.mysql.jdbc.Driver‘.
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.修改配置文件:整合spring boot项目过程..原创 2020-08-30 14:53:33 · 1150 阅读 · 0 评论 -
webflux 区别 web 启动
webflux--启动依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId> <version>2.1.6.RELE...原创 2019-12-09 16:31:58 · 618 阅读 · 0 评论 -
configration RouterfunctionConfiguration 报错
如果出现以上错误检查:1、检查端口是否正确,连接路径是否正确:2、注册属性是否正确: 是configuration 不是configurable3、配置和jar包是否正确:不是srart-web4、有没有传入数据以上都没有问题:返回页面可以看到结果...原创 2019-12-09 15:27:54 · 1309 阅读 · 0 评论 -
spring+mysql+mybatis
最近相联系一下前后端分离搭建,学习activity用Spring Boot搭建一个后端+mysql+mubatis选择db+mysqldb+web 进行搭建之后一定要配置mysql链接,不然启动不起来的会,因为创建项目时候添加的数据连接驱动,启动默认会查找链接,如果没有那么报错,数据库连接路径失败;spring.datasource.url=jdbc:mysql://数据库路径(...原创 2019-12-04 10:29:05 · 210 阅读 · 0 评论 -
idea搭建第一个Spring Boot Web
点击idea 新建项目此步骤需要什么选什么就行了此次直接搭建了最简单的finish等待下载依赖时间长短取决于网速快慢项目完整结构创建controller -》hello.class编辑配置文件 ;hello.class此处我为修改配置文件名,使用的默认配置文件,如不固定端口则:127.0.0.1:port 端口号将每次启动都自...原创 2019-05-21 13:02:30 · 186 阅读 · 0 评论 -
Spring boot 启动报错:the APR based Apache Tomcat Native library is installed解决办法
第一次创建加载Spring Boot 时候遇见了这样的问题:记:java找不到APR (Apache Tomcat Native library)tomat本地库 1.2.14版本就是java现有APR类库和所需的版本不匹配找到很费劲啊,有一个很详细的解决方法参考:https://blog.youkuaiyun.com/zs520ct/article/details/80497281...原创 2019-05-21 13:17:14 · 2073 阅读 · 0 评论 -
springboot 模块添加
平台搭建:基于springboot+MyBatisgoupe:如果是子模块要填写与主模块相同的名字artifact:填写的是当前模块需要的名字type:mavenProject 是基于maven的子模块项目 maven pom 是基于maven的子模块只配携带pom文件配置依赖:可以删掉相关项目不需要的文件...原创 2019-09-11 16:18:27 · 534 阅读 · 0 评论 -
springboot+mybatis excel导出
//controller page import cn.asiic.labor.core.utils.Servlets;import cn.asiic.labor.table.entity.ProjMain;import cn.asiic.labor.table.entity.ProjMainInt;import cn.asiic.labor.table.service.ProjMai...原创 2019-09-26 17:13:57 · 642 阅读 · 2 评论