安装 Thingsboard 社区版时出错

时间:2021-03-20 17:37:30

标签: thingsboard

我在安装过程中遇到此错误,这次我尝试使用 docker,但我一遍又一遍地遇到相同的错误,我尝试使用 ubuntu 18 实例 (openstack),但找不到解决方案。我遵循了文档(我在 AWS EC2 实例上尝试过,它工作得很好)。请任何帮助!

<块引用>

创建名为“thingsboardInstallService”的 bean 时出错:不满意 通过字段“entityDatabaseSchemaService”表达的依赖; 嵌套异常是 org.springframework.beans.factory.UnsatisfiedDependencyException: 创建名为“psqlEntityDatabaseSchemaService”的 bean 时出错: 通过字段“installScripts”表达的不满意的依赖; 嵌套异常是 org.springframework.beans.factory.UnsatisfiedDependencyException: 创建名为“installScripts”的 bean 时出错:依赖项不满足 通过字段“ruleChainService”表示;嵌套异常是 org.springframework.beans.factory.UnsatisfiedDependencyException: 创建名为“baseRuleChainService”的 bean 时出错:不满意 通过字段“relationService”表达的依赖;嵌套异常 是 org.springframework.beans.factory.UnsatisfiedDependencyException: 创建名为“baseRelationService”的 bean 时出错:不满意 通过字段“entityService”表达的依赖;嵌套异常 是 org.springframework.beans.factory.UnsatisfiedDependencyException: 创建名为“baseEntityService”的 bean 时出错:不满意 通过字段“assetService”表达的依赖;嵌套异常是 org.springframework.beans.factory.UnsatisfiedDependencyException: 创建名为“baseAssetService”的 bean 时出错:不满意 通过字段“assetDao”表达的依赖;嵌套异常是 org.springframework.beans.factory.UnsatisfiedDependencyException: 创建名为“jpaAssetDao”的 bean 时出错:依赖项不满足 通过字段“assetRepository”表示;嵌套异常是 org.springframework.beans.factory.BeanCreationException:错误 创建名为“assetRepository”的bean,定义在 org.thingsboard.server.dao.sql.asset.AssetRepository 中定义 在 JpaDaoConfig 上声明的 @EnableJpaRepositories:调用 init 方法失败;嵌套异常是 java.lang.IllegalStateException: 为方法公共抽象使用命名参数 org.springframework.data.domain.Page org.thingsboard.server.dao.sql.asset.AssetRepository.findAssetInfosByTenantId(java.util.UUID,java.lang.String,org.springframework.data.domain.Pageable) 但在带注释的查询中找不到参数“Optional[tenantId]” '选择新的 org.thingsboard.server.dao.model.sql.AssetInfoEntity(a, c.title, c.additionalInfo) FROM AssetEntity a LEFT JOIN CustomerEntity c on c.id = a.customerId WHERE a.tenantId = :tenantId AND LOWER(a.searchText) LIKE LOWER(CONCAT(:textSearch, '%'))'!

The error image

环境

操作系统:Openstack 上的 Ubuntu 18.04.5 LTS

事物板:3.2.1

0 个答案:

没有答案