Dropwizard で MYSQL JDBI を使用して IN クエリを実行しようとしています (関係ないと思います)。
@SqlQuery("SELECT id FROM table where field in (<list>)")
List<Integer> findSomething(@BindIn("list") List<String> someList);
hereで提案されているように、クラスにも注釈を付けました
@UseStringTemplate3StatementLocator
しかし、アプリケーションを起動すると、次のエラーが発生します。
Exception in thread "main" java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.skife.jdbi.v2.sqlobject.stringtemplate.UseStringTemplate3StatementLocator.errorListener()
この問題を解決する方法について誰かが良い考えを持っていますか?