我正在做以下事情并获得奖励:
Exception in thread "main" java.lang.NoClassDefFoundError:
javassist/CannotCompileException
有谁知道为什么?
package javaapplication1;
import ma.glasnost.orika.MapperFactory;
import ma.glasnost.orika.impl.DefaultMapperFactory;
public class JavaApplication1 {
public static void main(String[] args) {
MapperFactory factory = new DefaultMapperFactory();
}
}
答案 0 :(得分:0)
Orika依赖于Javassist,Paranamer和SLF4J,
请查看Spring-Orika集成的这个例子