码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
springboot 配置和使用例子: redis,MySql数据库,RabbitMQ消息队列
配置 创建项目的时候选择 application.yml内容如下 ...
分类:数据库   时间:2019-08-27 17:18:06    阅读次数:183
开发中遇到问题
1.跨域问题springboot 配置类加上/** * 跨域支持 * @param registry */ @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allow ...
分类:其他好文   时间:2019-08-27 13:04:47    阅读次数:91
SpringMVC+SpringBoot+MyBatis
一、在框架中有时候会发现dao层和service层是相同的代码,为什么会同时存在呢?(以下https://blog.csdn.net/fanjieshanghai/article/details/88219652侵删) 1、service是业务层,dao是数据访问层。 记得以前刚学编程的时候,都是在 ...
分类:编程语言   时间:2019-08-27 12:34:51    阅读次数:106
跨域问题
跨域问题springboot 配置类加上 前端跨域,保证sessionId一致。 ...
分类:其他好文   时间:2019-08-27 12:32:19    阅读次数:80
springboot启动报错:"Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled."
springboot启动报错:"Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled." 报错内容 java.lang.Obje ...
分类:移动开发   时间:2019-08-27 11:06:47    阅读次数:345
springboot 工程启动报错之Consider defining a bean of type ‘XXX’ in your configuration.
springboot 工程启动报错之Consider defining a bean of type ‘XXX’ in your configuration. 一、前言: 使用springboot自动注入的方式搭建好了工程,结果启动的时候报错了!!!,错误如下图: 二、解决方式: 1.检查自己写的注 ...
分类:编程语言   时间:2019-08-27 10:52:13    阅读次数:107
SpringBoot整合MyBatis-Plus3.1详细教程
作者:Sans_ juejin.im/post/5cfa6e465188254ee433bc69 一.说明 Mybatis-Plus是一个Mybatis框架的增强插件,根据官方描述,MP只做增强不做改变,引入它不会对现有工程产生影响,如丝般顺滑.并且只需简单配置,即可快速进行 CRUD 操作,从而节 ...
分类:编程语言   时间:2019-08-27 10:47:24    阅读次数:141
SpringBoot nohup启动
#!/bin/sh nohup java -jar /data/wwwroot/xxx.jar > /data/wwwlogs/xxx.log 2>&1 ...
分类:编程语言   时间:2019-08-27 10:39:17    阅读次数:209
构建Springboot项目的3种方式
一、自己创建: 1.创建maven项目 2.pom.xml添加如下内容: 3.创建springboot项目启动类: 二、Web下载基础项目包 1.进入spring官网下载springboot项目包:http://https://start.spring.io/ 2.选择需要的配置后下载: 3.下载后 ...
分类:编程语言   时间:2019-08-27 01:12:16    阅读次数:97
spring.factories配置文件的工厂模式
在springboot的各个依赖包下,我们经常看到META-INF/spring.factories这个文件。spring.factories文件的内容基本上都是这样的格式: 我们看到,这个文件配置了一个key:value格式的数据 1)key是:org.springframework.contex ...
分类:编程语言   时间:2019-08-27 01:05:30    阅读次数:400
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!