亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

求資料下載地址

老師,您的applicationContext.xml文件和log4j.properties文件能共享一下嗎?

正在回答

5 回答

這是applicationContext.xml

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"

xmlns:jdbc="http://www.springframework.org/schema/jdbc" xmlns:jee="http://www.springframework.org/schema/jee"

xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jpa="http://www.springframework.org/schema/data/jpa"

xsi:schemaLocation="

http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd

http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd

http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.2.xsd

http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd

http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd

http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd">

</beans>

這是log4j文件

#--------console-----------

log4j.rootLogger=error,myconsole

log4j.appender.myconsole=org.apache.log4j.ConsoleAppender

log4j.appender.myconsole.layout=org.apache.log4j.SimpleLayout

#--------HTML-----------

#log4j.rootLogger=error,myfile

#log4j.appender.myfile=org.apache.log4j.FileAppender

#log4j.appender.myfile.File=D\:\\error.html

#log4j.appender.myfile.layout=org.apache.log4j.HTMLLayout

#--------txt,log-----------

#log4j.rootLogger=error,myfile

#log4j.appender.myfile=org.apache.log4j.FileAppender

#log4j.appender.myfile.File=D\:\\error.log

#log4j.appender.myfile.layout=org.apache.log4j.PatternLayout


2 回復 有任何疑惑可以回復我~
#1

深大小吳 提問者

謝啦!
2016-08-23 回復 有任何疑惑可以回復我~

謝謝了



0 回復 有任何疑惑可以回復我~

好人一生平安!

0 回復 有任何疑惑可以回復我~

log4j 那個怎么創建文件

0 回復 有任何疑惑可以回復我~
#1

慕瓜4132719

是什么類型的文件啊
2016-09-23 回復 有任何疑惑可以回復我~
#2

qq_明眸_3

新建File 下輸入log4j.properties 就可以了
2016-10-18 回復 有任何疑惑可以回復我~

好人一生平安

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

求資料下載地址

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號