Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导入问题,method为null #35

Open
charlieDJ opened this issue Feb 26, 2019 · 2 comments
Open

导入问题,method为null #35

charlieDJ opened this issue Feb 26, 2019 · 2 comments

Comments

@charlieDJ
Copy link

前提:项目引用lombok,在导入的实体类上面添加@getter@Setter注解。
导入Excel时复制属性,不能获取method对象,抛出NullPointException。

@PengTan-Capillarytech
Copy link

请问您解决了吗 我即使手写get set也不行 抛出Caused by: com.github.crab2died.exceptions.Excel4JException: java.beans.IntrospectionException: Can not get the getter or setter method
at com.github.crab2died.utils.Utils.copyProperty(Utils.java:327)
at com.github.crab2died.ExcelUtils.readCSVByMapHandler(ExcelUtils.java:1574)
at com.github.crab2died.ExcelUtils.readCSV2Objects(ExcelUtils.java:1515)
... 2 more
Caused by: java.beans.IntrospectionException: Can not get the getter or setter method
at com.github.crab2died.utils.Utils.getterOrSetter(Utils.java:248)
at com.github.crab2died.utils.Utils.copyProperty(Utils.java:319)
... 4 more

@liangxp
Copy link

liangxp commented Mar 17, 2020

我也不行,我去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants