Skip to content

Mybatis mapper error #254

@HsCodeLab

Description

@HsCodeLab

xx.merged.module org.apache.ibatis.binding.BindingException: Type interface xx is not known to the MapperRegistry.

I have a JavaFX modular project that utilizes MyBatis for database communication. I used the badass plugin to generate a merged module, and in the module-info.java file, I've already declared the opening of the xx.mapper package. However, I'm encountering an error: org.apache.ibatis.binding.BindingException: Type interface xx is not known to the MapperRegistry. Previously, the project worked fine with Maven. Has anyone experienced similar issues with MyBatis in a modular Java project? Any insights or solutions would be appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions