javax.naming.NameNotFoundException: Name is not bound in this Context. Unable to find

前端 未结 4 474
抹茶落季
抹茶落季 2020-12-09 10:19

I\'m trying to find out why my web application throws a

javax.naming.NameNotFoundException: Name [flexeraDS] is not bound in this Context. Unable to find [f         


        
4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-09 10:42

    ugh, just to iterate over my own case, which gave out approximately the same error - in the Resource declaration (server.xml) make sure to NOT omit driverClassName, and that e.g. for Oracle it is "oracle.jdbc.OracleDriver", and that the right JAR file (e.g. ojdbc14.jar) exists in %CATALINA_HOME%/lib

提交回复
热议问题