I\'m new to Intellij 14.0 . I was using Netbeans, but my colleagues told me to shift to intellij and so I did.
I need to run the same project that I ran on netbeans
Go to File/Project Structure/Modules, click the green plus icon, select Spring from the dropdown and select your module in the next dialog.
Then click the green plus in the right pane, click plus and select your Spring configuration files and classes and click OK.
Also take a look at IntelliJ Help for Spring Facet.
Just ran into this issue out of the blue today—my build was working last night, and this morning it stopped working—so I figured I'd post my solution using IntelliJIDE CE 2019.1.
Error Messages (to help people find this answer)
package org.springframework.transaction.annotation does not exist
package org.springframework.boot does not exist
Unknown facet type: 'Spring'
Unknown facet type: 'web'
Step 0: Update IntelliJ
Menu: IntelliJIDE > Check for Updates (Mac OSX)
Step 1: Clean out Maven repo and re-download dependencies to ensure that the sources are not corrupt. This will take 5+min.
$ cd [project_directory]
$ mvn dependency:purge-local-repository
Step 2: Preform a clean install.
$ mvn clean install
Step 3: Update IntelliJIDE's Repository Indexes:
Related Questions
IntelliJ Ultimate 2018 - the manual way:
The automatic way: