springboot项目踩坑记录 做一个分类功能时报错:java.lang.IllegalArgumentException: argument type mismatch原因是mybatis_plus的主键策略@TableId(value = "id", type = IdType.ID_WORKER)没有写对
springboot使用带中文的json参数请求时,无法查出数据库中数据 原因是springboot配置文件(application.properties/application.yml)中的数据库配置没有加上指定编码由spring.datasource.url=jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8
springboot配置文件不生效 springboot配置文件不生效(没有绿叶标志),原因是多模块项目中,父工程打包方式为pom,二级子模块也是pom,但是三级子模块也就是业务模块必须是jar或者war包形式,我错把业务模块打包方式设置成了pom形式
mybatis_plus自动填充为null值 springboot使用mybatis_plus自动填充时出现数据库填充为null值(无法自动填充)的现象,排查以后,发现创建的实体映射类dao层包都在springboot启动类包的外层,将其所有类包移动到启动类同级包下完美解决。
springboot整合mybatisPlus报错 springboot整合mybatisPlus在测试的时候,出现CONDITIONS EVALUATION REPORT --------org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
后台数据读取问题 前端获取数据时,报错:Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds
vue前端编写错误Uncaught (in promise) Error: Redirected when going from "/login" to "/home" 挂载路由导航,登录时报重定向错误,根据网上方法,升级了vue-router,问题解决将=>vue router 升级到 3.3.1 版本npm install vue-router@3.3.1参考地址:http://blog.sqber.com/articles/vue-router-redi
springboot+vue项目报错org.springframework.beans.factory.UnsatisfiedDependencyException 在写好了service层dao层代码运行的时候,出现依赖注入失败的问题,debug发现,其中的resultMap注入失败,果断去看配置代码,一个一个对,发现select语句中映射关系没对上,把resultMap手欠打成了resultTyF%253%5DZ)X2$P%7DM(P-fdf6dddfbcf
vue踩坑 使用路由的时候出现:Failed to compile with 1 error下午1:46:27This dependency was not found:core-js/core/array in ./src/router/index.jsTo install it, you can run:
vue-cli3踩坑 vue编译错误原因是导入组件的文件