随笔分类 -  Java

上一页 1 2 3 下一页

Java
Struts 2.5 Filter mapping specifies an unknown filter name [struts2]
摘要:问题一:java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[ 阅读全文

posted @ 2017-09-03 15:44 哆啦任意门 阅读(661) 评论(0) 推荐(0)

Spring在JSP页面使用ServletContext
摘要:在 JSP 页面使用Application 可以 看到使用的是WebApplicationContextUtils 而不是WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE 如下图 //1.从application域对象中得到IO 阅读全文

posted @ 2017-09-03 11:31 哆啦任意门 阅读(802) 评论(0) 推荐(0)

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

posted @ 2017-08-31 23:49 哆啦任意门 阅读(1771) 评论(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 哆啦任意门 阅读(194) 评论(0) 推荐(0)

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

posted @ 2017-08-30 20:44 哆啦任意门 阅读(678) 评论(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 哆啦任意门 阅读(1186) 评论(0) 推荐(0)

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

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

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

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

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

posted @ 2017-08-25 12:00 哆啦任意门 阅读(8476) 评论(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 哆啦任意门 阅读(1093) 评论(0) 推荐(0)

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

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

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

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

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 哆啦任意门 阅读(2424) 评论(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 哆啦任意门 阅读(920) 评论(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 哆啦任意门 阅读(301) 评论(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 哆啦任意门 阅读(493) 评论(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 哆啦任意门 阅读(1282) 评论(0) 推荐(0)

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

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

Eclipse 版本选择
摘要:Eclipse 版本号 阅读全文

posted @ 2017-07-30 22:18 哆啦任意门 阅读(4670) 评论(0) 推荐(0)

上一页 1 2 3 下一页

导航