I ve generated a class by taking the bytes of a base class and accepting them through a custom class adapter. When I call define class on the bytes produced as a product of the base class I get this error:
Caused by: java.lang.NoClassDefFoundError: com/example/MyClassBase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
... 24 more
Caused by: java.lang.ClassNotFoundException: com.example.MyClassBase
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more
基地班由一辆劳拉斯·洛拉德装出。 是否有一些基本方法可以用来界定那些由于无法确定装货类别而 throw倒例外的集束。 我如何确定这一点?
牢记,用不同方式装载基类是实事求是的。 作为问题的一个参数,我要说,它必须从另一个支柱部门装载。