我正在执行以下操作并获得奖励:
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();
}
}
最佳答案
Orika取决于Javassist,Paranamer和SLF4J,
请查看这个Spring-Orika集成示例
http://orika.googlecode.com/svn/branches/examples
关于java - Orika-java.lang.NoClassDefFoundError:javassist/CannotCompileException,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8257271/