Unable to load generated
1017727621 opened this issue · 0 comments
1017727621 commented
`
Unable to load generated mapper class com.xxx.xxx.bookingclass.javabeanMapper.CourseRuleJavaBeanMapperSelmaGeneratedClass failed : com.xxx.xxx.bookingclass.javabeanMapper.CourseRuleJavaBeanMapperSelmaGeneratedClass
private CourseRuleJavaBeanMapper toJavaBean() {
return Selma.builder(CourseRuleJavaBeanMapper.class).build();
}
if (courseRule == null) {
courseRule = new CourseRule();
courseRule= toJavaBean().asCourseRule(courseRuleVO);
courseRule.setCreateTime(new Date());
courseRuleMapper.insert(courseRule);
}
@service
@Mapper(withCyclicMapping=true,
withIgnoreMissing = IgnoreMissing.DESTINATION,
withIoC=IoC.CDI_SINGLETON
)
public interface CourseRuleJavaBeanMapper {
public CourseRule asCourseRule(CourseRuleVO courseRuleVO);
public CourseRuleVO asCourseRuleVO(CourseRule courseRule);
}
`