记录真实开发问题、项目实践和两三句就能说明白的技术点
今天遇到个这样的问题,我的项目是前后端分离的,在前端是基于VUE-ADMIN脚手架做的,后端是一个标准的springboot工程,然后自己封装了一次http单独使用,并且在vue.config.js中配置了代理,但是一直请求不到后台服务器,…
MyBatis-Plus 枚举默认序列化输出变量名而非描述。本文用 @EnumValue 映射 code、@JsonValue 输出中文描述,并说明 fastjson 的 WriteEnumUsingToString 方案,让接口直接返回“未审核”等中文。
springboot 配置mybatis打印sql 方式 一: ######################################################## ###配置打印sql ####################…
Cause: java.sql.SQLException: Zero date value prohibited ; Zero date value prohibited; nested exception is java.sql.SQLE…
问题: springboot 集成 mybatis-plus 3.4.2 报错 org.apache.ibatis.binding.bindingexception: invalid bound statement (not found) …
一、基本介绍 简介 log4j是使用java语言编写的可靠的、快速的、灵活的日志框架,它是基于Apache的license。 log4j支持c,c++,c#,perl,python,ruby等语言。在运行时通过额外的配置文件配置,提供不同的…
今天建了一个表,里面有一个列是timestamp类型,我本意是在数据更新时,这个字段的时间能自动更新。岂知对这个类型的值还不甚了解,导致出错。发现这个字段只是在这行数据建立的时候有值,在更新的却无变化。 查找资料,发现是我建表的语句有问题:…
js中 大量 html代码赋值给 js变量 的方法 var tagBox = '<div class="tagEdit">\ <dl>\ <dt>为选中图片增加标签</dt>\ '+ tagPicList + '\ </dl>\ </div…
解决GitHub 打不开的终极办法 亲测好用 一、确定ip 进入网址 https://github.com.ipaddress.com 查看GitHub的ip地址。 140.82.112.3 github.com 二、确定域名ip 进入网址…
包引入 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </d…
我正在尝试设置Spring Boot JUnit5 pom.xml如下 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4…
问题:找不到Junit5,无法启动单体测试 解决方法: 添加依赖 spring-boot-starter-test默认使用junit4,需要手动添加junit5依赖。可通过两种方式来添加: <!-- Junit 5 --> <depende…
失败:nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.…
使用idea在DEBUG的时候出现Method breakpoints may dramatically slow down debugging, 如图: 根据语义可能是断点打在方法上面了,导致在某个断点卡住了。 重启服务器和重启idea已…
Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\Commu nity\D4Mobile\node_modules\node-sass\ve…