第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

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

public List<Seckill> queryAll(int offset, int limit); 沒有給定參數(shù)名稱時,系統(tǒng)日志沒有打印報錯信息

測試查詢所有秒殺商品時,雖然沒有通過,但是控制臺沒有給出報錯信息。這是什么原因呢?

以下是給出的信息:

七月 02, 2016 5:10:45 下午 org.springframework.test.context.support.DefaultTestContextBootstrapper getDefaultTestExecutionListenerClassNames
信息: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
七月 02, 2016 5:10:45 下午 org.springframework.test.context.support.DefaultTestContextBootstrapper getTestExecutionListeners
信息: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@48a242ce, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1e4a7dd4, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4f51b3e0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4b9e255, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5e57643e]
七月 02, 2016 5:10:45 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [spring-dao.xml]
七月 02, 2016 5:10:46 下午 org.springframework.context.support.GenericApplicationContext prepareRefresh
信息: Refreshing org.springframework.context.support.GenericApplicationContext@70b0b186: startup date [Sat Jul 02 17:10:46 CST 2016]; root of context hierarchy
七月 02, 2016 5:10:46 下午 org.springframework.beans.factory.config.PropertyPlaceholderConfigurer loadProperties
信息: Loading properties file from class path resource [jdbc.properties]
七月 02, 2016 5:10:46 下午 com.mchange.v2.log.MLog <clinit>
信息: MLog clients using java 1.4+ standard logging.
七月 02, 2016 5:10:47 下午 com.mchange.v2.c3p0.C3P0Registry banner
信息: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
17:10:47.380 [main] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
17:10:47.593 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed configuration file: 'class path resource [mybatis-config.xml]'
17:10:47.711 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [D:\ranjiexu\eclipseworkspace\seckill\target\classes\mapper\SeckillMapper.xml]'
17:10:47.745 [main] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [D:\ranjiexu\eclipseworkspace\seckill\target\classes\mapper\SuccessKilledMapper.xml]'
17:10:50.611 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
17:10:50.646 [main] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@617fe9e1] was not registered for synchronization because synchronization is not active
17:10:50.662 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@617fe9e1]
七月 02, 2016 5:12:58 下午 org.springframework.context.support.GenericApplicationContext doClose
信息: Closing org.springframework.context.support.GenericApplicationContext@70b0b186: startup date [Sat Jul 02 17:10:46 CST 2016]; root of context hierarchy


正在回答

3 回答

到JUnit下看下呢

http://img1.sycdn.imooc.com//5779c56f0001064411930271.jpg

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

ranjiexu 提問者

JUnit中有報錯信息,可是為什么控制臺沒有呢?
2016-07-04 回復(fù) 有任何疑惑可以回復(fù)我~
#2

ranjiexu 提問者

非常感謝!
2016-07-25 回復(fù) 有任何疑惑可以回復(fù)我~

我的junit一直卡在Validating seckill不動是咋回事

0 回復(fù) 有任何疑惑可以回復(fù)我~


要控制臺打日志,可以使用slf4j+logback等日志記錄;

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

public List<Seckill> queryAll(int offset, int limit); 沒有給定參數(shù)名稱時,系統(tǒng)日志沒有打印報錯信息

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號