Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Neil Katin, 1 year ago
unexpected token: in [from Person in class com.vcdeals.db2.Person]
via Hibernate JIRA by Neil Katin, 2 years ago
unexpected token: in [from Person in class com.vcdeals.db2.Person]
via Coderanch by sai kinnera, 1 year ago
unexpected token: as [select date1.actualDate,ct.courtName from CourtInformationTypeImpl as ct,DateTypeImpl as date1 where 'XXXX condition XXXX' order by date1.actualDate desc]
via Coderanch by Swetha Gun, 1 year ago
in expected: a [select a from Order_Item a where a.status=2 ]
via java2s.com by Unknown author, 1 year ago
in expected: a [select a from Order_Item a where a.status=2 ]
via Google Groups by Danny, 9 months ago
unexpected token: html [from inode in class com.dotmarketing.portlets.htmlpages.model.HTMLPage html, com.dotmarketing.portlets.htmlpages.model.HTMLPageVersionInfo vv where type='htmlpage' and identifier=vv.identifier and vv.live_inode=inode and vv.deleted=0]
net.sf.hibernate.QueryException: unexpected token: in [from Person in class com.vcdeals.db2.Person]	at net.sf.hibernate.hql.FromParser.token(FromParser.java:89)	at net.sf.hibernate.hql.ClauseParser.token(ClauseParser.java:87)	at net.sf.hibernate.hql.PreprocessingParser.token(PreprocessingParser.java:123)	at net.sf.hibernate.hql.ParserHelper.parse(ParserHelper.java:29)	at net.sf.hibernate.hql.QueryTranslator.compile(QueryTranslator.java:149)	at net.sf.hibernate.hql.QueryTranslator.compile(QueryTranslator.java:138)	at net.sf.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:293)	at net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1530)	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1501)	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1491)	at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1483)	at com.vcdeals.db2.PersonFinder.findAll(PersonFinder.java:47)	at com.vcdeals.servlet.AdminServlet.ensureAdminUser(AdminServlet.java:127)	at com.vcdeals.servlet.AdminServlet.init(AdminServlet.java:108)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3948)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4271)