首页 新闻 搜索 专区 学院

oracle连接问题,客户端连接正常,程序连接报错 ORA-12514

0
悬赏园豆:5 [已关闭问题] 关闭于 2020-10-16 10:56

本机安装了个oracle,监听已经修改过,客户端连接正常,但是程序启动连接报错,报错如下

 

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'operaLogMapper' defined in file [D:\workspace_idea\ww\yx-ww-service\target\classes\com\ff\mapper\OperaLogMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Constructor threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

文静~的主页 文静~ | 菜鸟二级 | 园豆:257
提问于:2020-10-16 09:33
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册