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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

debug報(bào)錯(cuò) 求解問題出在哪里了 感謝

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'sqlSessionFactionBeanName' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer]: Bean property 'sqlSessionFactionBeanName' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
?? ?at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1076)
?? ?at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:927)
?? ?at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)
?? ?at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1510)
?? ?... 41 more

四月 04, 2017 11:56:08 上午 org.springframework.test.context.TestContextManager prepareTestInstance
嚴(yán)重: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@f2f2cc1] to prepare test instance [org.seckill.dao.SeckillDaoTest@36a5cabc]
java.lang.IllegalStateException: Failed to load ApplicationContext
?? ?at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:94)
?? ?at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72)
?? ?at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
?? ?at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
?? ?at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212)
?? ?at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200)
?? ?at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:259)
?? ?at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
?? ?at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:261)
?? ?at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:219)
?? ?at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
?? ?at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
?? ?at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
?? ?at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
?? ?at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
?? ?at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
?? ?at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
?? ?at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
?? ?at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
?? ?at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
?? ?at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
?? ?at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' defined in class path resource [spring/spring-dao.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sqlSessionFactionBeanName' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer]: Bean property 'sqlSessionFactionBeanName' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1514)
?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
?? ?at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
?? ?at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
?? ?at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
?? ?at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
?? ?at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:116)
?? ?at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
?? ?at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
?? ?at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125)
?? ?at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
?? ?at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109)
?? ?at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261)
?? ?at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68)
?? ?at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86)
?? ?... 25 more
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'sqlSessionFactionBeanName' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer]: Bean property 'sqlSessionFactionBeanName' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
?? ?at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1076)
?? ?at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:927)
?? ?at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)
?? ?at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1510)
?? ?... 41 more


正在回答

1 回答

http://img1.sycdn.imooc.com//58e4bbcc000179ff07950135.jpg

你看看你spring-dao.xml里面的 圖上顯示的位置 有錯(cuò)沒。有沒有輸錯(cuò)的單詞什么的

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

慕移動(dòng)7208282 提問者

我檢查后是那個(gè)路徑?jīng)]對(duì)改完以后出現(xiàn)
2017-04-05 回復(fù) 有任何疑惑可以回復(fù)我~
#2

慕移動(dòng)7208282 提問者

你說的那里確實(shí)寫的和老師不一樣 改過來了 感謝啊
2017-04-05 回復(fù) 有任何疑惑可以回復(fù)我~
#3

慕移動(dòng)7208282 提問者

請(qǐng)問下你是如何知道那里出錯(cuò)的 我是新手見諒。。
2017-04-05 回復(fù) 有任何疑惑可以回復(fù)我~
#4

CHFFOPSAIE 回復(fù) 慕移動(dòng)7208282 提問者

caused by后面一般跟的都是原因,就像你這個(gè)顯示的 Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'sqlSessionFactionBeanName' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer] ''引號(hào)引著的 和 []中括號(hào)括著的 一般都是名稱和路徑,所以就可以知道哪個(gè)文件的哪里出錯(cuò)了。
2017-04-05 回復(fù) 有任何疑惑可以回復(fù)我~
#5

慕移動(dòng)7208282 提問者 回復(fù) CHFFOPSAIE

知道了 感謝
2017-04-06 回復(fù) 有任何疑惑可以回復(fù)我~
查看2條回復(fù)

舉報(bào)

0/150
提交
取消

debug報(bào)錯(cuò) 求解問題出在哪里了 感謝

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

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

幫助反饋 APP下載

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

公眾號(hào)

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