Caused by: javax.persistence.EntityNotFoundException: Unable to find com. with id

刘超 9天前 ⋅ 42 阅读   编辑
javax.persistence.EntityNotFoundException: Unable to find mblog.modules.blog.entity.Catalog with id 2048
	at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.jav
a:144) ~[hibernate-entitymanager-5.0.12.Final.jar:5.0.12.Final]
	at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:236) ~[hibernate-core-5.1.7.Final.jar:5.1.7.Final]
	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:158) ~[hibernate-core-5.1.7.Final.jar:5.1.7.Final]
	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:260) ~[hibernate-core-5.1.7.Final.jar:5.1.7.Final]
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:73) ~[hibernate-core-5.1.7.Final.jar:5.1.7.Final]
	at mblog.modules.blog.entity.Catalog_$$_jvst8c4_3e.getAuthor_id(Catalog_$$_jvst8c4_3e.java) ~[classes/:na]
	at mblog.modules.blog.service.impl.CatalogServiceImpl.getById(CatalogServiceImpl.java:48) ~[classes/:na]
	at mblog.modules.blog.service.impl.CatalogServiceImpl$$FastClassBySpringCGLIB$$6bb3f4cb.invoke(<generated>) ~[classes/:na]
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-5.0.8.RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) ~[spring-aop-5.0.8.RELEASE.jar:5.0.8
.RELEASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.0.8.RELEASE.jar:5.0.8.REL
EASE]
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.0.8.
RELEASE.jar:5.0.8.RELEASE]
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.0.8.RELEASE.jar:5.0.8.RELE
ASE]
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.8.RELEASE.jar:5.0.8.REL
EASE]
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.0.8.RELEASE.jar:5.0.8.R
ELEASE]

https://blog.csdn.net/xingxiupaioxue/article/details/103882873


注意:本文归作者所有,未经作者允许,不得转载

全部评论: 0

    我有话说: