I checked that the local commons-configurations built with the maven property maven.compiler.release=8 does not throw the exception.
2023년 6월 30일 (금) 오전 7:31, Mingwan Kim <tolsk...@gmail.com>님이 작성: > I just checked that the example does not throw NoSuchMethodException on > JDK11. > As suggested, commons-configuration needs the explicit cast to call > ByteBuffer.flip(). The release option during the build ( > https://openjdk.org/jeps/247) may help to resolve this issue, if this > option is not enabled. > > 2023년 6월 30일 (금) 오전 7:08, Tres Finocchiaro <tres.finocchi...@gmail.com>님이 > 작성: > >> Personally, I use an explicit cast, which works on both JDK8 and JDK11: >> >> >> https://github.com/qzind/tray/commit/263d7982b7f8d5967385d8c87dcf4cf49ef78540 >> >