org.springframework.transaction.CannotCreateTransactionException: Could not open [问题点数:20分,结帖人onnwll]

Bbs1
本版专家分:0
结帖率 88.89%
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs1
本版专家分:0
关于org.springframework.transaction.CannotCreateTransactionException问题
org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session f
Request processing failed; nested exception is org.springframework.transaction.CannotCreate.......
Type Exception Report Message Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JDBC Connection for transaction; nested ...
springboot项目,配置多数据源mysql+SqlServer,第一天访问正常,长时间不操作到第二天报错org.springframework.transaction.CannotCreateT
mysql的配置已经加上了。没配多数据源前一切正常,配置多数据源后,长时间不操作,第二天重新请求报错,求各位大佬帮忙看一下什么原因,怎么解决~ 报错日志: ger for transaction; nested exception is javax.persistence.PersistenceException: com.mysql.jdbc.exceptions.jdbc4.Communi...
链接MySQL数据库出现CannotCreateTransactionException
上线应用链接MySQL数据库时出现如下异常信息: org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JDBC Connection for transaction; nested exception iscom.mysql.jdbc.CommunicationsException:
PowerPoint could not open the file
发布后出现的问题。。rnrn老问题了..
could not open the id file ?
我在.net中通过NOTES的COM组件调用Domino.NoteSession.Initialize("password")方法时,出现以上提示,谁给点意见? ID文件是在本地的,NOTES也可以正常打开的. 我是在IIS里运行的代码.rn
could not open the id file?
我在.net中调用Domino.NoteSession.Initialize("password")方法时,出现以上提示,请问如何处理?(up有分)
could not open ServletContext
在线等,希望各位大大指导!!rnrn2011-10-11 23:43:53 org.apache.catalina.core.ApplicationContext logrn严重: StandardWrapper.Throwablernorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/conf/dispatcherServlet-servlet.xml]; nested exception is java.io.FileNotFoundException: Could not <em>open</em> ServletContext resource [/WEB-INF/conf/dispatcherServlet-servlet.xml]rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.io.FileNotFoundException: Could not <em>open</em> ServletContext resource [/WEB-INF/conf/dispatcherServlet-servlet.xml]rn at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)rn ... 26 morern2011-10-11 23:43:53 org.apache.catalina.core.StandardWrapperValve invokern严重: Allocate exception for servlet dispatcherrnjava.io.FileNotFoundException: Could not <em>open</em> ServletContext resource [/WEB-INF/conf/dispatcherServlet-servlet.xml]rn at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rn
解决Could not open Hibernate Session for transaction问题
我在用Struts+Spring+Hibernate时遇到了Could not <em>open</em> Hibernate Session for transaction最后我解决了这个问题。我现在把问题贴在了下面!我最终确定是因为数据链接自动关闭,而不是spring和hibernate的问题。解决办法是:  1.看看数据库的jdbc驱动是否支持重连;      注意:mysql的重连autoRec
hibernate链接数据库 Could not open Hibernate Session for transaction;
hibernate和spring集成,之前用的Mysql数据库正常,换连oracle数据库就不会了,照猫画虎但是一直连接不上 Exception in thread "main" org.spring
org.hibernate.TransactionException: JDBC begin transaction failed:解决方法
异常:   javax.servlet.ServletException: org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is org.hibernate.Transaction
Could not open Hibernate Session for transaction????
本人用的是环境是Spring+Hibernate+Struts,后台是SQL Server 2000.rn原来后台用的是Mysql,调试正常,后来想移植到SQL Server 2000中,仅把数据库连接相关配置文件修改了,但出错,提示:rn[color=#FF0000]其他异常:Could not <em>open</em> Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot <em>open</em> connection [/color]rnrn配置文件主要内容如下:rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn AuctionUser.hbm.xmlrn Bid.hbm.xmlrn Item.hbm.xmlrn Kind.hbm.xmlrn State.hbm.xmlrn rn rn rn rn org.hibernate.dialect.SQLServerDialectrn truern updatern 20 rn true rn rn rn rnrn rn rn rnrnrn rn rn rn rn rn rn PROPAGATION_REQUIRED,readOnlyrn PROPAGATION_REQUIREDrn rn rn rnrnrn请多多指教!!
could not open source file "iostream"
D:\Source>type ch1_1.cpprn//**ch1-1.cpprn#include rn#include rn#include rnrnusing namespace std;rnrnvoid swap(int&, int&);rnrnstruct Personrnrn char name[20];rn unsigned long id;rn float salary;rn;rnrnint main()rnrn Person prl;rn Person* prPrl;rn prPrl = &prl;rn strcpy(prPrl -> name, "David Marat");rn prPrl ->id = 8574748;rn prPrl ->salary = 8374.0;rn cout << prPrl -> name << " "rn < id << salary << endl;rn return 0;rnrnrnvoid swap(int& xx, int& yy)rnrn cout << " swap function is start ..." << endl;rn int temp = xx;rn xx = yy;rn yy = temp;rn cout << " swap function is end..." << endl;rnrnrnD:\Source>icl ch1_1.cpprnIntel(R) C++ Compiler for 32-bit applications, Version 9.1 Build 20060706Z Package ID: W_CC_C_9.1.028rnCopyright (C) 1985-2006 Intel Corporation. All rights reserved.rnrnch1_1.cpprnch1_1.cpp(2): catastrophic error: <em>could</em> not <em>open</em> source file "iostream"rn #include rn ^rnrncompilation aborted for ch1_1.cpp (code 4)rnrnICPP_COMPILER91=d:\Program Files\Intel\Compiler\C++\9.1rnIDB_PATH=d:\Program Files\Intel\rnINCLUDE=d:\Program Files\Intel\Compiler\C++\9.1\Ia32\Include;d:\Program Files\Intel\Compiler\C++\9.1\IA32\IncludernINTEL_LICENSE_FILE=C:\Program Files\Common Files\Intel\LicensesrnINTEL_SHARED=C:\Program Files\Common Files\Intel\Shared FilesrnLIB=d:\Program Files\Intel\Compiler\C++\9.1\Ia32\Lib;d:\Program Files\Intel\Compiler\C++\9.1\IA32\Librnrn请问为什么编译错误,多谢,即可结贴,rn
log4cplus: ERROR could not open file
读入配置文件:rn[code=c]log4cplus::PropertyConfigurator::doConfigure(LOG4CPLUS_TEXT("E:\\win.properties"));[/code]rnrn但是出现错误,大致如下:rnrnlog4cplus: ERROR <em>could</em> not <em>open</em> file xxxxx#中文乱码rn.....rnlog4cplus: ERROR No appenders <em>could</em> not be found for logger(office.utility).rnlog4cplus: ERROR Please initilize the log4cplus system properly.rnrn配置文件如下:rn[code=c]log4cplus.rootLogger=WARN, STDOUT, LOGFILErnrnlog4cplus.appender.STDOUT=log4cplus::ConsoleAppenderrnlog4cplus.appender.STDOUT.layout=log4cplus::PatternLayoutrnlog4cplus.appender.STDOUT.layout.ConversionPattern=%d%y-%m-%d %H:%M:%S,%q [%t] %-5p %c1 %m %nrnrnlog4cplus.appender.LOGFILE=log4cplus::RollingFileAppenderrnlog4cplus.appender.LOGFILE.MaxFileSize=5MBrnlog4cplus.appender.LOGFILE.MaxBackupIndex=5rnlog4cplus.appender.LOGFILE.File=$temp/DecoderPluginCli.logrnlog4cplus.appender.LOGFILE.layout=log4cplus::PatternLayoutrnlog4cplus.appender.LOGFILE.layout.ConversionPattern=%d%y-%m-%d %H:%M:%S,%q [%t] %-5p %c1 %m %n[/code]rnrn求解答!
Could not open JDBC Connection for transaction
求教分析:rnrnexception in thread "main" org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter <em>could</em> not establish the connection)rn at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:238)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)rn at $Proxy5.save(Unknown Source)rn at com.asm.test.TestSJ.save(TestSJ.java:25)rn at com.asm.test.TestSJ.main(TestSJ.java:14)rnCaused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter <em>could</em> not establish the connection)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)rn at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:200)rn ... 8 morernCaused by: java.sql.SQLException: Io 异常: The Network Adapter <em>could</em> not establish the connectionrn at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)rn at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)rn at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:273)rn at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:318)rn at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:343)rn at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:147)rn at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)rn at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)rn at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)rn at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)rn at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)rn ... 10 morern
解决Could not open Hibernate Session for transaction
用Struts+Spring+Hibernate时遇到了Could not <em>open</em>Hibernate Session fortransaction最后我解决了这个问题。我现在把问题贴在了下面!我最终确定是因为数据链接自动关闭,而不是spring和hibernate的问题。 解决办法是:   1.看看数据库的jdbc驱动是否支持重连;      注意:mysql的重连auto
org.springframework.transaction.CannotCreateTransactionException:
问题记录:服务器上的项目明明前一天还好好的,结果第二天来的时候访问不了了,报以下错误:org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JPA EntityManager for transaction; nested exception is javax.persistence.Pers
服务器总是报CannotCreateTransactionException这个错误,求解!跪求大神指点
最近被一个问题烦扰,我的项目代码数据库本地运行时不会出现这个错,但是放到服务器就会偶尔出现一次,我现在已经碰到了三四次,今天又发生了。每次出现这个异常都是无原因无理由,就连恢复也是无缘无故的。平时一直
Could not open JPA EntityManager for transaction
Could not <em>open</em> JPA EntityManager for transaction; nested exception is org.apache.<em>open</em>jpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property.rn这个问题 搞了好半天 啊 没有解决啊
Zend Studio安装:Could not open key
谁安装Zend Studio遇到过这种问题?
win7打开安卓模拟器报错 PANIC: Could not open:
1.路径肯定不是中文 2.使用了多个sdk 3..android  文件夹不在特定目录下 a.C:\Users\Administrator a.D:\Users\Administrator 4.问题解决
Internet Explorer could not open the search page
当我用 IE试图打开网页的时候 出现这个错误rn不知道怎么回事?
Could not open JDBC Connection for transaction
-
org.hibernate.TransactionException: nested transactions not supported
在使用Hibernate的过程中遇到如下异常: [img]http://s16.sinaimg.cn/mw690/7a0d9dcagcf9ca4aae3af&amp;690[/img] 原因: Transaction tx = null; tx = session.beginTransaction(); tx.begin(); Transaction打开了两次,所以会抛出异常。 解决方法: ...
org.hibernate.TransactionException: JDBC begin transaction failed:
启动tomcat时报了下面的错: [code=&quot;java&quot;] =2013-08-06 10:52:37,849 ERROR [Timer-5] timer.SystemMonitoringTimer (SystemMonitoringTimer.java:331) - oops, got an exception: org.springframework.transaction.C...
could not open relation mapping file "global/pg_filenode.map"
今天运行postgresql遇到的问题,希望大家帮忙看看!rnrn[root@hadoop22 local]# java -jar ChunkDB6.jar DL //usr/local/inventory1.txt inventory "|"rnException in thread "main" org.postgresql.util.PSQLException: FATAL: <em>could</em> not <em>open</em> relation mapping file "global/pg_filenode.map": ���������������������������rn at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)rn at org.postgresql.core.v3.ConnectionFactoryImpl.<em>open</em>ConnectionImpl(ConnectionFactoryImpl.java:108)rn at org.postgresql.core.ConnectionFactory.<em>open</em>Connection(ConnectionFactory.java:66)rn at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)rn at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)rn at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22)rn at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:30)rn at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)rn at org.postgresql.Driver.makeConnection(Driver.java:393)rn at org.postgresql.Driver.connect(Driver.java:267)rn at java.sql.DriverManager.getConnection(DriverManager.java:582)rn at java.sql.DriverManager.getConnection(DriverManager.java:185)rn at neu.softlab.chunkdb.dataloader.DataLoader.main(DataLoader.java:56)rn at neu.softlab.chunkdb.MainEntry.main(MainEntry.java:53)rn
错误信息Could not open Hibernate Session for transaction
2015-3-29 11:47:18 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet [springmvc] in context with path [/xjpcs] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not <em>open</em> connection] with root causernjava.sql.SQLException: ORA-01017: invalid username/password; logon deniedrnrn at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)rn at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)rn at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)rn at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)rn at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:791)rn at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)rn at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:439)rn at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)rn at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)rn at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)rn at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:82)rn at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256)rn at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)rn at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:115)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:430)rn at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139)rn at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:380)rn at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:228)rn at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:171)rn at org.hibernate.internal.SessionImpl.connection(SessionImpl.java:450)rn at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:429)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)rn at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)rn at com.sigi.service.impl.BaseManagerImpl$$EnhancerBySpringCGLIB$$ce73f6ed.findExample()rn at com.sigi.controller.LoginController.userLogin(LoginController.java:42)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)rn at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:690)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)rn at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at com.sigi.Filter.MenuFilter.doFilter(MenuFilter.java:33)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2462)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2451)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)rn
安装SQL2008R2出现could not open key错误
如题求助大神帮忙解决,网上的cmd管理员身份运行的方法解决不了[img=https://img-bbs.csdn.net/upload/201508/13/1439429030_495387.png][/img]
求解Could not open Hibernate Session for transaction问题
我在使用SSH框架的时候,遇到一个这样的问题:rn在一定的时间不对网站发送请求,一旦再访问就会出现:rnCould not <em>open</em> Hibernate Session for transaction; nested exception is org.hibernate.TransactionException: JDBC begin transaction failed:rnrnrnrn但是再刷新后就正常了,这个问题一直再困扰着我,后面我详细看了一下报错的问题,里面有一句:rnjava.net.SocketException: Software caused connection abort: socket write errorrnrnrn探究历程:我看了我的配置文件,事务的配置是正常的,不然的话刷新是不能够访问的,所以排除了这个问题。后来又怀疑是数据库的连接爆了,因为还有另外一个项目同时处于一个服务器中,调用同样端口的mysql 3306,但是那个项目就非常的正常。最后又怀疑是配置文件中:rnorg.springframework.orm.hibernate4.SpringSessionContextrn这句话的问题,但是注释了以后还是出现问题,所以求救啊!rnrn因此暂时我还是找不到解决方案,求大神帮助,谢谢!rnrn问题元地址,里面有完整的报错代码:[url=http://blog.csdn.net/nthack5730/article/details/49744471][/url]
百分求教:could not open the id file?
我在.net中调用Domino.NoteSession.Initialize("password")方法时,出现以上提示,请问如何处理?rn我的.net程序是在C盘,lotus客户端和服务器端装在D盘,会不会是这样有影响呢?rn(up有分)
Could not open Hibernate Session for transaction, 数据库连接超时解决方法
异常: javax.servlet.ServletException: org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is org.hibernate.TransactionEx
ssh 整合,hibernate和spring整合时org.springframework.transaction.CannotCreateTransactionException异常解决方法
org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is org.springframework.transaction.InvalidIsolationLevelException: ...
Root Cause org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Con
SSM服务器端出现此景,首先打开自己数据库看是否能连接,本人打开mysql登录后,发现NO CONNECTION ,这就好办,打开服务管理器,把mysql的服务打开就好,应该是出于未知原因,mssql被自动关闭了 Root Cause org.springframework.transaction.CannotCreateTransactionException: Could not ope...
求助spring事务异常,报错报了昨天一天了55555,在线等啊
-
什么是could not open display set啊?
我的redhat9用的一直好的,突然在成功login以后运行startx的时候说失败,就是说rn<em>could</em> not <em>open</em> display set,我什么都没有该过啊!!!rn好象还说什么“$display not set”什么的rn我重新安装了rh9第一次进入x-window是好的,第二次进去又不行了,是怎么回事啊?rn大家救命啊!!!!!
启动模拟器时报错:Could not open
我已经百度谷歌过了,就是不知道为什么还是不行。rnrn错误详情:PANIC: Could not <em>open</em>: E:\androidsdk\tools;\.android/avd/avd23.inirnrnE:\androidsdk是我的sdk安装目录,avd23是我的模拟器名称。rnrn我是win7系统,Users整个文件夹被我迁移到D盘根目录了。rn所以在我这.android文件夹的全路径是:D:\Users\aochulai\.android。当然,用 C:\Users\aochulai\.android也能访问。rn我的文档的全路径是:D:\users\aochulai\Documents,下面没有.android文件夹rnrn我看网上的人大部分都是报一个路径找不到,不知道为什么我是报两个路径找不到!而且别人都是绝对路径,我的是什么\.android/avd/avd23.ini这样的路径rnrn我的环境是这样的:rn我先安装了jdk和androidsdk,然后安装了一个IDE插件(不是ADT),这个插件会自动去下载jdk和androidsdk并安装了所有版本的sdk,我晕,我事先不知道...然后我就把它新下载的那个androidsdk文件夹给删了。最后装了eclipse的开发环境和ADT,SDK路径选择了E:\androidsdkrnrn[b][color=#FF0000]使用AVDManager创建并点击Start可以正常启动模拟器!就是在开发环境里RunAt不行![/color][/b]rnrn然后我做了以下尝试:rn添加系统环境变量:ANDROID_SDK_HOME=E:\androidsdk; Path新增:%Android_SDK_HOME%\tools,重启IDE,并创建新的模拟器,没用rn网上还说把.android文件夹放到提示错误的位置上去,但我的错误提示我不知道该放哪...rn还有的说xp就放在"doc...And...User\用户名\"下,win7就放在"Users\用户名\"下,但我的.android本来就是链接在C:\Users\aochulai\.android下,可以访问。rn找了半天,基本上就是上面两种办法,搞不定,特来求助。
Could not open ServletContext resource [/WEB-INF/action-servlet.xml]
信息: Initializing WebApplicationContext for Struts ActionServlet 'action', module ''rn2010-2-25 12:56:57 org.apache.catalina.core.ApplicationContext logrn严重: action: nullrnorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/action-servlet.xml]; nested exception is java.io.FileNotFoundException: Could not <em>open</em> ServletContext resource [/WEB-INF/action-servlet.xml]rnCaused by: java.io.FileNotFoundException: Could not <em>open</em> ServletContext resource [/WEB-INF/action-servlet.xml]rn at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:99)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:297)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)rn at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)rn at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)rn at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)rn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-2-25 12:56:57 org.apache.catalina.core.ApplicationContext logrn信息: Marking servlet action as unavailablern2010-2-25 12:56:57 org.apache.catalina.core.StandardContext loadOnStartuprn严重: Servlet /epet threw load() exceptionrnjavax.servlet.UnavailableExceptionrn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-2-25 12:56:58 org.apache.coyote.http11.Http11Protocol start
Could not open the editor: The resource article_detail.jsp is already in use by
Could not <em>open</em> the editor: The resource article_detail.jsp is already in use by another editor. Simultaneous editor access to this resource is unsupported.
Could not open a connection to SQL Server
我开发了一个软件,在局域网中,本机运行没问题,别的机器运行时,报错rn....40-rn本机如何设置才可以让别的机器连接,
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session
问题—— org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session这是数据源的驱动jar包没有的问题 解决方案—— 添加jar文件,Maven依赖: com.oracle ojdbc 10.1.0.2.0
org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for
问题?org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JDBC Connection for transaction 整合大三大框架的时候,单独测试没问题,在请求action的时候,会出现以下问题: org.springframework.transaction.Canno
dbcp连接池不合理的锁导致连接耗尽
应用报错,表象来看是连接池爆满了。 org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Canno
nhibernate adoexception could not open connection 谁知道啊
rnrn rn NHibernate.Driver.SqlClientDriverrn rn Data Source=.\SQLEXPRESS;Initial Catalog=NHibernateSample;rn Integrated Security=True;Pooling=False;uid=sa;pwd=12345rn rn 10rn falsern NHibernate.Dialect.MsSql2005Dialectrn truern 10rn true 1, false 0, yes 'Y', no 'N'rn rn rnrn
使用SSH出现异常:org.hibernate.exception.GenericJDBCException: Could not open connectio
我用的是spring4.1.4+hibernate4.2.21,运行时出现如下异常:rnorg.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not <em>open</em> connectionrn at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:544)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:457)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:276)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)rn.....rnCaused by: org.hibernate.exception.GenericJDBCException: Could not <em>open</em> connectionrn at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)rn at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124)rn at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)rn at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:221)rn at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:157)rn at org.hibernate.internal.SessionImpl.connection(SessionImpl.java:427)rn at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:450)rn ... 99 morernCaused by: java.sql.SQLException: Access denied for user 'sa'@'localhost' (using password: YES)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871)rn at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1694)rn at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1215)rn at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2255)rn at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2286)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2085)rn at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:795)rn at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:44)rn......rn纠结了一整天了,都快崩溃了!!网上也没搜索到正确的解决方案,望大神们高手们来指导指导解我烦扰!!rn rn
Could not open Hibernate Session ; nested exception is java.lang.NullPointerExce
[code=java]HTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is java.lang.NullPointerExceptionrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.codehaus.enunciate.modules.spring_app.HTTPRequestContextFilter.doFilter(HTTPRequestContextFilter.java:36)rnrnrnroot cause rnrnorg.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is java.lang.NullPointerExceptionrn org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:545)rn org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:283)rn org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:234)rn org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:93)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)rn $Proxy54.list(Unknown Source)rn org.apache.jsp.frame_jsp._jspService(frame_jsp.java:94)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.codehaus.enunciate.modules.spring_app.HTTPRequestContextFilter.doFilter(HTTPRequestContextFilter.java:36)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.nextTimestamp(RegionFactoryCacheProviderBridge.java:85)rn org.hibernate.impl.SessionFactoryImpl.<em>open</em>Session(SessionFactoryImpl.java:526)rn org.hibernate.impl.SessionFactoryImpl.<em>open</em>Session(SessionFactoryImpl.java:535)rn sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.springframework.orm.hibernate3.LocalSessionFactoryBean$TransactionAwareInvocationHandler.invoke(LocalSessionFactoryBean.java:1124)rn $Proxy47.<em>open</em>Session(Unknown Source)rn org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:445)rn org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:283)rn org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:234)rn org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:93)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)rn $Proxy54.list(Unknown Source)rn org.apache.jsp.frame_jsp._jspService(frame_jsp.java:94)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.codehaus.enunciate.modules.spring_app.HTTPRequestContextFilter.doFilter(HTTPRequestContextFilter.java:36)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/6.0.20[/code]
求高手。。could not open hibernate session..(偶尔出现)
现在在项目中遇到一个奇怪的问题,在业务的受理过程中经常出现和oracle断开连接,而且这个问题不是经常出现,而是偶尔出现,后台报的错是:HTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.hibernate.exception.GenericJDBCException: Cannot <em>open</em> connectionrn org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)rn org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)rn org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)rn org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)rn org.hibernate.jdbc.ConnectionManager.<em>open</em>Connection(ConnectionManager.java:426)rn org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)rn org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)rn org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)rn org.hibernate.loader.Loader.doQuery(Loader.java:673)rn org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)rn org.hibernate.loader.Loader.doList(Loader.java:2220)rn org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)rn org.hibernate.loader.Loader.list(Loader.java:2099)rn org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)rn org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)rn org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)rn org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)rn org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)rn dao.AuthorityDAOImpl.getAuthority(AuthorityDAOImpl.java:95)rn service.AuthorityService.getAuthority(AuthorityService.java:98)rn service.AuthorityService$$FastClassByCGLIB$$53a1382b.invoke()rn net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)rn org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)rn org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)rn service.AuthorityService$$EnhancerByCGLIB$$203c1ac3.getAuthority()rn filter.PageReviewFilter.doFilter(PageReviewFilter.java:84)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn filter.characterEncodingFilter.doFilter(characterEncodingFilter.java:25)rnrnrnroot cause rnrnjava.sql.SQLException: Listener refused the connection with the following error:rnORA-12519, TNS:no appropriate service handler foundrnThe Connection descriptor used by the client was:rnlocalhost:1521:ORCLrnrn oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)rn oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:260)rn oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)rn oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:413)rn oracle.jdbc.driver.T4CConnection.(T4CConnection.java:164)rn oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)rn oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)rn java.sql.DriverManager.getConnection(DriverManager.java:582)rn java.sql.DriverManager.getConnection(DriverManager.java:154)rn org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)rn org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)rn org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:211)rn org.logicalcobwebs.proxool.ProxoolDataSource.getConnection(ProxoolDataSource.java:97)rn org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)rn org.hibernate.jdbc.ConnectionManager.<em>open</em>Connection(ConnectionManager.java:423)rn org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)rn org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)rn org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)rn org.hibernate.loader.Loader.doQuery(Loader.java:673)rn org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)rn org.hibernate.loader.Loader.doList(Loader.java:2220)rn org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)rn org.hibernate.loader.Loader.list(Loader.java:2099)rn org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)rn org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)rn org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)rn org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)rn org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)rn dao.AuthorityDAOImpl.getAuthority(AuthorityDAOImpl.java:95)rn service.AuthorityService.getAuthority(AuthorityService.java:98)rn service.AuthorityService$$FastClassByCGLIB$$53a1382b.invoke()rn net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)rn org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)rn org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)rn service.AuthorityService$$EnhancerByCGLIB$$203c1ac3.getAuthority()rn filter.PageReviewFilter.doFilter(PageReviewFilter.java:84)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn filter.characterEncodingFilter.doFilter(characterEncodingFilter.java:25)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/6.0.29rnrn前台:“Could not <em>open</em> hibernate Session for transaction;nested exception is hibernate is org.hibernate.exception.GenericJDBCException:Connot <em>open</em> connection”;rn这个问题很纠结啊,麻烦哪位高手解解啊,rn备注:特别是在受理比较繁忙的时候,而且很奇怪的是,当这个问题出现后,服务器上的另一个Webservice也和服务器断开,后台报同样的异常
Could not open Hibernate Session for transaction; nested exception is java.lang.
spring /hibernate/struts 三个框架,在周期性执行操作数据库,发生如下错误,纠结了好久,还是不能解决问题,请各位大侠帮忙!!!!rnrnException in thread "Timer-1" org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is java.lang.NullPointerExceptionrn at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:596)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:335)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:105)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)rn at com.huawei.tools.dao.ConnectDBDao$$EnhancerByCGLIB$$da709791.saveObject()rn at com.huawei.tools.servic.ExecuteRecordServic.saveExecuteRecord(ExecuteRecordServic.java:13)rn at com.huawei.tools.autoTestTaskMannager.ConnectClientSocket.createExecuteRecord(ConnectClientSocket.java:293)rn at com.huawei.tools.autoTestTaskMannager.TimerAutoTestTask.run(TimerAutoTestTask.java:90)rn at java.util.TimerThread.mainLoop(Unknown Source)rn at java.util.TimerThread.run(Unknown Source)rnCaused by: java.lang.NullPointerExceptionrn at org.slf4j.impl.Log4jLoggerAdapter.isDebugEnabled(Log4jLoggerAdapter.java:194)rn at org.hibernate.impl.SessionImpl.(SessionImpl.java:247)rn at org.hibernate.impl.SessionFactoryImpl.<em>open</em>Session(SessionFactoryImpl.java:551)rn at org.hibernate.impl.SessionFactoryImpl.<em>open</em>Session(SessionFactoryImpl.java:575)rn at org.hibernate.impl.SessionFactoryImpl.<em>open</em>Session(SessionFactoryImpl.java:583)rn at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:491)rn ... 13 morernrn我的applicationContext.xml配置是rnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.MySQLDialectrn true rnrn rn rn rn rn classpath:com/huawei/tools/entityrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn
解决C3P0又出現一個問題,如下的Exception:
C3P0又出現一個問題,如下的Exception: org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JDBC Connection for transaction; nested exception is java.sql.SQLException: An SQLException...
使用线程池插入数据报Could not open JDBC Connection for transaction 异常
前言 原因分析 解决方案 错误信息 前言 使用线程池插入数据报Could not <em>open</em> JDBC Connection for transaction 异常 Could not <em>open</em> JDBC Connection for transaction; nested exception is com.alibaba.druid.pool.DataSourceClose...
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session f
org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nest 我在将web服务器(ssh框架编写+tomcat)上传到云服务器时,访问url报以上错误。 先说下如何在将web服务器上传到云服务器及其使用: 搭建云服
求助:Spring中的事务管理问题:org.springframework.transaction.CannotCreateTransactionException:
提示的错误是: exception javax.servlet.ServletException: Could not <em>open</em> Hibernate Session for transaction;
mplayer出错ERROR:Could not open required direcshow codec drvc.dll
刚在在fedora8上安装上了mplayer,有声音,有图像但是较慢,画质不好且提示错误:rnERROR:Could not <em>open</em> required direcshow codec drvc.dllrnrn怎么办啊?rnrnrn[root@localhost .mplayer]# gmplayer /root/jq.rmvb rnMPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer TeamrnCPU: AMD Sempron(tm) Processor 3200+ (Family: 15, Model: 95, Stepping: 2)rnCPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1rnCan't <em>open</em> joystick device /dev/input/js0: No such file or directoryrnCan't init input joystickrnmplayer: <em>could</em> not connect to socketrnmplayer: No such file or directoryrnFailed to <em>open</em> LIRC support. You will not be able to use your remote control.rnrnPlaying /root/jq.rmvb.rnREAL file format detected.rnStream description: Audio StreamrnStream mimetype: audio/x-pn-realaudiorn[real] Audio stream found, -aid 0rnStream description: Video StreamrnStream mimetype: video/x-pn-realvideorn[real] Video stream found, -vid 1rnStream mimetype: logical-fileinfornVIDEO: [RV40] 720x576 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)rnClip info:rn name: [LessBug]2007.08.07.����֮·_���ν�����1+1��rn author: LessBugrn copyright: CCTVrn==========================================================================rnOpening video decoder: [realvid] RealVideo decoderrnError: libstdc++.so.5: cannot <em>open</em> shared object file: No such file or directoryrnWin32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.sornError loading dllrnERROR: Could not <em>open</em> required DirectShow codec drvc.so.rnRead the RealVideo section of the DOCS!rnVDecoder init failed :(rnOpening video decoder: [realvid] RealVideo decoderrnWin32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dllrnError loading dllrnERROR: Could not <em>open</em> required DirectShow codec drvc.dll.rnRead the RealVideo section of the DOCS!rnVDecoder init failed :(rnOpening video decoder: [realvid] RealVideo decoderrnSelected video codec: [rv40] vfm: realvid (Linux RealPlayer 9 RV40 decoder)rn==========================================================================rn==========================================================================rnOpening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)rnFAAD: compressed input bitrate missing, assuming 128kbit/s!rnAUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)rnSelected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)rn==========================================================================rnAO: [oss] 44100Hz 2ch s16le (2 bytes per sample)rnStarting playback...rnVDec: vo config request - 720 x 576 (preferred colorspace: Planar I420)rnVDec: using Planar I420 as output csp (no 0)rnMovie-Aspect is 1.25:1 - prescaling to correct movie aspect.rnVO: [x11] 720x576 => 720x576 Planar I420 rn[swscaler @ 0x8815450]SwScaler: using unscaled yuv420p -> rgb32 special converterrnA:1015.0 V:1014.7 A-V: 0.277 ct: 0.122 1444/1444 22% 33% 1.1% 53 0 rnrn ************************************************rn **** Your system is too SLOW to play this! ****rn ************************************************rnrnPossible reasons, problems, workarounds:rn- Most common: broken/buggy _audio_ driverrn - Try -ao sdl or use the OSS emulation of ALSA.rn - Experiment with different values for -autosync, 30 is a good start.rn- Slow video outputrn - Try a different -vo driver (-vo help for a list) or try -framedrop!rn- Slow CPUrn - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,rn e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.rn- Broken filern - Try various combinations of -nobps -ni -forceidx -mc 0.rn- Slow media (NFS/SMB mounts, DVD, VCD etc)rn - Try -cache 8192.rn- Are you using -cache to play a non-interleaved AVI file?rn - Try -nocache.rnRead DOCS/HTML/en/video.html for tuning/speedup tips.rnIf none of this helps you, read DOCS/HTML/en/bugreports.html.rn
Myeclipse7.0打开一个jsp页面Could not open the editor: Argument not valid
用 Myeclipse7.0打开一个jsp页面报错,该项目是导进去的,并且新建JSP也不能打开只能用TXT打开,求帮助。
link error:could not open file:D:\pdafile\pda\resource.fpk\starter.tmp
提示上面的连接错误,什么原因?rn
could not open '8/\lib\i386\jvm.cgf'是什么错?
我的java环境配好啦,rn控制台下 javac 正确,java出现一下错误:rn<em>could</em> not <em>open</em> '8/\lib\i386\jvm.cgf'rnJAVAHOME,和path环境变量都配好了的啊
spring:org.springframework.transaction.UnexpectedRollbackException解决
@Transactional public boolean copyCustomerInfo(Customer customer){ …… return intsertCustomer(customer); …… }@Transactional public boolean intsertCustomer(Customer customer){ …… try{
关于java项目访问数据库的问题
-
SSH整合遇到的bug(一)org.hibernate.TransactionException: nested transactions not supported
解决方法是去掉session.beginTransation();session.getTransaction().commit();这样问题就解决了!
linux startx 出现could not open default font 'fixed'
<em>could</em> not <em>open</em> default font 'fixed' 今天startx的时候不幸出现下面的提示: Could not init font path element unix/:7100, removing from list! Fatal server error: <em>could</em> not <em>open</em> default font 'fixed'
卸载、Jlink驱动不成功,提示“could not open INSTALL.LOG file” 解决办法
      现在做项目一直在用CMSIS DAP下载器,免驱动,即插即用,最近不小心把stm32的芯片锁了,准备用J-flash擦除下芯片,于是下了Jlink V4.90版本,但又发现MDK5.24对于Jlink驱动兼容性不是特别好,经常卡顿,于是准备卸载、升级(除了卸载还有其他办法解决不兼容问题,后面会又文章专门介绍,这里简单、粗暴解决),发现Jlink驱动始终卸载不了,提示“<em>could</em> not...
关于用Eclipse搭建Android平台的问题-错误提示PANIC: Could not open
我按照网站上rnhttp://wenku.baidu.com/view/178ef009ba1aa8114431d964.htmlrnhttp://mobile.51cto.com/android-227548.htmrn在Eclipse下搭建Android开发环境教程rn结果在运行的时候提示:rn[2012-08-28 09:52:15 - Emulator] PANIC: Could not <em>open</em>: D:\han.cai\android-sdks;\.android/avd/android2.2.inirn以下是我安装的路径:rnF:\Android开发\eclipse(Eclipse存放位置版本为4.2装了中文插件)rnF:\android-sdk-windows(android-sdk_r14-windows.zip解压缩后放的地址)rnD:\han.cai\android-sdks(好像是系统自己生成的)rnD:\han.cai\.android\avd(好像是系统自己生成的)rn我看了网上的一些解决方法,说环境变量,是尝试了下,还是不行,麻烦你帮我看看我错在哪里:rn系统变量里面:rn新建个ANDROID_SDK_HOME 变量值:D:\han.cai\android-sdks;rn在Path最前面加上%Android_SDK_HOME%\tools;rnPath[color=#FF0000]=%ANDROID_SDK_HOME%\tools[/color];%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;d:\Kingdee\K3ERP\KDSYSTEM;C:\Program Files\Altium Designer Winter 09\System;[color=#FF0000]F:\Java\jre6\bin[/color];[color=#FF0000]D:\han.cai\android-sdks[/color];rn rn然后进Eclipse里面删除AVD后重新建立一个模拟器,还是不行,点击Star也是提示错误rnStarting emulator for AVD 'Android2.2'rnPANIC: Could not <em>open</em>: D:\han.cai\android-sdks;\.android/avd/Android2.2.inirnrn求高手教下步骤,折腾了好久
sqlserver 2008 R2 安装报错:Could not open key:UNKNOWN...
需要用Navicat远程连接公司的数据库,提示说要先安装Native Client,如图:rn[img=https://img-bbs.csdn.net/upload/201407/19/1405749110_488628.jpg][/img]rnrn然后安装过程中就报错了,提示Could not <em>open</em> key....,如图:rn[img=https://img-bbs.csdn.net/upload/201407/19/1405749174_167695.jpg][/img]rnrn我的系统是64位 WIN7,去年装过sqlserver 2008,然后卸载了,之后就再也装不上了,好像当时装不上就是报的这个错,注册表什么的绝对删干净了,本地文件夹也删了。我也不知道是少文件还是多文件,我的电脑实在找不到关于sqlserver的任何东西了,sqlserver是真心烦人,据说一旦卸载了它,除了重新做系统,要么就别想正常再用它了。跪求SQL版的各位大神帮忙~~~~小弟先谢了。
SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open databas
rn错误如下:rnjava.lang.RuntimeException: Unable to start activity ComponentInfocom.sun.gongkao/com.sun.gongkao.FreeResponseTestActivity: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not <em>open</em> databasern都快搞死了,在别的电脑上也出现这个问题,但有时候能打开数据库,能正常访问。rn在我自己的电脑上就一直是这个问题,怎么解/rn各路大神,请留步,快来帮帮忙,十分感谢!!!!!
Could not open JPA EntityManager for transaction
JAVA web项目定时执行程序的时候报的错,框架是spring+hibernate JPA 2015-01-29 00:20:21,385 - org.springframework.transac
Spring 中配置的问题 org.springframework.transaction.interceptor.TransactionInterceptor#0
问题描述: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'org.springframework.transaction.interceptor.Transaction
jpa和Spring集成出现这样的异常 帮帮忙
org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JPA EntityManager f
SSH整合常见错误
1. org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JPA EntityManager for transaction; nested exception is java.lang.UnsupportedOperationException: Not supported by B
Java之—— SSH整合常见错误
1. org.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JPA EntityManager for transaction; nested exception is java.lang.UnsupportedOperationException: Not supported by B
怎么domino服务器经常出现 server exiting:could not open ID file.
如题!
Could not open JPA EntityManager for transaction; nested exception is javax.pers
Spring MVC + JPA(Hibernate) + Mysql, Tomcat 运行一段时间就会出现数据库连接有问题导致系统不能正常使用,报错rn[color=#FF0000]Could not <em>open</em> JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.TransactionException: JDBC begin transaction failed[/color]rnrn配置文件如下:rnrnweb.xmlrnrnrnrnrnZanwo Web ApplicationrnrnrnCharacterEncodingFilterrnorg.springframework.web.filter.CharacterEncodingFilterrnrnencodingrnutf-8rnrnrnrnCharacterEncodingFilterrn/*rnrnrnrnzanwornorg.springframework.web.servlet.DispatcherServletrn1rnrnrnzanworn/rnrnrnrnindex.htmlrnrnrn---------------------------------------------------------------------------------------------------------------------------------------------rnrnxxxx-sevlet.xmlrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrn rn rn rnrnrnrnerrorrnrnrnrnrnrnrnrn/WEB-INF/pages/rnrnrn.jsprnrnrnrnrnrn---------------------------------------------------------------------------------------------------------------------------------------------rnpersistence.xmlrnrnrnrnrnorg.hibernate.ejb.HibernatePersistencernrnrnrnrnrnrnrnrnrnrnrnrn
Could not open the editor: The file does not exist.问题怎么处理?
因为Myeclipse过期后,改过一次注册码,现在每次重启时,工作区总是出现这样的情况,怎么解决?[img=https://img-bbs.csdn.net/upload/201312/03/1386048458_683322.png][/img]
PB运行时出现该错误:Could not open the profiling output file "".
rn报错提示如问题所示rnrnPB版本为 Version 9.0.3 Build 8836rn操作系统为windows 7 32位 旗舰版rnrn-------------------------------------------rn请问该如何解决?
PANIC: Could not open: D:\Android\android-sdk\tools\\.android/avd/Serena.ini
本电脑之前的Eclipse中配置过Android SDK,原先的位置是:D:/Android/android-sdk/rn 后来系统重装后,重新下载安装了Android SDK 4.0,新的地址为:D:\Program Files\Android\android-sdk,但是在我配置好AVD,启动时却报下面的错误:rn PANIC: Could not <em>open</em>: D:\Android\android-sdk\tools\\.android/avd/Serena.ini,出错界面如下:rn[img=http://t3.qpic.cn/mblogpic/e511564a893a8a0e7fc0/460][/img]rnrn在网上看到一些解决方法,环境变量也设置了,但是仍然不能解决问题,有哪位高手能帮忙?rnrn系统为ghost……rn
Connections could not be acquired from the underlying database
严重: StandardWrapper.Throwableorg.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> JDBC Connection for transaction; nested exception is java.sql.SQLException: Connections co
[Android环境搭建问题] could not open:AVD(创建的AVD)
我今天导入了两个项目,刚开始加载的时候报了错,我就强行结束了AVD模拟器,等再打开的时候就开始报<em>could</em> not <em>open</em>:AVD 。在网上找了半天,无果。rn注:我的环境变量都是正常的,能找到AVD的目录。在CMD里键入 android list targets / android list 都能遍历出现有的AVD 。java环境都完整。
Error:could not open jvm.cfg类问题原因及解决方案
问题现象: 打开eclipse之后,会提示以下信息 问题原因: 此问题是由于卸载过jdk,并且重新装了jdk,但是环境变量并没有重新配置,导致软件启动时去老地址下寻找,导致无法找到对应的文件。 解决方法: 需要将PATH环境变量中jdk的路径更改成现在jdk所在的路径即可
【解决】Eclipse无法打开提示could not open jvm.cfg错误
Eclipse一直是可以正常运行的,直到今天在myeclipse中学习struts框架 显示myeclipse的编译器版本太低,而myeclipse不支持jdk1.8, (关于是否支持,也没有非常准确的消息,网上说支持的也有,说不支持的也有,总之我正确配置1.8后无法使用) 所以又下载了一个Java7,没有添加环境变量,直接在myeclipse中使用是正常的。 但打开Eclipse
Could not open the editor:Project myStruts is not configured as a MyEcilpse Web-
Could not <em>open</em> the editor: Project myStrutsTest is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts Editor may not be used with struts-config.xml. The default XML Editor has been used to <em>open</em> the file instead.rnrnmyEclipse8.0写的项目,导入到6.5和8.5中都是这个错误。。 是什么原因啊。。rnrn[img=http://hi.csdn.net/attachment/201009/27/2932608_1285581162Z8C1.png][/img]
spring整合hibernate报出Could not open Hibernate Session for transaction问题
这是错误提示:[code=Java]rnorg.springframework.transaction.CannotCreateTransactionException: Could not <em>open</em> Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot <em>open</em> connectionrn at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:599)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)rn at cn.zlm.Service.imp.PersonServiceBean$$EnhancerByCGLIB$$beca0fb2.save()rn at cn.zlm.Service.imp.PersonServiceBeanTest.testSave(PersonServiceBeanTest.java:30)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)rn at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)rn at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)rn at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)rn at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)rn at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)rn at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)rn at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)rn at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)rn at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)rn at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)rn at org.junit.runners.ParentRunner.run(ParentRunner.java:220)rn at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)rn at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)rnCaused by: org.hibernate.exception.GenericJDBCException: Cannot <em>open</em> connectionrn at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)rn at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)rn at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)rn at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)rn at org.hibernate.jdbc.ConnectionManager.<em>open</em>Connection(ConnectionManager.java:426)rn at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)rn at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)rn at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)rn at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)rn at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:558)rn ... 31 morernCaused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communication link failure, message from server: "Bad handshake")rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)rn at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)rn at org.hibernate.jdbc.ConnectionManager.<em>open</em>Connection(ConnectionManager.java:423)rn ... 36 morernCaused by: java.sql.SQLException: Communication link failure, message from server: "Bad handshake"rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1825)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1752)rn at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:2251)rn at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:695)rn at com.mysql.jdbc.Connection.createNewIO(Connection.java:1734)rn at com.mysql.jdbc.Connection.(Connection.java:562)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:361)rn at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)rn at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)rn at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)rn ... 39 morernrnrn[/code]rnrnspring的配置文件rn[code=XML]rnrnrn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn cn/zlm/Bean/Person.hbm.xmlrn rn rn rn rn rn org.hibernate.dialect.MySQLDialectrn rn updatern truern rn rn rnrn rn rn rn rn rn rnrnrn[/code]rnrn
神经网络模型及其MATLAB仿真程序设计下载
神经网络模型及其MATLAB仿真程序设计 一共三个压缩包,要全部下来才能解压 相关下载链接:[url=//download.csdn.net/download/zhuce0001/2544677?utm_source=bbsseo]//download.csdn.net/download/zhuce0001/2544677?utm_source=bbsseo[/url]
通信原理南邮考研试题下载
通信原理通信原理南邮考研试题通信原理南邮考研试题 相关下载链接:[url=//download.csdn.net/download/trysee/3273393?utm_source=bbsseo]//download.csdn.net/download/trysee/3273393?utm_source=bbsseo[/url]
光立方电路原理图下载
光立方电路原理图,一种595,一种573 相关下载链接:[url=//download.csdn.net/download/u010308947/5268587?utm_source=bbsseo]//download.csdn.net/download/u010308947/5268587?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的