文章
springboot的jar为何能独立运行
欢迎访问我的GitHubhttps://github.com/zq2599/blog\_demos(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fzq2599%2Fblog_demos)内容:所有原创文章分类汇总及配套源码,涉及Java、Doc
springboot热部署实战
每次代码改动后都需要重新手动Run项目,心累,在网上找了下,发现SpringBoot提供了热部署的方案,改动代码后自动编译打包,现在将热部署的配置方法记下来:第一步:在pom.xml中添加依赖,导入springbootdevtools<dependency<groupIdorg.springframework
springboot源码分析
!(https://gss1.bdstatic.com/vo3dSag_xI4khGkpoWK1HF6hhy/baike/w%3D268%3Bg%3D0/sign0c730b84bd19ebc4c078719fba1da8c1/37d12f2eb9389b503a80d4b38b35e5dde6116ed7.jpg)
springboot模糊查询
在学习MyBatis过程中想实现模糊查询,可惜失败了。后来上百度上查了一下,算是解决了。记录一下MyBatis实现模糊查询的几种方式。 数据库表名为test\_student,初始化了几条记录,如图: !数据库表内容(https://oscimg.oschina.net/oscnet/29429857a651e58b6de1593a923
springboot框架
SpringBoot框架,就是一个简单的web应用。SpringBoot,看名字就知道是Spring的引导,就是用于启动Spring的,使得Spring的学习和使用变得快速方便。不仅适合替换原有的工程结构,更适合微服务开发。SpringCloud基于SpringBoot,为微服务体系开发中的架构问题,提供了一整套的解决方案——服务注册与发现
springboot服务优雅关机脚本
阅读文本大概需要3分钟。自从使用springboot开发项目后,服务很多时候都是打成jar包,然后通过javajarxx.jar的方式来启动程序的。比如下面这个脚本就是启动payserver的脚本,加载prd配置文件,启动后在后台运行,将日志写在jar包目录下的pafa.log 里!/bin/bash eja
springboot日志
原则:代码中尽量使用slf4j门面尽量采用注解方式@Slf4j(https://my.oschina.net/slf4j)节省代码量!(https://oscimg.oschina.net/oscnet/6dcd4f649cd1391102144bae9c99709ca66.jpg)步骤:1.排除springboot默认日
springboot整合持久层技术(mysql驱动问题)
java.sql.SQLException:Theservertimezonevalue'�й���ʱ��'isunrecognizedorrepresentsmorethanonetimezone.YoumustconfigureeithertheserverorJDBCdriver(viathese
springboot整合websocket完整版教程(粘贴复制即用)
SpringBoot2.0整合WebSocket,实现后端数据实时推送!(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2Fhaha12%2Fp%2F11933310.html)
springboot整合websocket后打包报错:javax.websocket.server.ServerContainer not available
项目整合了websocket以后,打包多次都没有成功,原来是报错了,报错内容如下:!(https://oscimg.oschina.net/oscnet/ba566cdf24d96a01cee7d61101d670fdc24.jpg)!(https://oscimg.oschina.net/oscnet/90852f2335b6a541bf
已加载文章中没有匹配内容,试试其他关键词或清空搜索。