java.lang.IllegalArgumentException: Unable to resolve attribute [its] against path at org.hibernate.

java.lang.IllegalArgumentException: Unable to resolve attribute [its] against path
at org.hibernate.ejb.criteria.path.AbstractPathImpl.unknownAttribute(AbstractPathImpl.java:120)
at org.hibernate.ejb.criteria.path.AbstractPathImpl.locateAttribute(AbstractPathImpl.java:229)
at org.hibernate.ejb.criteria.path.AbstractPathImpl.get(AbstractPathImpl.java:200)
at gov.util.jpa.filter.FilterConverter.getPath(FilterConverter.java:52)
at gov.util.jpa.filter.FilterConverter.convertOrder(FilterConverter.java:233)
at gov.util.jpa.Query.getQuery(Query.java:203)
at gov.util.jpa.impl.BaseJpaDaoImpl.findAllWithRemoved(BaseJpaDaoImpl.java:276)
at gov.util.jpa.impl.BaseJpaDaoImpl.findAll(BaseJpaDaoImpl.java:234)
at gov.util.jpa.impl.BaseJpaDaoImpl$$FastClassBySpringCGLIB$$6bfb1cb7.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633)
at com.wonders.sqjz.dubbo.dao.impl.CommonDaoImpl$$EnhancerBySpringCGLIB$$9c3a3706.findAll()
at com.wonders.sqjz.dubbo.service.impl.ViewServiceImpl.ListJdkhByPid(ViewServiceImpl.java:75)
at com.wonders.sqjz.dubbo.service.impl.ViewServiceImpl$$FastClassBySpringCGLIB$$4ce709a8.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633)
at com.wonders.sqjz.dubbo.service.impl.ViewServiceImpl$$EnhancerBySpringCGLIB$$134c482b.ListJdkhByPid()
at com.alibaba.dubbo.common.bytecode.Wrapper2.invokeMethod(Wrapper2.java)
at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:46)
at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:72)
at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)
at com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:64)

我的问题大致是找不到这个属性值路径,在过滤查询的时候查询的字段名字写错,应该是itl   写成  its

猜你喜欢

转载自blog.csdn.net/adminBfl/article/details/83109887
今日推荐