
开发问题Bug
文章平均质量分 92
小米先森丶
这个作者很懒,什么都没留下…
展开
-
整合activiti启动报错java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
今天整合项目的时候项目报错:java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy再看看完整异常信息:org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘requestMappingHandlerMapping’ defined in class path reso原创 2020-08-31 14:45:00 · 611 阅读 · 1 评论 -
记录-同一个tomcat下部署多个springboot打的war包出现tomcat启动报错 javax.management.InstanceAlreadyExistsException:
错误信息:Caused by: javax.management.InstanceAlreadyExistsException:com.alibaba.druid.filter.stat:name=statFilter,type=StatFilter这个问题产生的原因是因为一个tomcat部署了多个,然后springboot中:spring.jmx.default-domain 是默认打开的,两个war包MBean注册冲突,解决方式有两种:一:在application文件中配置spring:原创 2020-08-27 14:34:16 · 691 阅读 · 0 评论 -
Springboot开发问题之Caused by: java.nio.charset.MalformedInputException: Input length = 2
这个问题出现得有点莫名其妙,本来运行得好好的然后,不知道为啥突然就启动报错错误信息:Caused by: java.nio.charset.MalformedInputException: Input length = 2java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application.yml’网上搜索了一下这个问题产生的原因是因为编码问题,然后我把IDEA的原创 2020-08-20 15:42:11 · 1807 阅读 · 0 评论 -
Mybatis:异常There is no getter for property named ‘userId‘ in ‘class java.lang.Integer‘
完整异常信息:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'userId' in 'class java.lang.Integer'产生场景: List<UserRole> selectSalesmanRoleByUserI原创 2020-08-12 15:05:45 · 972 阅读 · 0 评论 -
flyway整合问题:java.lang.NoClassDefFoundError: org/flywaydb/core/api/configuration/FluentConfiguration
这个是我的原有依赖版本: <spring-boot.version>2.2.2.RELEASE</spring-boot.version> <flyway.version>5.0.3</flyway.version>yaml配置:spring: #flyway配置 flyway: baseline-on-migrate: true #数据库连接配置 url: ${spring.datasou原创 2020-08-11 13:47:04 · 2984 阅读 · 1 评论 -
MyBatis问题记录:Access denied for user ‘root‘@‘localhost‘ (using password: YES)
记录个简单问题加加流量:这个可以说是最简单的问题了,Access denied for user ‘root’@‘localhost’ (using password: YES)兄嘚这种问题就是你的数据就账号密码错了原创 2020-08-11 11:27:37 · 1554 阅读 · 1 评论 -
Spring boot 记录开发问题错误The field file exceeds its maximum permitted size of 1048576 bytes
这个问题主要产生的原因是:MultipartFile[]的默认最大容量为 110241024 字节,所以超过这个最大值是就会报错我的Spring boot 版本为: 2.1.1.RELEASE解决方案:yml配置spring: servlet: multipart: max-file-size: 5MB max-request-size: 5MBproperties配置spring.servlet.multipart.max-file-size = 5MB原创 2020-07-09 15:26:35 · 396 阅读 · 0 评论