2

我正在做以下事情并获得奖励:

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();
    }
}
4

1 回答 1

0

Orika 依赖于 Javassist、Paranamer 和 SLF4J,

请查看这个 Spring-Orika 集成示例

http://orika.googlecode.com/svn/branches/examples

于 2011-11-28T14:43:47.490 回答