package com.caffiend.backend;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class BackendApplication {
public static void main(String[] args) {
SpringApplication.run(BackendApplication.class, args);
}
}
I am unable to run the backend because I keep getting errors in this file. I have the latest version of JDK 11 and the same code is running smoothly on my colleagues computer but I do not understand why I am getting this error specifically. photo of error on VS code
Open VSCode
and go to extension and search for "spring". You will find Spring Boot Extension Pack
. You should install it, and restart VSCode
then it will work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.