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

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

這是什么錯(cuò)呀,老師,沒(méi)有引錯(cuò)包,還是找不到實(shí)體


嚴(yán)重: Servlet.service() for servlet [SpringMVC] in context with path [/SSH2] threw exception [Request processing failed; nested exception is org.hibernate.MappingException: Unknown entity: Person.class] with root cause

org.hibernate.MappingException: Unknown entity: Person.class

at org.hibernate.internal.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:1096)

at org.hibernate.internal.SessionImpl.getOuterJoinLoadable(SessionImpl.java:1758)

at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1663)

at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:380)

at com.imooc.ssh.dao.PersonDao.getPerson(PersonDao.java:30)

at com.imooc.ssh.service.PersonService.getPerson(PersonService.java:21)

at com.imooc.ssh.service.PersonService$$FastClassBySpringCGLIB$$e55347e5.invoke(<generated>)

at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)

at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)

at com.imooc.ssh.service.PersonService$$EnhancerBySpringCGLIB$$cd70b298.getPerson(<generated>)

at com.imooc.ssh.controller.PersonController.getPerson(PersonController.java:27)

這是什么錯(cuò)呀,包也沒(méi)引錯(cuò)



正在回答

2 回答

或許忘記寫(xiě)注解了?

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

PersonService.java:21? 這個(gè)類(lèi)的21行有錯(cuò),去看一下

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

舉報(bào)

0/150
提交
取消

這是什么錯(cuò)呀,老師,沒(méi)有引錯(cuò)包,還是找不到實(shí)體

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

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

幫助反饋 APP下載

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

公眾號(hào)

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