[java, spring]Question about setting up an intelligence.

Asked 2 years ago, Updated 2 years ago, 60 views

Recently, I started studying spring, so I'm not used to Intellie J. Until yesterday, the spring project worked properly, but when I imported the new project yesterday and used it and accessed the spring project again today, the .java mark came out as shown in Figure 2, and it didn't even build by class.

I want to set it up so that it comes out as Java class right away like picture number 1, is there any solution?

For your information, the spring project seems to be using a gradle because there is a .gradle in the root folder

java spring-boot intellij-idea

2022-09-20 19:16

1 Answers

Is the development environment Mac? Once you have a Mac, press "command" + ";" to get the project structure. From there, you can select the file with the source code (usually src) in the project Setting -> modes -> "Select Module" -> right screen and clip the source in mark as:


2022-09-20 19:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.