-
Notifications
You must be signed in to change notification settings - Fork 107
jar包加密后启动失败 #14
Description
[root@redis jar]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"
[root@redis jar]# java -javaagent:i3plus-ext-yy-1.0-SNAPSHOT-encrypted.jar='-pwd 123!' -jar i3plus-ext-yy-1.0-SNAPSHOT-encrypted.jar
=========================================================
= =
= Java Class Encryption Tool v1.2.1 by Mr.K =
= =
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
at net.roseboy.classfinal.util.StrUtils.toChars(StrUtils.java:108)
at net.roseboy.classfinal.CoreAgent.premain(CoreAgent.java:99)
... 6 more
FATAL ERROR in native method: processing of -javaagent failed
Aborted (core dumped)