java.lang.IllegalArgumentException: Unable to resolve attribute [its] against path at org.hibernate.
阿新 • • 發佈:2018-12-10
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