- 博客(25)
- 收藏
- 关注
转载 mysql: [ERROR] unknown variable ‘sql-mode=STRICT_ALL_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,
mysql: [ERROR] unknown variable ‘sql-mode=STRICT_ALL_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,
2022-10-10 16:36:48
628
原创 mybatis异常invalid comparison: java.util.Date and java.lang.String
xml文件条件中用空字符串和时间类型参数对比判断,如果拿传入的时间类型参数与空字符串’'进行对比判断则会引发异常. 所以在上面的代码中去该该判断, 只保留非空判断就正常了
2022-02-12 00:20:13
370
原创 element-ui时间控件报错:TypeError: date.getHours is not a function、“TypeError: date.getFullYear is not a fu
原因:后台与前台接受的数据格式不一致根据后台实际数据格式设置前台数据格式value-format=“yyy-MM-dd”
2022-02-11 23:56:38
1391
原创 nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘XXX‘ not found报错
解决方案:在Mapper层多值传参使用@Param,导包导错了
2022-02-10 21:30:48
428
原创 nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression
解决方案:在xml文件的中使用了AND,故报错,需要使用小写and
2022-02-10 21:26:25
2319
原创 Failed to load resource: the server responded with a status of 404
项目场景:Failed to load resource: the server responded with a status of 404在写swagger 前端报错 解决方案:1.路径填写错误apis(RequestHandlerSelectors.basePackage(“controller.SayController”));2.启动类没有在外面
2022-01-17 23:42:24
1212
原创 解决运行vue项目的报错This relative module was not found:
项目场景:解决运行vue项目的报错This relative module was not found:解决方案:用桌面云开发,同事在vue中的**.js文件中新增了路径,但是没有提交具体的代码,提交即可
2022-01-13 23:03:00
408
原创 增加mysql缓存区语句,如果导入不进去sql,可能时缓存区太小了,数据量太大
增加mysql缓存区语句:SET GLOBAL max_allowed_packet=100000000;SET GLOBAL net_buffer_length=100000;SET GLOBAL interactive_timeout=2800000;SET GLOBAL wait_timeout=2800000;
2021-12-02 16:19:46
791
原创 Process finished with exit code 0项目启动类启动即结束
项目场景:Process finished with exit code 0hystrix-dashboard问题描述:项目启动类启动即结束Process finished with exit code 0 原因分析:依赖配置注解是否正确解决方案:没有加hystrix-dashboard依赖<dependency> <groupId>org.springframework.cloud</groupId>
2021-11-29 19:22:37
414
原创 java.lang.IllegalStateException: No instances found of configserver (config-server) at org.springf
项目场景:spring-ntefilx问题描述:java.lang.IllegalStateException: No instances found of configserver (config-server) at org.springframework.cloud.config.client.ConfigServerInsta nceProvider } 原因分析:OrderApp已经启动了一个服务实例,现在又重复启动一个实例,故提示找不到服务实例解决方
2021-11-29 17:53:34
1982
原创 Web server failed to start. Port 2001 was already in use.
项目场景:spring-netflix-eureka问题描述:建立多个注册表服务,出现端口占用,多次修改出现三次报错信息一直出现的报错Description:Web server failed to start. Port 2001 was already in use.报错信息一:java.lang.RuntimeException: Cannot bootstrap eureka server :at org.springframework.cloud.netflix.eurek
2021-11-29 17:44:03
597
原创 BUG集-汇总
BUG集合:一、异常:com.alibaba.nacos.api.exception.NacosException:项目场景:nacos问题描述:提示:nacos页面不显示,具体报错如下:com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers([localhost:8848]) tried: java.net.ConnectExcept
2021-10-27 21:52:36
599
原创 BUG集-java-mybatis-org.apache.ibatis.exceptions.PersistenceException
项目场景:提示:这里简述项目相关背景:mybatis查询数据问题描述:提示:这里描述项目中遇到的问题:org.apache.ibatis.exceptions.PersistenceException:Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table ‘jt.demouser’ doesn’t existThe error may exist in mybatis/mappers/DemoUser
2021-10-17 15:56:22
264
原创 BUG集-项目1-Java-项目页面不显示左侧1级菜单
项目场景:写项目前后端交互,显示左侧1~2级菜单问题描述:页面不显示左侧1级菜单<resultMap id="RightsRM" type="Rights" > <id property="id" column="id"></id> <collection property="children" ofType="Rights"> <id property="id" column="c_id"
2021-10-10 21:52:49
197
原创 BUG集-Java-项目1-org.apache.ibatis.binding.BindingException
BUG集-Java报错信息:Servlet.service() for servlet [dispatcherServlet] in context with path [] threwexception [Request processing failed; nested exception isorg.apache.ibatis.binding.BindingException: Invalid bound statement (not found):com.jt.mapper.RightsM
2021-10-10 21:21:25
124
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅