摘要:
Struts 2.3.8Spring 3.2.0Hibernate 4.1.10Cannot unwrap to requested type [javax.sql.DataSource]异常来自这段代码:if ( ConnectionProvider.class.equals( unwrapType ) || DriverManagerConnectionProviderImpl.class.isAssignableFrom( unwrapType ) ) { return (T) this;} else { throw new UnknownUnwrapTypeExcep... 阅读全文