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

别名typeAliases仍然检查爆红,但不影响正常运行 #80

Open
daponi opened this issue Dec 3, 2022 · 0 comments
Open

别名typeAliases仍然检查爆红,但不影响正常运行 #80

daponi opened this issue Dec 3, 2022 · 0 comments

Comments

@daponi
Copy link

daponi commented Dec 3, 2022

在mybatis配置文件中设置别名

<typeAliases>
        <typeAlias type="com.cds.www.pojo.Custom" alias="KTCustom"/>
<typeAliases>

在映射文件Custommapper.xml中的resultType直接引用KTCustom会红色提示“Cannot resolve symbol 'KTCustom' ”,
但不妨碍程序正常运行,停用插件没有爆红显示,大概是语法检查有问题?

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

1 participant