NameNotFoundException: While trying to lookup 'jdbc' only when publishing from Eclipse Kepler but not Indigo

后端 未结 3 979
轻奢々
轻奢々 2020-12-19 06:58

I\'m able to publish my web-app to an Oracle Weblogic 12c (12.1.1) AdminServer from Eclipse Indigo 3.7.2 with oepe 12.1.1.1.1

However, the exact same web-app importe

3条回答
  •  半阙折子戏
    2020-12-19 07:48

    This is a configuration that worked for me:

    applicationContext.xml

    
    

    web.xml

    
       jdbc/alias
       javax.sql.DataSource
       Container
    
    

    weblogic.xml

    
        jdbc/alias
        jdbc/resource/weblogic
    
    

提交回复
热议问题