我正在使用 ASM 将代码注入方法:
@Override
public void visitCode() {
visitMethodInsn(Opcodes.INVOKESTATIC, "sssss/CopyOfsss", "foo", "()V");
super.visitCode();
}
Exception in thread "main" java.lang.NoClassDefFoundError: sssss/CopyOfsss
at java.util.regex.Pattern$Node.match(Pattern.java)
at java.util.regex.Pattern$CharProperty.match(Pattern.java:3345)
at java.util.regex.Pattern$Curly.match0(Pattern.java:3760)
at java.util.regex.Pattern$Curly.match(Pattern.java:3744)
at java.util.regex.Matcher.match(Matcher.java:1127)
at java.util.regex.Matcher.matches(Matcher.java:502)
at sssss.CopyOfsss.main(CopyOfsss.java:26)
请帮忙~