在com.jeelowcode.module.biz.enhance下定义报表JAVA增强:
@Component("inventoryStatsReportEnhance")
public class InventoryStatsReportEnhance implements ReportAfterAdvicePlugin {
@Override
public void execute(EnhanceReportContext enhanceContext) {
List<Map<String, Object>> records = enhanceContext.getResult().getRecords();
if (Func.isEmpty(records)) {
return;
}
}
}
启动时报错:Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jeeLowCodeReportEnhance': Invocation of init method failed
Caused by: com.jeelowcode.tool.framework.exception.JeeLowCodeException: 增强[InventoryStatsReportEnhance]插件加载失败
是什么原因导致错误?要怎么解决呢?

首字母小写