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

XML提示问题 #60

Open
Piean opened this issue May 6, 2020 · 6 comments
Open

XML提示问题 #60

Piean opened this issue May 6, 2020 · 6 comments

Comments

@Piean
Copy link

Piean commented May 6, 2020

编写XML的ResultMap时,对象的父类属性无法提示,而且报错
image

@mustfun
Copy link
Owner

mustfun commented May 9, 2020

请问父类中是否使用的lombok,普通setter,getter方法不会报错,我在下一版本中兼容lombok,感谢反馈

@Piean
Copy link
Author

Piean commented May 9, 2020

@mustfun 你好,继承的父类没有使用lombok,我的项目中,父类是BasePojo,是通过Maven依赖进来的,如果父类是本身写在项目中的类,即使使用lombok也不会报错

@mustfun
Copy link
Owner

mustfun commented May 9, 2020

@Piean 我这边测试了一下,是没有这个问题的,您看下目录结构跟您有哪些不同,还有是否使用的最新版
微信截图_20200509195116

@Piean
Copy link
Author

Piean commented May 11, 2020

@mustfun 我使用的版本是1.1.7,像您这样父类和子类在同一个工程不同Module是没有问题的。您试试将BasePo打在一个jar包里,另一个工程用maven依赖这个jar包测试一下(相当于XML文件所在的工程本身并没有BasePo.java文件)

@mustfun
Copy link
Owner

mustfun commented May 11, 2020

目前v1.1.8版本已解决该问题,已提交jetbrains仓库,预计1-2天审核,下载可点这里,感谢您的反馈~

@Piean
Copy link
Author

Piean commented May 11, 2020

@mustfun 很棒👍

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

2 participants