后端
weixin_51299408
这个作者很懒,什么都没留下…
展开
-
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='userId', mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultM原创 2022-03-22 20:38:45 · 399 阅读 · 0 评论 -
org.springframework.jdbc.BadSqlGrammarException:
org.springframework.jdbc.BadSqlGrammarException:原创 2022-03-20 19:59:56 · 776 阅读 · 0 评论 -
java.lang.NullPointerException: null
java.lang.NullPointerException: null原创 2022-03-14 10:30:59 · 974 阅读 · 0 评论 -
Error creating bean with name ‘gsonBuilder‘ defined in class path resource [org/springframework/bo
出现原因:springboot版本原因解决方法:将springboot版本升到2.6.2原创 2022-01-05 15:15:11 · 2085 阅读 · 0 评论 -
Error starting ApplicationContext. To display the conditions report re-run your application with ‘de
spring boot整合swagger:spring boot 使用了2.6,swagger使用了2.9.2由于两则版本不兼容,导致该错误,把spring boot降到2.5.6即可出现原因:spring boot 与 swagger版本不兼容原创 2021-12-14 21:32:16 · 249 阅读 · 0 评论 -
--- maven-resources-plugin:3.2.0:resources (default-resources) @ ja ---[INFO] Using ‘UTF-8‘ encodi
解决方法:pom.xml添加<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version></plugin>具体位置原创 2021-12-11 18:19:57 · 891 阅读 · 2 评论 -
Exception during pool initialization.com.mysql.cj.jdbc.exceptions.CommunicationsException: Communic
连接云服务器出现错误原创 2021-12-11 13:07:15 · 1958 阅读 · 1 评论 -
Vue axios 请求封装思想与实战演练(Element UI)(请求参数传递)
封装思想,封装到极致1、axios初级封装2、baseURL映射配置3、封装一个post请求,用于添加学生信息4、element ui表单5、点击添加时间6、请求成功6、数据库查找信息...原创 2021-10-28 22:36:35 · 78 阅读 · 0 评论 -
Caused by: java.sql.SQLException: Data truncated for column ‘money‘ at row 1
Caused by: java.sql.SQLException: Data truncated for column 'money' at row 1报错Java代码数据库问题分析: 数据库要求money数据类型为Float类型,而sql语句传入的money类型为String类型解决方法:去掉money-333f的双引号...原创 2021-08-09 11:31:02 · 324 阅读 · 0 评论 -
Spring中的JdbcTemplate运行报错
package com.itheima.jdbctemplate;import org.springframework.jdbc.core.JdbcTemplate;import org.springframework.jdbc.datasource.DriverManagerDataSource;/** jdbc最基本的写法* */public class JdbcTemplateDemo1 { public static void main(String[] args) {...原创 2021-08-09 10:02:24 · 750 阅读 · 0 评论 -
IDEA连接MySql报错Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezone‘ prope
分析:mysql未设置时区解决方法:进入到mysql,输入以下命令,设置时区:set global time_zone = '+8:00';即可。原创 2021-10-10 12:47:23 · 70 阅读 · 0 评论 -
(IDEA) Error : java 不支持发行版本5
1、点击2、看看两个是不是和你的jdk版本相对应(两个都要相对应)3、这个两个也需要和你的jdk版本相对性原创 2021-10-26 11:19:18 · 49 阅读 · 0 评论