Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These settings have the JDK home setup for OS X (/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home). For Linux, select  File... Project Structure... SDKs... then edit the JDK home path for 1.8 to be /usr/lib/jvm/java-8-oracle. If IntelliJ is throwing errors such as "cannot resolve symbol string", the JDK home is likely incorrect.

If IntelliJ is throwing errors like "The package 'org.onosproject.cluster' is not exported by the bundle dependencies," go to IntelliJ IDEA->Preferences. On the sidebar, under the Editor dropdown section, select Inspections. From there, search OSGi and under the dropdown, uncheck Package accessibility inspections and press OK.

Importing the Copyright header

...