Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
301 views
in Technique[技术] by (71.8m points)

Java Spring Boot Console App Override error

When trying to create a console application using Spring Boot, the @Override annotation is highlighted in red. All the necessary libraries are connected, I do not understand what the problem may be.

Screenshot:

image

question from:https://stackoverflow.com/questions/65856594/java-spring-boot-console-app-override-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The problem is solved. It was necessary to update the JRE System Library. The error was because there was a J2SE 1.5 library. Alt+F5 keyboard shortcut to update the project. The library has been updated to Java SE 1.8.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...