码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
3种 Springboot 全局时间格式化方式,别再写重复代码了
本文收录在个人博客:www.chengxy-nds.top,技术资料共享,同进步时间格式化在项目中使用频率是非常高的,当我们的API接口返回结果,需要对其中某一个date字段属性进行特殊的格式化处理,通常会用到SimpleDateFormat工具处理。SimpleDateFormatdateFormat=newSimpleDateFormat("yyyy-MM-dd");DatestationTi
分类:编程语言   时间:2020-09-16 12:03:06    阅读次数:32
SpringBoot
1.第一个springboot applicat.properties: server.port=80 可以更改运行端口号 banner.text 在resource文件夹中加入banner.text网上搜springboot的运行图行,添加进去就可以改变运行出来的图形了。banner.text: ...
分类:编程语言   时间:2020-09-15 21:06:58    阅读次数:95
maven项目多环境打包问题
1.xxx-api是基于springboot的模块 2.配置文件 application.properties spring.profiles.active=@activeEnv@ application-dev.properties server.servlet.context-path=/api ...
分类:其他好文   时间:2020-09-14 19:22:29    阅读次数:67
SpringBoot JPA实现增删改查
pom.xml文件 可以拿走直接用 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependenc ...
分类:编程语言   时间:2020-09-14 19:20:49    阅读次数:50
Springboot整合mybatis:Invalid bound statement (not found)
Invalid bound statement (not found) ...
分类:编程语言   时间:2020-09-14 19:15:55    阅读次数:50
spring注解整理
springboot注解整理 常用注解: @SpringBootApplication:申明让spring boot自动给程序进行必要的配置,这个配置相当于: @Configuration,@EnableAutoConfiguration和 @ComponentScan三个配置。 @EnableAu ...
分类:编程语言   时间:2020-09-14 19:04:58    阅读次数:33
springboot Scheduled定时器执行 ,上次任务执行完成后再执行下一次
@Scheduled所支持的参数: 1.cron:cron表达式,指定任务在特定时间执行;2.fixedDelay:表示上一次任务执行完成后多久再次执行,参数类型为long,单位ms;3.fixedDelayString:与fixedDelay含义一样,只是参数类型变为String;4.fixedR ...
分类:编程语言   时间:2020-09-14 18:57:29    阅读次数:129
服务器下配置springboot项目开机自启
服务器下配置springboot项目开机自启 Linux版本 Centos7详细步骤如下: 第一种方式: 1在/etc/init.d/目录下创建shell启动脚本autojar.sh cd /etc/init.d/ touch autojar.sh vi autojar.sh 内容如下: #!/bi ...
分类:编程语言   时间:2020-09-14 18:54:42    阅读次数:36
Java架构师之SpringBoot Cloud微服务框架精通必学入门到高级
Java架构师之SpringBoot Cloud微服务框架精通必学入门到高级 ...
分类:编程语言   时间:2020-09-14 18:49:26    阅读次数:38
springboot mybatis层整合
1、导入Mybatis包 使用maven <!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter --> <dependency> <groupId>org.mybatis ...
分类:编程语言   时间:2020-09-12 21:45:32    阅读次数:44
共9666条   上一页 1 ... 58 59 60 61 62 ... 967 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!