[Solved] defineClass Error: java.lang.NoClassDefFoundError: Illegal:

The defineclass() method actually converts byte bytes into class objects

I always thought that the problem in the above picture was that the path could not be found, so I kept changing various paths. As a result, it was wrong to try. As a result, I looked at a blog and directly passed the empty parameters. I took a try attitude. I found that it was right and did not report an error. Suddenly, I found that alas, how can it be empty, Click the converted class to see the data, and then assign the value to the parameter according to that

Just change the ASM/asmhelloworld parameter to asm.asmhelloworld.

Done!

Read More: