ojdbc6报红以及nested exception is org.hibernate.service.spi.ServiceException: 已解决
错误记录5:
报错如下:Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
报这个错误在网上搜了一堆 都没解决 最后发现是ojdbc6那个jar包的问题,这个包之前jar包加的时候就有问题 当时是报红 以为不报红就没事了 ,
接下来记录一下解决这个问题的方法
1.因为ojdbc6是收费的,不能像别的jar包一样在pom里复制代码自动下载,所以需要我们手动加 首先 下载一个ojdbc6的jar包
下载地址:https://download.csdn.net/download/ting0712/12064893
放在你的maven仓库里
2.打开
这里选择的是 前面下的 那个jar包
点完ok点 Apply--->再Ok 就可以了
pom文件里的 关于ojdbc6的这段注释掉就可以了
<!-- https://mvnrepository.com/artifact/com.oracle.jdbc/ojdbc8 --><!--<dependency>--><!--<groupId>com.oracle</groupId>--><!--<artifactId>ojdbc6</artifactId>--><!--<version>11.2.0.2.0</version>--><!--</dependency>-->
我的这个错误是 这个jar包 加好了 就完事了
为报这个错的同僚 提供一个 解决办法 over
ojdbc6报红以及nested exception is org.hibernate.service.spi.ServiceException: 已解决相关推荐
- Internal Server Error“,“message“:“nested exception is org.apache.ibatis.exce【已解决】
今天在使用ssm做一个简单的学生管理系统时,在登陆时遇到了以下问题 Internal Server Error","message":"nested excep ...
- 报错,could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exce
问题: Hibernate: insert into vm_card_type (type_name) values (?) 2021-04-29 14:37:17.522 WARN 13112 - ...
- 报错,nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException??
1. 问题: 2021-01-06 15:43:41.663 ERROR 10184 --- [io-13000-exec-2] c.y.a.c.v1.retcode.RetControlller ...
- 报错,could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarExc
1.问题 { "timestamp": "2020-11-28 11:18:17", "status": 404, ...
- Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could n
今天在写ssh的时候遇到了一个这样的问题,连登陆页面都进不去了 报错信息如下: 严重: Exception sending context initialized event to listener ...
- Unknown integral data type for ids : java.lang.String; nested exception is org.hibernate.id.Identifi
1.发生的异常内容: org.springframework.orm.hibernate5.HibernateSystemException: Unknown integral data type f ...
- Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.Generi
spring hiberate项目启动没有报错,访问服务时突然报错500:Could not open Hibernate Session for transaction; nested except ...
- Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.Gener
今天整合ssh 项目遇到的错误: ERROR SqlExceptionHelper Cannot create PoolableConnectionFactory (Access denied for ...
- threw exception [Request processing failed; nested exception is org.hibernate.exception.SQLGrammarE
在这里插入代码片> threw exception [Request processing failed; > nested exception is org.hibernate.exce ...
- could not locate named parameter [***]; nested exception is org.hibernate.QueryParameterException: c
详细异常: could not locate named parameter [customerGroupName]; nested exception is org.hibernate.QueryP ...
最新文章
- 架构师已死(转自UML软件工程组织)
- bzoj 1179 抢掠计划atm (缩点+有向无环图DP)
- scala中object和class关键字的区别
- java责任链模式审批请假_Java使用责任链模式处理学生请假问题详解
- Windows下自动备份Oracle数据库
- ajax php 返回值 数组,ajax 返回数组怎么解决???
- python之路day4_【Python之路Day4】基础篇
- Newtonsoft 六个超简单又实用的特性,值得一试 !
- 2017高教杯数学建模B 题分析
- 非对称加密 DH算法
- LaTeX 中的花体字母
- 瞻博网络Contrail多云解决方案荣获最佳创新解决方案奖
- 2021年英国经济发展研究报告
- SND: 项目发布时Owning ClassInfo is null for property: private问题原因排查与解决
- 均值归一化_深度神经网络中的归一化技术
- Python -- Matplotlib:画一条水平线或竖直线
- CentOS上的硬盘分区
- 路由器redirect 配置_新页软件:如何设定双层以上路由器互联网模式
- Javascript基础*
- php懒惰模式,PHP正则贪婪/懒惰匹配模式
热门文章
- windows游戏编程 (一) 了解WinMain函数,创建一个信息框
- mysql数据库程序设计实例_mysql数据库编程精华案例347个(知此347个例子,便是高手矣)...
- 手动升级麦咖啡(McAfee)病毒库的步骤
- 金蝶KIS 13.0专业版破解方法破解安装流程 金蝶KIS 13.0专业版安装流程
- ZooKeeper 客户端: GUI+命令行两大类(史上最全,值得收藏)
- 视频教程-VBA从入门到精通(控件+类模块+ADO+SQL数据库)-Office/WPS
- 历史上的重大软件BUG启示录 第6篇---蠕虫“冲击波”
- opencv widthstep 理解
- 传诺基亚将和微软合作生产WP7手机
- java jxta_JXTA——JAVA P2P网络编程技术(入门篇) | 学步园