Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jeccgboot3.7.2集成积木报表1.9.4,tomcat单机部署项目无法启动,报Calcite 异常 #3471

Open
hongxin2 opened this issue Feb 18, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@hongxin2
Copy link

版本号:

1.9.4

问题描述:

jeccgboot3.7.2集成完积木报表1.9.4,使用tomcat单机部署war包启动,报failed to create calcite connection错误,目前java环境用的是openjdk1.8

错误日志&截图:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'saasModeSecurityUtil': Unsatisfied dependency expressed through field 'jimuReportService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jimuReportServiceImpl': Unsatisfied dependency expressed through field 'dictService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jimuDictServiceImpl': Unsatisfied dependency expressed through field 'jmreportNoSqlService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jmreportNoSqlServiceImpl': Unsatisfied dependency expressed through field 'jmCalciteHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmCalciteHandler' defined in class path resource [org/jeecg/modules/jmreport/calcite/config/JmCalciteConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jeecg.modules.jmreport.calcite.JmCalciteHandler]: Factory method 'jmCalciteHandler' threw exception; nested exception is java.lang.RuntimeException: Failed to create Calcite connection

   at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:713)
重现步骤:

项目启动时就报错

友情提示(为了提高issue处理效率):

  • 积木报表是一款免费报表产品,功能免费源码不开放;
  • 未按格式要求发帖,会被直接删掉;
  • 请针对问题提供[报表设计配置或SQL脚本]或在官网制作报表示例并提供ID;
  • 针对不好重现的问题,请录制操作视频或详细的重现步骤;
@hongxin2 hongxin2 added the bug Something isn't working label Feb 18, 2025
@zhangdaiscott
Copy link
Member

有没有更多详细错误日志

@hongxin2
Copy link
Author

有没有更多详细错误日志

没有诶,我们把jimureport-nosql-starter这个依赖去掉,就能正常启动。主要报错包的是启动报failed to create calcite connection,启动的时候好像是calcite的driver驱动找不到

@zhangdaiscott
Copy link
Member

cr

@zhangdaiscott
Copy link
Member

tomcat几

@hongxin2
Copy link
Author

tomcat几

老师,9.0.86

@zhangdaiscott
Copy link
Member

提供点截图,完整的日志,便于调查问题

@hongxin2
Copy link
Author

提供点截图,完整的日志,便于调查问题

好的,等周一上班,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants