执行maven install的时候出现下面的错误:
找到代码中报错的地方:
原来是我们在创建PropertyDescriptor 的时候出现的错误,这个地方是为了获取实体类的get方法,来读取对象中的值,我们找到这个类的构造方法
之前也遇到过 com.sun 这一类的jar无法加载,比如之前的Base64 也是在com.sun 下面,每次从启动的时候也是无法加载
如何解决:引入该类:
import org.springframework.beans.BeanUtils;
希望对你有所帮助
执行maven install的时候出现下面的错误:
找到代码中报错的地方:
原来是我们在创建PropertyDescriptor 的时候出现的错误,这个地方是为了获取实体类的get方法,来读取对象中的值,我们找到这个类的构造方法
之前也遇到过 com.sun 这一类的jar无法加载,比如之前的Base64 也是在com.sun 下面,每次从启动的时候也是无法加载
如何解决:引入该类:
import org.springframework.beans.BeanUtils;
希望对你有所帮助
上一篇:Opencv 基础 MatOfByte创建和byte数组
下一篇:mysql 如何修改wait_timeout,interactive_timeout ,和 session ,global 有什么关系
在Java中,为了组织代码的方便,可以将功能相似的类放到一个文件夹内,这个文件夹,就叫做包。包不但可以包含类,还可以包含接口和其他的包。目录以""来表示层级关系,例如 E:JavaworkspaceDemobinp1p2Test.java。包以"."来表示层级关系,例如 p1.p2.Test 表示的目录为 p1p2Test.class。 如何实现包通过 package 关键字可以声明一
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M