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

启动报错 #414

Open
wangkun723 opened this issue Dec 8, 2023 · 2 comments
Open

启动报错 #414

wangkun723 opened this issue Dec 8, 2023 · 2 comments

Comments

@wangkun723
Copy link

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2023-12-09 04:36:06.639 [ERROR] [main ] o.s.b.SpringApplication (834) [reportFailure] - Application run failed org.springframework.beans.factory.UnsatisfiedDependencor creating bean with name 'exchangisDataSourceRestfulApi' defined in URL [jar:file:/home/software/exchangis1.1.2_install_package/wedatasphere-exchangis-1.1.2ttt/Exchangis-release-1.1.2/assembly-packaasphere-exchangis-1.1.2/lib/exchangis-server/exchangis-datasource-server-1.1.2.jar!/com/webank/wedatasphere/exchangis/datasource/server/restful/api/ExchangisDataSourceRestfulApi.class]: Unsatisfied desed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'exchangisDataSourceService' defined in URL [jaftware/exchangis1.1.2_install_package/wedatasphere-exchangis-1.1.2ttt/Exchangis-release-1.1.2/assembly-package/target/wedatasphere-exchangis-1.1.2/lib/exchangis-server/exchangis-datasource-service-1.1ank/wedatasphere/exchangis/datasource/service/ExchangisDataSourceService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factoryendencyException: Error creating bean with name 'context' defined in class path resource [com/webank/wedatasphere/exchangis/datasource/server/configuration/ServerConfig.class]: Unsatisfied dependency gh method 'context' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mapperHook' defined in URL [jar:file:/home/softwar2_install_package/wedatasphere-exchangis-1.1.2ttt/Exchangis-release-1.1.2/assembly-package/target/wedatasphere-exchangis-1.1.2/lib/exchangis-server/exchangis-dao-1.1.2.jar!/com/webank/wedatasphere/exc/MapperHook.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exchanigMapper' defined in URL [jar:file:/home/software/exchangis1.1.2_install_package/wedatasphere-exchangis-1.1.2ttt/Exchangis-release-1.1.2/assembly-package/target/wedatasphere-exchangis-1.1.2/lib/exchanangis-dao-1.1.2.jar!/com/webank/wedatasphere/exchangis/dao/mapper/ExchangisJobParamConfigMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/apache/linkis/mybatis/MybatisConfigurationFactn instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFctory method 'sqlSessionFactory' threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy
image

@wangkun723
Copy link
Author

缺各种包,要么改pom重新编译,要么直接把缺的包复制到lib里面

@liufeiwu
Copy link

liufeiwu commented Apr 9, 2024

测试排查是发现少了 spring-jdbc-x.x.x.RELEASE.jar 包,此包是从 linkis 里依赖的,但不管是官方的 releases 里下载还是自己编译打包都没有此包的配置(pom.xml)。可以 linkis 相应版本里 copy 此文件上传到 lib 下,如 exchangis v1.1.2 依赖的是 spring-jdbc-5.2.23.RELEASE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants