2015-04-01 49 views
0

我們有完美的Servicemix 5上的osgi應用程序。但由於某些原因,我們必須遷移到Servicemix 4.5。我試過了,得到了這個servicemix 4.5 NoInitialContextException

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 

它需要什麼?

回答

1

安裝白羊座JNDI功能?

features:install jndi 
+0

我以爲它必須安裝。所以,安裝後,我得到了同樣的異常,但沒有任何消息'引發:javax.naming.NoInitialContextException' – sirophim 2015-04-02 10:06:08