Skip to content

Instantly share code, notes, and snippets.

@mwin007
Last active April 30, 2020 19:22
Show Gist options
  • Save mwin007/0ee410db9d05d31e05350fdb7758c751 to your computer and use it in GitHub Desktop.
Save mwin007/0ee410db9d05d31e05350fdb7758c751 to your computer and use it in GitHub Desktop.

import javax.annotation.* cannot be resolved in Eclipse's Java 10 Compiler

You can try to add annotation dependencies to pom.xml, so that they would be available for Spring:

<dependency>
  <groupId>javax.annotation</groupId>
  <artifactId>javax.annotation-api</artifactId>
  <version>1.3.2</version>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment