Skip to content

scan typeHandlersPackage cause many WARN messages #1500

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

Closed
YannLex opened this issue Mar 21, 2019 · 3 comments
Closed

scan typeHandlersPackage cause many WARN messages #1500

YannLex opened this issue Mar 21, 2019 · 3 comments

Comments

@YannLex
Copy link

YannLex commented Mar 21, 2019

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?

@kazuki43zoo
Copy link
Member

@wamaco Could you provide a small repro project via GitHub? I cannot reproduce this. Thanks.

@kazuki43zoo
Copy link
Member

@wamaco I've reproduced this.

@kazuki43zoo
Copy link
Member

@wamaco

Thanks your for your report! This issue is bug of mybatis-spring-boot. (= not bug in this project)
I've created a new issue at mybatis-spring-boot.

See mybatis/spring-boot-starter#301.

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