org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
I guess Hibernate or Spring configuration. . .
This is applicationContext.xml
xmlns: aop = "http://www.springframework.org/schema/aop"
xmlns: tx = "http://www.springframework.org/schema/tx"
xsi: schemaLocation = "
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd ">
<-! configure hibernate DataSource ->
hibernate in *. hbm.xml configuration
"- / / Hibernate / Hibernate Mapping DTD 3.0 / / EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
why. . . .
------ Solution ------------------------------------ --------
top
------ For reference only ------------------------- --------------
issue has been resolved
------ For reference only ------------------ ---------------------
not see how ah ?
------ For reference only -------------------------------------- -
trash Oh, you have a problem you want to solve other people eh ,
you solve without stickers.
------ For reference only ---------------------------------- -----
garbage ah
------ For reference only -------------------------- -------------
I also encountered a similar problem some time ago , probably because hiberante when parsing configuration files and mapping files need to download from the Internet *. dtd, and later on in advance of the * . dtd downloads down, http://blog.csdn.net/snarlfuture/article/details/17309279
没有评论:
发表评论