有人知道如何配置Eclipse IDE来使用micronaut-inject-java注解处理器吗?
我有一个Gradle构建文件,指定了micronaut注解处理器,在Gradle中我的单元测试运行正确;但是当我通过Eclipse运行测试时不起作用。
我尝试配置项目的属性,告诉IDE使用我Gradle缓存中的注解处理器。
但是当我通过JUnit Eclipse插件运行测试时,总是会收到以下消息:
Failed to evaluate condition [io.micronaut.test.extensions.junit5.MicronautJunit5Extension]: @MicronautTest used on test but no bean definition for the test present. This error indicates a misconfigured build or IDE. Please add the 'micronaut-inject-java' annotation processor to your test processor path (for Java this is the testAnnotationProcessor scope, for Kotlin kaptTest and for Groovy testCompile). See the documentation for reference: https://micronaut-projects.github.io/micronaut-test/latest/guide/