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 Steve Mayhew, 2 years ago
unexpected token: , near line 1, column 37 [select new java.lang.String('test1'), new java.lang.String('test2') from SomeMappedClass
via Hibernate JIRA by Steve Mayhew, 1 year ago
unexpected token: , near line 1, column 37 [select new java.lang.String('test1'), new java.lang.String('test2') from SomeMappedClass
via Coderanch by Simon Ritchie, 4 months ago
unexpected token: null near line 1, column 12956
via sourceforge.net by Unknown author, 2 years ago
unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c]
via Hibernate JIRA by Rhett Sutphin, 1 year ago
unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c]
via Hibernate JIRA by Rhett Sutphin, 2 years ago
unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c]
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: , near line 1, column 37 [select new java.lang.String('test1'), new java.lang.String('test2')
from SomeMappedClass	at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59)	at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:244)	at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:155)	at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:109)	at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:75)	at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:54)	at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)	at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:134)	at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113)	at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1602)	at net.jvnet.dev.hqe.ThreadHQLQueryExecution.run(Unknown Source)