root@03972ec91840:~/usr/selogger# mvn package -Dmaven.test.skip=true
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building selogger 0.2.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ selogger ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /root/usr/selogger/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ selogger ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 46 source files to /root/usr/selogger/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /root/usr/selogger/src/selogger/weaver/method/MethodTransformer.java:[141,45] cannot find symbol
symbol: method toUnsignedInt(byte)
location: class java.lang.Byte
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.687s
[INFO] Finished at: Thu Jan 28 03:08:31 UTC 2021
[INFO] Final Memory: 12M/188M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project selogger: Compilation failure
[ERROR] /root/usr/selogger/src/selogger/weaver/method/MethodTransformer.java:[141,45] cannot find symbol
[ERROR] symbol: method toUnsignedInt(byte)
[ERROR] location: class java.lang.Byte
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Problem
selogger version : https://github.com/takashi-ishio/selogger/commit/53ecf87da3f893b2f567046ac6d8d193961ec32b Following
How to Build for JDK7
inREADME.md
instruction, build is a failure. Note : In JDK8, the build is successful.log