私はEclipse4rcpプロジェクトでmybatis-guiceを使用しようとしています:
injector = Guice.createInjector(new MyBatisModule() {
@Override
protected void initialize() {
install(JdbcHelper.HSQLDB_Embedded);
bindDataSourceProviderType(PooledDataSourceProvider.class);
bindTransactionFactoryType(JdbcTransactionFactory.class);
addMapperClass(UserMapper.class);
Names.bindProperties(binder, createTestProperties());
bind(FooService.class).to(FooServiceMapperImpl.class);
}
});
例外を取得する:
java.lang.NoSuchMethodError: org.mybatis.guice.AbstractMyBatisModule.bindInterceptor(Lcom/google/inject/matcher/Matcher;Lcom/google/inject/matcher/Matcher;[Lorg/aopalliance/intercept/MethodInterceptor;)
私が間違っているのは何ですか?