org.hibernate.QueryException: in expected异常

org.hibernate.QueryException: in expected错误错误信息:org.hibernate.QueryException: in expected:sel

org.hibernate.QueryException: in expected错误

错误信息:org.hibernate.QueryException: in expected:select nre from X nre where nre.id=:ruleId

?

其中一个原因是:代码中X需要写上全名即包名才行