IntelliJ: Cannot resolve symbol 'springframework'
<p>I'm trying to start my first project with Spring. I use IntelliJ idea and I'm kind of new to it too. But anyways, I followed the step written on the Jetbrains website and I don't know what I have done wrong, but I got a lot of errors on the first to files that are created by default.</p>
<p>BloomBookingApplcation.java</p>
<pre><code>package com.bloombooking;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class BloomBookingApplication {

    public static void main(String[] args) {
        SpringApplication.run(BloomBookingApplication.class, args);
    }
}

Error:(3, 12) Cannot resolve symbol 'springframework'
Error:(4, 12) Cannot resolve symbol 'springframework'
Error:(6, 2) Cannot resolve symbol 'SpringBootApplication'
Warning:(7, 1) Access can be packageLocal
Error:(9, 26) Cannot resolve symbol 'String'
Error:(10, 3) Cannot resolve symbol 'SpringApplication'
</code></pre>
<p>Maybe I'm stupid but I don't know which step I've missed...</p>
<p>How can I fix this?</p>
<p>I have found the way to add spring with the quickfix button.</p>
<p>But now I have got new errors I don't understand why... I should maybe download it directly and put the libraries one by one maybe?</p>
<pre><code>Error:(3, 28) Cannot resolve symbol 'boot'
Error:(4, 28) Cannot resolve symbol 'boot'
Error:(6, 2) Cannot resolve symbol 'SpringBootApplication'
Warning:(7, 1) Access can be packageLocal
Error:(9, 26) Cannot resolve symbol 'String'
Error:(10, 3) Cannot resolve symbol 'SpringApplication'
</code></pre>
<p>Or maybe it's my IntelliJ idea which isn't configured right since I don't have any completion anywhere and I can't create packages...</p>