MyBatis version

3.5.4

Database vendor and version

MySQL v8.0.20

JDK version and OS

v9.0.1 & MacOS

Test case or example project

https://github.com/akamonk/mybatis-demo

Steps to reproduce

Use JDK9 as the running environment to build a named module. the module-info.java like as follows:

java open module mybatis.demo { requires org.mybatis; requires java.sql; } When configuring, use `package` as a sub-tag of `typeAliases` tag.xml
`` then, build theSqlSessionFactory. When parsing thetypeAliaseselement, anInvalidPathException` was thrown.

My attempt:

When I removed module-info.java from the module, I got the expected result.

Expected result

Successfully constructed SqlSessionFactory

Actual result

InvalidPathException thrown

Comment From: harawata

Thank you so much for the report and the repro, @akamonk ! I could easily reproduce the exception and plan to fix it as soon as possible.

Comment From: harawata

@akamonk ,

It should be fixed in the latest 3.5.6-SNAPSHOT. Please let me know if you experience any further issue. Thank you again for your contribution!

Comment From: TakeshiYonezawa

Hi harawata. When will latest 3.5.6 be released?

Comment From: harawata

@TakeshiYonezawa , 3.5.6 has just been released. 🎊