java.lang.RuntimeException: org.springmodules.validation.valang.ParseException: Encountered ":" at line 2, column 49. Was expecting one of: "BETWEEN" ... "NOT BETWEEN" ... "IN" ... "NOT IN" ... <IS_NULL> ... <IS_NOT_NULL> ... "HAS TEXT" ... "HAS NO TEXT" ... "HAS LENGTH" ... "HAS NO LENGTH" ... "IS BLANK" ... "IS NOT BLANK" ... <IS_UPPER_CASE> ... <IS_NOT_UPPER_CASE> ... <IS_LOWER_CASE> ... <IS_NOT_LOWER_CASE> ... "IS WORD" ... "IS NOT WORD" ... <MORE_THAN_OR_EQUAL> ... ">" ... <LESS_THAN_OR_EQUAL> ... "<" ... <NOT_EQUAL> ... <EQUALS> ... "+" ... "-" ... "*" ... <DIVIDE> ... <MOD> ...

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 Spring JIRA by Philipp Gaschütz, 1 year ago
org.springmodules.validation.valang.ParseException: Encountered ":" at line 2, column 49. Was expecting one of: "BETWEEN" ... "NOT BETWEEN" ... "IN" ... "NOT IN" ... <IS_NULL> ... <IS_NOT_NULL> ... "HAS TEXT" ... "HAS
via Spring JIRA by Philipp Gaschütz, 1 year ago
org.springmodules.validation.valang.ParseException: Encountered ":" at line 2, column 49. Was expecting one of: "BETWEEN" ... "NOT BETWEEN" ... "IN" ... "NOT IN" ... <IS_NULL> ... <IS_NOT_NULL> ... "HAS TEXT" ... "HAS
org.springmodules.validation.valang.ParseException: Encountered ":" at line 2, column 49. Was expecting one of: "BETWEEN" ... "NOT BETWEEN" ... "IN" ... "NOT IN" ... <IS_NULL> ... <IS_NOT_NULL> ... "HAS TEXT" ... "HAS NO TEXT" ... "HAS LENGTH" ... "HAS NO LENGTH" ... "IS BLANK" ... "IS NOT BLANK" ... <IS_UPPER_CASE> ... <IS_NOT_UPPER_CASE> ... <IS_LOWER_CASE> ... <IS_NOT_LOWER_CASE> ... "IS WORD" ... "IS NOT WORD" ... <MORE_THAN_OR_EQUAL> ... ">" ... <LESS_THAN_OR_EQUAL> ... "<" ... <NOT_EQUAL> ... <EQUALS> ... "+" ... "-" ... "*" ... <DIVIDE> ... <MOD> ...
at org.springmodules.validation.valang.ValangParser.generateParseException(ValangParser.java:1564)
at org.springmodules.validation.valang.ValangParser.jj_consume_token(ValangParser.java:1444)
at org.springmodules.validation.valang.ValangParser.predicate(ValangParser.java:387)
at org.springmodules.validation.valang.ValangParser.expression(ValangParser.java:225)
at org.springmodules.validation.valang.ValangParser.predicates(ValangParser.java:165)
at org.springmodules.validation.valang.ValangParser.parseValidation(ValangParser.java:100)
at org.springmodules.validation.ValangValidatorFactoryBean$1.(ValangValidatorFactoryBean.java:346)
at org.springmodules.validation.ValangValidatorFactoryBean.afterPropertiesSet(ValangValidatorFactoryBean.java:266)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1058)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at undefined.Test.main(Test.java:24)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.