我正在尝试将一个包中的简单类转换为另一个模块和包中的另一个类。以下是错误:
com.googlecode.jmapper.exceptions.JMapperException: java.lang.RuntimeException: *: frozen class (cannot edit)
at com.googlecode.jmapper.config.JmapperLog.ERROR(JmapperLog.java:46) ~[jmapper-core-1.6.0.1.jar:?]
at com.googlecode.jmapper.JMapper.<init>(JMapper.java:445) ~[jmapper-core-1.6.0.1.jar:?]
at com.googlecode.jmapper.JMapper.<init>(JMapper.java:372) ~[jmapper-core-1.6.0.1.jar:?]
at com.googlecode.jmapper.JMapper.<init>(JMapper.java:359) ~[jmapper-core-1.6.0.1.jar:?]
...
Caused by: java.lang.RuntimeException: *: frozen class (cannot edit)
at javassist.ClassPool.checkNotFrozen(ClassPool.java:616) ~[wlthint3client-12.2.1.jar:12.2.1.0.0]
at javassist.ClassPool.makeClass(ClassPool.java:810) ~[wlthint3client-12.2.1.jar:12.2.1.0.0]
at javassist.ClassPool.makeClass(ClassPool.java:787) ~[wlthint3client-12.2.1.jar:12.2.1.0.0]
at com.googlecode.jmapper.generation.JavassistGenerator.generate(JavassistGenerator.java:51) ~[jmapper-core-1.6.0.1.jar:?]
at com.googlecode.jmapper.generation.MapperGenerator.generateMapperClass(MapperGenerator.java:76) ~[jmapper-core-1.6.0.1.jar:?]
at com.googlecode.jmapper.generation.MapperBuilder.generate(MapperBuilder.java:88) ~[jmapper-core-1.6.0.1.jar:?]
at com.googlecode.jmapper.JMapper.createMapper(JMapper.java:458) ~[jmapper-core-1.6.0.1.jar:?]
at com.googlecode.jmapper.JMapper.<init>(JMapper.java:440) ~[jmapper-core-1.6.0.1.jar:?]