码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
SpringBoot(5)—模板引擎
一、集成Thymeleaf 1、引入jar包(thymeleaf对应的starter) <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifa ...
分类:编程语言   时间:2020-04-03 00:54:47    阅读次数:75
mybatis基础框架搭建
前言:基于springboot,使用mysql数据库,druid连接池 1. 引入依赖 2. 配置application.yml 3. 编写实体类、mapper接口、mapper映射文件 mapper接口 实体类 mapper映射文件 ...
分类:其他好文   时间:2020-04-03 00:30:30    阅读次数:71
Springboot mybatis
1、分页查询 /** * Dao层 */public interface TestMapper { //mysql分页查询 @Select("${sql} limit #{start},#{size}") public List<Map> getPageList(@Param("sql") Stri ...
分类:编程语言   时间:2020-04-03 00:29:47    阅读次数:61
Springboot+Maven
Spingboot框架在maven项目中的引用。直接在pom.xml文件中添加上一下内容。 注意事项:pom.xml文件中只能有一组<parent>标签 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-b ...
分类:编程语言   时间:2020-04-02 22:32:03    阅读次数:100
springboot+vue集成mavon-editor,开发在线文档知识库
先睹为快,来看下效果: 技术选型 SpringBoot、Spring Security、Oauth2、Vue element admin 集成mavon editor编辑器 1. 安装 mavon editor 2. 引入mavon editor 后台使用 js文件:index.js html文件: ...
分类:编程语言   时间:2020-04-02 22:28:32    阅读次数:101
基于VSCode的Java编程语言的构建调试环境搭建指南
一、安装JDK,配置环境变量 二、Extensions中搜索Java Extension Pack进行安装 三、写helloworld.java 运行成功 四、初始化SpringBoot项目 shift+command+p输入maven 打开一个SpringBoot项目 输入几个参数后创建成功 创建 ...
分类:编程语言   时间:2020-04-02 21:05:19    阅读次数:80
SpringBoot集成Elasticsearch
1. 准备工作 需要提前安装好Elasticsearch,访问地址:http://127.0.0.1:9200/ 得到以下结果,得到cluster_name,下面配置使用。 { "name" : "O8GslS3", "cluster_name" : "docker-cluster", "clust ...
分类:编程语言   时间:2020-04-02 19:45:05    阅读次数:77
SpringBoot 操作Excel
SpringBoot操作excel示例 1.添加pom引用 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.17</version> </dependency> <depen ...
分类:编程语言   时间:2020-04-02 19:32:24    阅读次数:190
org.apache.tomcat.JarScanner.scan(Ljavax/servlet/ServletContext;Ljava/lang/ClassLoader;Lorg/apache/tomcat/JarScannerCallback;Ljava/util/Set;)V
springboot 整合jsp 项目,由于springboot自带有tomcat,然后自己引入的版本和其自带的不一致导致出现此问题 解决办法如下: 只需要在Dependencies下找到自己引入的tomcat,比如我自己引入的是7.0.59,展开后下面9.0.33是springboot自带的,将版 ...
分类:编程语言   时间:2020-04-02 16:18:52    阅读次数:93
springboot 新工程报错 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
错误日志 ... ... Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-04-02 12:52:47.306 ...
分类:编程语言   时间:2020-04-02 13:06:03    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!