目录结构
pom.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" applictioncontext.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
com.geyao
spring01geyao
1.0-SNAPSHOT
org.springframework
spring-context
4.3.13.RELEASE
org.springframework
spring-test
3.2.0.RELEASE
log4j
log4j
1.2.17
junit
junit
4.12
org.springframework
spring-test
4.3.4.RELEASE
test
org.springframework
spring-test
4.3.4.RELEASE
test
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" log4j.properties
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
### 设置###
log4j.rootLogger = ERROR,stdout
### 输出信息到控制抬 ###
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern = [%-5p] %d{yyyy-MM-dd HH:mm:ss,SSS} method:%l%n%m%n
log4j.category.org.springframework.beans.factory=ERROR
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net