gpt4 book ai didi

java - servicemix 4.5 NoInitialContextException

转载 作者:行者123 更新时间:2023-12-01 11:42:46 25 4
gpt4 key购买 nike

我们拥有在 Servicemix 5 上完美运行的 osgi 应用程序。但由于某些原因,我们必须迁移到 Servicemix 4.5。我尝试了一下,得到了这个

Error parsing SQL Mapper Configuration. Cause:
org.apache.ibatis.builder.BuilderException: Error parsing SQL MapperConfiguration. Cause: org.apache.ibatis.datasource.DataSourceException: There was an error configuring JndiDataSourceTransactionPool. Cause: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

需要什么?

最佳答案

安装 Aries JNDI 功能吗?

features:install jndi

关于java - servicemix 4.5 NoInitialContextException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29391490/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com