11 2020 档案

摘要:Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway at this time. Please remove spring-boot-starter-web dependency. 产生问题原因: 阅读全文
posted @ 2020-11-24 15:19 趙小傑 阅读(5260) 评论(0) 推荐(0) 编辑
摘要:Spring Boot 警告:An illegal reflective access operation has occurred Spring Boot项目升级到JDK 11,运行时发现警告如下: WARNING: An illegal reflective access operation h 阅读全文
posted @ 2020-11-24 15:16 趙小傑 阅读(6871) 评论(0) 推荐(0) 编辑
摘要:IDEA社区版2020相关内容——持续更新 插件: 创建Springboot项目插件——Spring Assistant 自动生成get/set——Lombok插件 自动化部署插件——Alibaba Cloud Toolkit Mybatis自动定位XML文件——Free MyBatis plugi 阅读全文
posted @ 2020-11-19 11:48 趙小傑 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Spring Boot启动第一次访问慢Creation of SecureRandom Instance is Slow in Spring Boot Linux服务器上启动了一个Spring Boot项目后,第一次请求用了很长的时间,查看日志后发现一个关键内容:Creation of Secure 阅读全文
posted @ 2020-11-19 11:37 趙小傑 阅读(650) 评论(0) 推荐(0) 编辑
摘要:快速接入微信小程序的订阅消息 官方文档:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/subscribe-message.html 2020年11月17日15:59:14 以下内容如有变更,请以官方文档 阅读全文
posted @ 2020-11-17 17:59 趙小傑 阅读(680) 评论(0) 推荐(1) 编辑
摘要:浏览器如何不装插件打开Axure导出的html文件 Axure导出的html文件打开是需要装插件的,一般使用chrome的用户居多 谷歌商店默认国内是访问不了的。 ############# Axure8 ############# 如何解决?使用记事本或者其他代码编辑器打开index.html,找 阅读全文
posted @ 2020-11-02 16:57 趙小傑 阅读(2691) 评论(3) 推荐(1) 编辑
摘要:js页面关闭提示确定离开此页面吗? //绑定beforeunload事件 需要页面有操作 $(window).bind('beforeunload', function () { return '您输入的内容尚未保存,确定离开此页面吗?'; }); //解除绑定,一般放在提交触发事件中 //$(wi 阅读全文
posted @ 2020-11-02 16:50 趙小傑 阅读(365) 评论(0) 推荐(0) 编辑
摘要:FullCalendar日历插件常用属性文档 参考文献: 官方文档:http://arshaw.com/fullcalendar/docs/ FullCalendar 官方文档翻:http://www.cnblogs.com/mycoding/archive/2011/05/20/2052152.h 阅读全文
posted @ 2020-11-02 16:47 趙小傑 阅读(5344) 评论(0) 推荐(0) 编辑
摘要:SpringBoot JPA返回json格式数据时间格式设置 方式一 注解形式 @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; 方式二 配置文件 spring.jack 阅读全文
posted @ 2020-11-02 16:41 趙小傑 阅读(847) 评论(0) 推荐(0) 编辑
摘要:Linux Shell脚本启动jar、关闭jar 启动脚本 #!/bin/sh cd /usr/local/javaWeb # 将app.jar 修改为自己的jar包名 nohup java -jar app.jar & exit 0 关闭脚本 #!/bin/sh # 将app.jar修改为自己的j 阅读全文
posted @ 2020-11-02 16:37 趙小傑 阅读(1448) 评论(0) 推荐(0) 编辑
摘要:SpringBoot基于切面来拦截@PathVariable参数及抛出异常全局处理方法 微信小程序的接口验证防止非法请求,登录的时候获取openId生成一个七天有效期token存入redis中。 后续每次请求都需要把token作为参数传给后台接口进行验证,为了方便使用@PathVariable 直接 阅读全文
posted @ 2020-11-02 16:32 趙小傑 阅读(1747) 评论(0) 推荐(0) 编辑