dataease-dev-v2\core\core-backend\src\main\java\io\dataease\ai\service\AiBaseService.java:3:26
java: 程序包io.dataease.api.ai不存在怎么解决
依赖没下载完全,刷新下maven依赖,sdk文件夹中的模块要install一下。
另外分支要使用v2.5这中正式发布的版本分支哈,开发分支有些依赖还未上传。
类库安装完能打开了,但是还是报错
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2024-04-19 16:11:55,839 ERROR g.springframework.boot.SpringApplication: 856 - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flywayInitializer’ defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Schema dataease
contains a failed migration to version 2 !
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
Schema dataease
contains a failed migration to version 2 !
这个报错和依赖没关系,是数据库初始化失败了。检查下数据库配置是否与官方推荐配置一致: 源码部署 - DataEase 文档
修改后,尝试删除数据库,重新创建。