摘要: 可以先附上一个log4j2的资源文件详细内容,对照着看 1 ### set log levels ### 2 log4j.rootLogger = INFO , C , D , E 3 4 ### console ### 5 log4j.appender.C = org.apache.log4j.C 阅读全文
posted @ 2016-07-06 10:56 Angel挤一挤 阅读(4206) 评论(0) 推荐(0) 编辑
摘要: 在右键项目Update Project之后报错:One or more constraints have not been satisfied.Spring 4.1 requires Java 1.6 or newer. 解决问题: The solution is I have to goto to 阅读全文
posted @ 2016-07-05 16:59 Angel挤一挤 阅读(4195) 评论(1) 推荐(0) 编辑
摘要: 恢复内容开始 有时候在xml文件中,特别是于Spring相关的配置文件中,会出现一些不影响程序正常运行的编译错误,如: 1 Referenced file contains errors (http://www.springframework.org/schema/beans/spring-bean 阅读全文
posted @ 2016-07-05 16:53 Angel挤一挤 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 来源:http://blog.csdn.net/swingpyzf/article/details/46342023/ &&&& http://jinnianshilongnian.iteye.com/blog/2018936 什么是Apache Shiro 1、什么是 apache shiro : 阅读全文
posted @ 2016-07-05 14:01 Angel挤一挤 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 问题1:WEB-INF的问题 今天新创建项目,在JSP中引入外部的JS文件和CSS文件,但是路径一直显示错误: 其中JSP页面引入这几个文件是这么写的: 1 <link rel="stylesheet" href="css/zTreecss/metroStyle/metroStyle.css" ty 阅读全文
posted @ 2016-06-29 17:47 Angel挤一挤 阅读(950) 评论(0) 推荐(0) 编辑
摘要: 1.首先在xml中找到我们需要添加分页符的位置 例如:我需要在这个第一部分上面添加一个分页符 2.找到这个【第一部分】这个位置之后,开始往上找,找到对应的位置 3.在</w:pPr>下方添加分页符代码 1 <w:r> 2 <w:rPr> 3 <w:rFonts w:ascii="微软雅黑" w:ea 阅读全文
posted @ 2016-06-29 15:52 Angel挤一挤 阅读(3286) 评论(0) 推荐(0) 编辑
摘要: 后台封装的数据是个list,传递给前台,显示如下: 1 <c:forEach items="${userInfo}" var="user"> 2 用户Name: ${user.myUserName} <br/> 3 用户Id: ${user.myUserId} <br/> 4 用户电话: ${use 阅读全文
posted @ 2016-06-29 15:36 Angel挤一挤 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 内存溢出可能有如下的错误: 错误1: java.lang.OutOfMemoryError: PermGen space 错误2: Exception in thread "http-apr-8080-exec-2" 出现如上的错误,解决方法如下: 1.双击Tomcat 2.点击open launc 阅读全文
posted @ 2016-06-24 11:23 Angel挤一挤 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 使用maven搭建项目(这个错误和是不是使用maven搭建项目没有关系),然后部署到tomcat中运行。 出现问题1: tomcat跑起来了,但是启动时间很短,没有报错,项目不能正常访问 项目启动时间很短,并且没有报错 并且项目无法正常访问 发现问题过程: 查看tomcat下,发现这个项目在tomc 阅读全文
posted @ 2016-06-23 16:13 Angel挤一挤 阅读(15369) 评论(0) 推荐(0) 编辑
摘要: 在使用SpringMvc的时候,配置文件中我们经常看到 annotation-driven 这样的注解,其含义就是支持注解,一般根据前缀 tx、mvc 等也能很直白的理解出来分别的作用。<tx:annotation-driven/> 就是支持事务注解的(@Transactional) 、<mvc:a 阅读全文
posted @ 2016-06-22 17:16 Angel挤一挤 阅读(4441) 评论(0) 推荐(0) 编辑