上一页 1 ··· 3 4 5 6 7 8 9 下一页

2017年8月23日

添加事务后 org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type available

摘要: 今天遇到了一个奇怪的问题 在没添加事务之前 所有的代码都是好的 , 当我添加了事务之后, 代码报错 org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type availabl 阅读全文

posted @ 2017-08-23 13:10 哆啦任意门 阅读(1056) 评论(0) 推荐(0) 编辑

2017年8月20日

junit initializationError和找不到或无法加载主类

摘要: initializationError 阅读全文

posted @ 2017-08-20 16:48 哆啦任意门 阅读(737) 评论(0) 推荐(0) 编辑

异常 SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]

摘要: 使用Spring 的JDBCtemplate 调用数据库的时候 出现了如下的问题 SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] 这个一般是因为SQL语 阅读全文

posted @ 2017-08-20 11:15 哆啦任意门 阅读(7921) 评论(0) 推荐(0) 编辑

2017年8月19日

出现java.sql.SQLException: No suitable driver的几种解决办法

摘要: C3P0 :No suitable driver 阅读全文

posted @ 2017-08-19 20:38 哆啦任意门 阅读(51842) 评论(0) 推荐(2) 编辑

2017年8月18日

Mysql 安装 windows

摘要: 最近在自己安装MySql,版本号为5.7.19 下载 首先先在官网上下载文件, 有两种格式 一种是MSI 版本 一种是zip 版本 , 我这里下载的是MSi 版本 网址:https://www.mysql.com/downloads/ 我们下载Server 就好了 先决条件: 首先电脑上需要有 Mi 阅读全文

posted @ 2017-08-18 21:58 哆啦任意门 阅读(369) 评论(0) 推荐(0) 编辑

2017年8月16日

MySql Jar 包下载

摘要: MySql JAR 包下载 我们要使用Spring 链接MySql 需要两个Jar 包 一个是C3p0 一个是MySql 的Connection Jar 包 C3p0: 进入下面的网址 http://www.mchange.com/projects/c3p0/ 按照黄色的指示 下载 2. MySql 阅读全文

posted @ 2017-08-16 22:13 哆啦任意门 阅读(2371) 评论(0) 推荐(0) 编辑

验证整数 Double 转 int 两种写法

摘要: Double 转int 1)之前一直是使用强转 Double num = Double.parseDouble(object.toString()); int n = (int)num; if(n==num) System.out.println("Validate "+ n); 但是不知道为什么换 阅读全文

posted @ 2017-08-16 10:47 哆啦任意门 阅读(898) 评论(0) 推荐(0) 编辑

2017年8月15日

0 can't find referenced pointcut declarePointExpress

摘要: 今天在用SpringAOP 的 @pointCut 的时候报错 Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Ari 阅读全文

posted @ 2017-08-15 22:48 哆啦任意门 阅读(282) 评论(0) 推荐(0) 编辑

nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed

摘要: 在用AOP 的时候出现了如下的错误, 警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreatio 阅读全文

posted @ 2017-08-15 17:02 哆啦任意门 阅读(453) 评论(0) 推荐(0) 编辑

2017年8月14日

org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML doc

摘要: 今天在Spring中换了一种配置bean的方式,发现报错了Unexpected exception parsing XML document from class path resource , 经过查找是因为没有导入AOP 的包, 导入进去就可以完美的运行了。 阅读全文

posted @ 2017-08-14 15:52 哆啦任意门 阅读(1270) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 下一页

导航