You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Leonardo Carvalho <tr...@sibbr.gov.br> on 2016/05/17 16:20:02 UTC

Const.class conflict

  Hi guys.

  I'm creating a StartsWith and IgnoreCase JPARepository method using
SpringData and OpenJPA.
  I've got a strange issue.

  The query is perfect:
[image: Inline image 1]


  But at runtime, it fails with the message:

  "The filter listener "matches" requires a constant argument. "

  And that looks like is caused by using
*com.sun.xml.internal.bind.v2.runtime.reflect.opt.Const* instead of
*org.apache.openjpa.jdbc.kernel.exps.Const* on the test operation at
*org.apache.openjpa.jdbc.kernel.exps.JDBCExpressionFactory* line 175.

[image: Inline image 2]

   I'm using Maven 3 and Java 8. Is there a way to solve this apparent
conflict?

   Thanks

-- 




[image: Signature SiBBr]

*Leonardo Trindade de Carvalho*

*Senior Programmer*

SiBBr | MCTI | PNUMA (UNEP)

Phone: +55 61 3329 6031 r6045
Phone: +55 48 8405 4119

trindade@sibbr.gov.br

www.sibbr.gov.br