java.lang.IllegalArgumentException: alias not found: serverIP


Solutions on the web4

Solution icon of hibernate
alias not found: obj

Solution icon of hibernate
alias not found: obj

Stack trace

java.lang.IllegalArgumentException: alias not found: serverIP
	at org.hibernate.loader.hql.QueryLoader.applyLocks(QueryLoader.java:299)
	at org.hibernate.loader.Loader.preprocessSQL(Loader.java:189)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1529)
	at org.hibernate.loader.Loader.doQuery(Loader.java:661)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
	at org.hibernate.loader.Loader.doList(Loader.java:2211)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
	at org.hibernate.loader.Loader.list(Loader.java:2090)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.