
头疼报错的日常
挽风821
这个作者很懒,什么都没留下…
展开
-
Please refer to D:\A-code第五版\PetSystem\target\surefire-reports for the individual test results.Plea
Please refer to D:\A-code第五版\PetSystem\target\surefire-reports for the individual test results.应该是application.yml有问题,没有修改数据库账号密码。直接下载pom依赖会有整个问题。我这里的问题是:数据库密码不对。把这里面的配置都改成本机的。运行github仓库代码。在重新install。原创 2025-04-22 11:45:40 · 137 阅读 · 0 评论 -
java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String
java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String原创 2023-09-10 17:07:58 · 101 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Parameter ‘xxx‘ not found. Available parameters are {x,}
org.apache.ibatis.binding.BindingException: Parameter ‘xxx‘ not found. Available parameters are {x,}原创 2023-09-08 10:48:07 · 254 阅读 · 0 评论 -
ErrCode:SDK.ServerUnreachableErrMsg:Server unreachable: java.net.UnknownHostException: dysmsapi.ali
ErrCode:SDK.ServerUnreachableErrMsg:Server unreachable: java.net.UnknownHostException: dysmsapi.ali原创 2023-08-07 21:06:01 · 1179 阅读 · 0 评论 -
没有配置redis但是报错连接redis失败
检查maven配置是否引入了redis依赖(可能是传递依赖,最好检查引进来的公共工程只需要在该工程application.yml文件中配置一下 redis就好,或者移除redis依赖原创 2023-08-05 17:25:24 · 890 阅读 · 0 评论 -
Caused by: java.lang.IllegalStateException: Failed to introspect Class [springfox.documentation.swag
注意:我这里service-gateway并没有使用swagger,而是使用工具类工程导入时带入如果想看gateway整合swagger,可跳过文章gateway和以下的包都冲突:所以如果导入了web的jar包,需要注释掉gateway使用的是webflux,和web会造成冲突。原创 2023-07-29 12:57:19 · 2308 阅读 · 0 评论 -
微服务项目,maven无法加载其他服务依赖
这里的Maven的版本与idea版本不匹配可能是导致依赖加载失败的最重要原因。检查maven配置,我这是原来的maven,home。修改之后,就不报错了。原创 2023-07-29 12:34:15 · 872 阅读 · 0 评论 -
Unable to infer base url. This is common when using dynamic servlet registration or when the API is
swagger报错原创 2023-07-28 18:55:40 · 1340 阅读 · 0 评论 -
java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
参考文章:3个参数代表的的意思这篇文章有讲解。原创 2023-07-26 23:33:54 · 298 阅读 · 0 评论 -
跨域403错误,后端加了注解@CrossOrigin仍报跨域
前端和后端接口,访问路径或则请求方法不一致1.检查method属性,和controller请求方法进行对比2.检查url路径是否拼错踩大坑了,找了半天原创 2023-07-22 22:50:28 · 442 阅读 · 2 评论 -
Source must not be null
使用BeanUtils复制属性的时候,第一个参数不能为null。加上一个if判断是否为空就可以了。原创 2023-07-15 18:33:04 · 561 阅读 · 0 评论 -
MultipleFile为null
后端上传文件swagger测试通过但是前端传过来时为null后端前端。原创 2023-07-01 17:45:28 · 669 阅读 · 0 评论 -
[ERROR] Failed to execute goal on project cloud-provider-payment8001: Could not resolve dependencies
把父工程先clean然后install,我这里父工程是cloud2023。在子模块clean install就可以了。原创 2023-06-27 23:46:08 · 251 阅读 · 0 评论 -
The server refused this request because the request entity is in a format not supported by 415错误
要使用需要结合ajax设置content-type:json。然后使用json进行传递参数。原创 2023-06-15 22:24:10 · 1131 阅读 · 0 评论 -
java.lang.IllegalStateException: Failed to load ApplicationContext
【代码】java.lang.IllegalStateException: Failed to load ApplicationContext。原创 2023-06-09 11:20:56 · 121 阅读 · 0 评论 -
spring-boot-maven-plugin爆红
在使用springboot时,会使用到插件。这个插件的作用是:项目打包时,把需要的各种依赖包都打到jar包中,jar包可以独立运行,使用“java -jar”可以直接运行。但这个插件很容易爆红。爆红的原因就是找不到这个插件。原创 2023-06-09 11:05:24 · 999 阅读 · 0 评论 -
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: o
这个报错是因为忘记注释第一个mapper标签,导致有两个。原创 2023-06-05 00:13:40 · 154 阅读 · 0 评论 -
Bean named ‘userServiceImpl‘ is expected to be of type ‘com.atguigu.demo.tx.UserServiceImpl‘ but was
使用context获取bean的时候传入实现类的类型,代理类只能向上转型为接口类型,不能转成同等级UserServiceImpl。原创 2023-05-25 16:39:24 · 494 阅读 · 0 评论 -
[ERROR] Some problems were encountered while processing the POMs:[ERROR] ‘dependencies.dependency.v
这个在子工程里面,maven中版本没有指定版本,但是写的是provided由于父工程没有相关依赖,就会报错。直接指定版本就不会报错了。原创 2023-05-13 19:43:37 · 2504 阅读 · 0 评论 -
idea的debug跳不到下一个断点
debug原创 2023-05-11 22:51:31 · 788 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.apache.jsp.index_jsp,javaweb项目导入jstl【已经解决】
【代码】java.lang.ClassNotFoundException: org.apache.jsp.index_jsp,javaweb项目导入jstl【未解决】转载 2023-04-19 11:57:07 · 620 阅读 · 0 评论 -
Springboot整合Swagger报错 ApplicationContextException: Failed to start bean ‘documentationPluginsB
降低springboot版本,我把springboot的版本改成2.2.1RELEASE,就可以正常启动了。原来用的 springboot的版本2.7.5 swagger 2.7.0。springboot版本太高了。原创 2023-04-14 15:28:07 · 131 阅读 · 0 评论 -
Exception in thread “main“ redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication
redis相关踩坑原创 2022-09-30 13:16:11 · 349 阅读 · 0 评论 -
org.springframework.context.support.AbstractApplicationContext refresh 警告: Exception encountered du
Spring事务管理报错原创 2022-07-14 19:29:59 · 636 阅读 · 0 评论 -
webapp中间没有小蓝点
idea创建maven工程,webapp不起作用解决方法原创 2022-07-14 19:19:54 · 328 阅读 · 0 评论