
Spring Boot
努力的冬瓜哥
努力的技术宅
展开
-
SpringBoot 中使用HikariPool 报错Possibly consider using a shorter maxLifetime value.
SpringBoot 使用HikariPool遇到:HikariPool-1 - Failed to validate connection com.mysql.jdbc.JDBC4Connection@4933c203 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.错误还是比较明显了 就是maxLifetime这个参数配置不合理HikariP原创 2020-05-12 21:19:38 · 49538 阅读 · 8 评论 -
SpringBoot和Vue前后分离解决axios跨域问题
SpringBoot和Vue前后分离解决axios跨域问题前端proxyTable: {‘/api’: { //将www.exaple.com印射为/apistarget: 'https://www.example.com, // 接口域名secure: true, // 如果是https接口,需要配置这个参数changeOrigin: true, //是否跨域pathR...原创 2020-02-13 18:34:06 · 794 阅读 · 0 评论 -
Springboot 启动报错 Disconnected from the target VM, address: '127.0.0.1:5406', transport: 'socket'
Springboot 启动报错 Disconnected from the target VM, address: ‘127.0.0.1:5406’, transport: ‘socket’报错如图,端口号每次启动在改变检查:1.你的Test类方法名称是不是大写2.Maven编译项目能否通过欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。...原创 2019-08-24 21:35:29 · 28966 阅读 · 0 评论