title: import statement error for Micronaut - Gradle project in Eclipse JDT
body: <p>I have created a simple micronaut project using mn cli and followed the steps to generate eclipse project (using <code>gradlew eclipse</code> )</p>
  <p>Everything looks fine however when I create any service and annotate with <code>@Singleton</code> annotation, Eclipse gives the error for following import statement,
  <code>import javax.inject.Singleton</code></p>
  <p><a href="https://i.stack.imgur.com/zzuO7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zzuO7.png" alt="enter image description here" /></a></p>
  <p>The error is <code>The import javax.inject.Singleton cannot be resolved</code></p>
  <p>However if I use the wildcard import like,</p>
  <p><a href="https://i.stack.imgur.com/4O7uG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4O7uG.png" alt="enter image description here" /></a></p>
  <p>No issues reported by Eclipse.</p>
  <p>Please note that despite Eclipse showing the error, the project builds and runs perfectly fine from command line using <code>gradlew run</code></p>
  <p>However it's a hinderance in case if I want to debug the code.</p>
  <p>It must be something to do with Eclipse JDT compiler, but I can't figure out.</p>
  <p>Any help is appreciated !</p>