Priority: L3 - Default
Affects Version/s: 7.11.0
Fix Version/s: None
7.11.0 uses MyBatis v3.4.4
in JDK 9+ this generates Illigal Reflective access warnings in the Logs.
This was fixed in the 3.5.0 release - https://github.com/mybatis/mybatis-3/issues/1156
However when manually excluding 3.4.4 and using the latest 3.5.2
I not longer get the error at startup, but during use I get a slightly different error
this one is mentioned in the github issue https://github.com/mybatis/mybatis-3/issues/1586
and suggest you remove the parenthesis for the size() and other commands
I could reproduce the same error by writing someMapParam.keys.size(), someMapParam.keySet.size() or someMapParam.keySet().size() in an OGNL expression .
To avoid the warning, you just need to remove the parentheses after size (e.g. someMapParam.keys.size).