报表JAVA增强插件加载失败

在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]插件加载失败

是什么原因导致错误?要怎么解决呢?


评论区

超级管理员 2026-01-15 09:43

首字母小写

飘过的雨 2026-01-15 10:11

@Component("inventoryStatsReportEnhance"),首字母已经是小写。

回复

扫码关注

添加客服
图片未加载,请刷新后再试
联系我们