08 2017 档案

Servlet 3.0 使用注解配置URl提示404错误
摘要:Servlet 3.0 使用注解配置 阅读全文

posted @ 2017-08-31 23:49 哆啦任意门 阅读(1773) 评论(0) 推荐(0)

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SpringStruts]]
摘要:今天启动Tomcat时候遇到了这个问题 Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SpringStruts]] 一个一个看 首先去掉项目 把 tomcat 阅读全文

posted @ 2017-08-31 23:22 哆啦任意门 阅读(197) 评论(0) 推荐(0)

Dynamic web module 版本之间的区别
摘要:Dynamic web module 阅读全文

posted @ 2017-08-30 20:44 哆啦任意门 阅读(679) 评论(0) 推荐(0)

Eclipse dynamic web project 插件
摘要:下载了Eclipse Oxygen 发现没有Dynamic web Project 首先我们先了解下Dynamic Web Project If you want to create a content-based Web application that does not contain any 阅读全文

posted @ 2017-08-29 22:13 哆啦任意门 阅读(1190) 评论(0) 推荐(0)

Download the Hibernate Tools
摘要:Hibernate Tools for Eclipse 阅读全文

posted @ 2017-08-27 16:45 哆啦任意门 阅读(1579) 评论(0) 推荐(0)

并发事务 可能导致的问题
摘要:并发事务 可能导致的问题 阅读全文

posted @ 2017-08-26 10:51 哆啦任意门 阅读(5607) 评论(0) 推荐(0)

(转)添加PROPAGATION_REQUIRES_NEW 事务没有产生作用
摘要:PROPAGATION_REQUIRES_NEW 阅读全文

posted @ 2017-08-25 12:00 哆啦任意门 阅读(8487) 评论(1) 推荐(0)

添加事务后 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 哆啦任意门 阅读(1098) 评论(0) 推荐(0)

junit initializationError和找不到或无法加载主类
摘要:initializationError 阅读全文

posted @ 2017-08-20 16:48 哆啦任意门 阅读(789) 评论(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 哆啦任意门 阅读(7982) 评论(0) 推荐(0)

出现java.sql.SQLException: No suitable driver的几种解决办法
摘要:C3P0 :No suitable driver 阅读全文

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

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

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

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 哆啦任意门 阅读(2428) 评论(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 哆啦任意门 阅读(924) 评论(0) 推荐(0)

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 哆啦任意门 阅读(304) 评论(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 哆啦任意门 阅读(495) 评论(0) 推荐(0)

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 哆啦任意门 阅读(1289) 评论(0) 推荐(0)

Spring 级联属性
摘要:Spring 级联 阅读全文

posted @ 2017-08-10 20:01 哆啦任意门 阅读(1176) 评论(0) 推荐(0)

导航