org.springframework.dao.InvalidDataAccessApiUsageException: Cannot constructQuery '*"los an"'. Use epxression or mulitple clauses instead.

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 Assaf, 1 year ago
Cannot constructQuery '*"los an"'. Use epxression or mulitple clauses instead.
via Spring JIRA by Assaf, 1 year ago
Cannot constructQuery '*"los an"'. Use epxression or mulitple clauses instead.
org.springframework.dao.InvalidDataAccessApiUsageException: Cannot constructQuery '*"los an"'. Use epxression or mulitple clauses instead.
at org.springframework.data.solr.core.query.Criteria.assertNoBlankInWildcardedQuery(Criteria.java:596)
at org.springframework.data.solr.core.query.Criteria.startsWith(Criteria.java:269)
at org.springframework.data.solr.core.query.Criteria.startsWith(Criteria.java:294)
at org.springframework.data.solr.core.query.Criteria.startsWith(Criteria.java:282)
at org.springframework.data.solr.repository.query.SolrQueryCreator.from(SolrQueryCreator.java:106)
at org.springframework.data.solr.repository.query.SolrQueryCreator.create(SolrQueryCreator.java:56)
at org.springframework.data.repository.query.parser.AbstractQueryCreator.createCriteria(AbstractQueryCreator.java:109)
at org.springframework.data.repository.query.parser.AbstractQueryCreator.createQuery(AbstractQueryCreator.java:88)
at org.springframework.data.solr.repository.query.PartTreeSolrQuery.createQuery(PartTreeSolrQuery.java:46)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

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.