We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.5.4
MySQL v8.0.20
v9.0.1 & MacOS
https://github.com/akamonk/mybatis-demo
Use JDK9 as the running environment to build a named module. the module-info.java like as follows:
named module
module-info.java
open module mybatis.demo { requires org.mybatis; requires java.sql; }
When configuring, use package as a sub-tag of typeAliases tag.
package
typeAliases
<typeAliases> <package name="com.xxx.xxx.entity" /> </typeAliases>
then, build the SqlSessionFactory. When parsing the typeAliases element, an InvalidPathException was thrown.
SqlSessionFactory
InvalidPathException
When I removed module-info.java from the module, I got the expected result.
Successfully constructed SqlSessionFactory
InvalidPathException thrown
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
Catch InvalidPathException thrown under JPMS
77bfa56
- mybatis#1974 - https://stackoverflow.com/questions/62756712
@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!
Hi harawata. When will latest 3.5.6 be released?
@TakeshiYonezawa , 3.5.6 has just been released. 🎊
harawata
Successfully merging a pull request may close this issue.
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
. themodule-info.java
like as follows:When configuring, use
package
as a sub-tag oftypeAliases
tag.then, build the
SqlSessionFactory
. When parsing thetypeAliases
element, 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
thrownThe text was updated successfully, but these errors were encountered: