懒码农。。。。。。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年10月24日

摘要: log4j.properties================================================# Configure logging for testing: optionally with log filelog4j.rootLogger=WARN, stdout# log4j.rootLogger=WARN, stdout, logfilelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLay 阅读全文
posted @ 2011-10-24 17:09 阿彬 阅读(708) 评论(0) 推荐(0)

摘要: 转自:http://blog.csdn.net/gabriel80/article/details/2492608The prefix "tx" for element "tx:advice" is not bound这个错误的原因很简单是:我们在定义申明AOP的时候。。没有加载schema。具体表现如下:<beans><tx:advice id="txAdvice" transaction-manager="transactionManager"> <tx:attributes> 阅读全文
posted @ 2011-10-24 16:39 阿彬 阅读(2680) 评论(0) 推荐(0)

摘要: 添加hibernate之前先增加数据源 window -> open perspective -> myeclipse database explorer -> new -> ...applicationContext.xml class 'org.springframework.orm.hibernate3.LocalSessionFactoryBean'not foundbuild path -> Configure build path -> Add Library -> Myeclipse Libraries ->Spri 阅读全文
posted @ 2011-10-24 16:14 阿彬 阅读(223) 评论(0) 推荐(0)

摘要: excelHandle.WorkBooks.Open excelArr(tmpIndex).ShortPath Set wbSegFile = excelHandle.ActiveWorkbook Set sheetSegFile = excelHandle.WorkSheets(1) 'Set wbSegFile = excelHandle.Workbooks.Open excelArr(tmpIndex).ShortPath 'Set sheetSegFile = wbSegFile.Sheets(1)就算之前设置过excelHandle.Visible = False 程 阅读全文
posted @ 2011-10-24 13:41 阿彬 阅读(1432) 评论(0) 推荐(0)