IntelliJ IDEA 13.1.0 Web Help

Prior to using annotations, they should be enabled in project.

To enable annotations in a project, follow these general steps
  1. Click projectStructure to open the project structure dialog.
  2. In the Project Structure dialog box, click Libraries.
  3. Click add. Select Library Files dialog box opens.
  4. Under that <IntelliJ IDEA home> directory, select lib/annotation.jar, and click OK:


  5. If your project contains more than one module, choose the desired module to be modified, and click OK:


The new library is added to the classpath:


See Also


Web Resources: