Skip to content

scan typeHandlersPackage cause many WARN messages #1500

@YannLex

Description

@YannLex

I'm running a spring-boot project which depends on a basic framework jar, but it print many warns like below:

2019-03-21 11:40:24.636 DEBUG 92221 --- [  restartedMain] org.apache.ibatis.io.ResolverUtil        : Checking to see if class com.bee.kuna.kuna-server-db.0 matches criteria [is assignable to TypeHandler]
2019-03-21 11:40:24.637  WARN 92221 --- [  restartedMain] org.apache.ibatis.io.ResolverUtil        : Could not examine class 'com/bee/kuna/kuna-server-db/0.1.1-RELEASE/kuna-server-db-0.1.1-RELEASE.jar!/com/bee/kuna/server/database/DatabaseUrlRewriter.class' due to a java.lang.ClassNotFoundException with message: com.bee.kuna.kuna-server-db.0

We are using mybatis-spring-boot-starter:1.3.0
image,
and configure typeHandlersPackage equals com.bee.
How can I avoid the warning messages?
Can I set typeHandlersPackage like com.bee.*.typehandler?

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