Problem may be that you have badly configured IDEA project files.

Close IDEA, delete all .idea files and reimport project.

Answer from MarekM on Stack Overflow
🌐
JetBrains
jetbrains.com › help › idea › run-debug-configuration-spring-boot.html
Spring Boot run configuration | IntelliJ IDEA Documentation
In the Run/Debug Configurations dialog, click and select Spring Boot. The Run on option is available with the IntelliJ IDEA Ultimate subscription.
Discussions

IntelliJ IDEA 2022.3 Community Edition not showing Spring Boot as an option for Run Configurations - Stack Overflow
Spring Boot apps can be started via Maven (mvn spring-boot:run) configuration or via Application configuration for the class that has public static void main method, see here. 2023-07-12T17:06:28.15Z+00:00 ... Find the answer to your question by asking. Ask question ... See similar questions with these tags. ... 383 Error: Unfortunately you can't have non-Gradle Java modules and > Android-Gradle modules in one project · 114 intellij ... More on stackoverflow.com
🌐 stackoverflow.com
Intellij Spring Boot project run configuration - Stack Overflow
Show activity on this post. I run my Spring Boot project from the command line using mvn install and then mvn spring-boot:run -Dspring.profiles.active="development". This works fine but is not very convenient. I would like to start it directly from Intellij by clicking the green run button. More on stackoverflow.com
🌐 stackoverflow.com
java - Intellij Does not have run button when running Springboot Applications - Stack Overflow
I downloaded Intellij to follow a Springboot tutorial. It begins by going to Spring Initializr to get all relevant dependencies in a folder and open it up on Intellij. As I open up Intellij, the run More on stackoverflow.com
🌐 stackoverflow.com
No matter how I create my Spring boot project, IntelliJ is unable to recognize the dependencies in pom file and more!
When getting this it's usually a sign of wrong JDK, misconfigured maven. And yeah, you need to let it scan and add dependencies. More on reddit.com
🌐 r/IntelliJIDEA
19
3
March 18, 2024
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360007646760-Run-Debug-Configurations-list-of-templates-doesn-t-have-Spring-Boot
Run/Debug Configurations list of templates doesn't have Spring Boot – IDEs Support (IntelliJ Platform) | JetBrains
I was running my spring boot application with Spring Boot template on Run/Debug Configurations. I haven't changed anything and suddenly my configuration was marked as an "Unknown Configuration" w...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000428264-New-Spring-Boot-Run-dashboard-not-showing-up
New Spring Boot "Run dashboard" not showing up – IDEs Support (IntelliJ Platform) | JetBrains
July 5, 2017 - I would just like to add that this solved the issue for me with checking at the bottom of the Defaults screen and adding Spring Boot to the list of "Configurations available in Run Dashboard" which was prior empty. Annoyingly in the various JetBrains blog posts like on https://blog.jetbrains.com/idea/2017/05/intellij-idea-2017-2-eap-run-dashboard-for-spring-boot/ this crucial step was missed off (unless the process has changed since then) which kept me guessing for about 2 hours.
🌐
JetBrains
jetbrains.com › help › idea › spring-boot.html
Spring Boot | IntelliJ IDEA Documentation
If the Spring Boot run configurations are not available in the Services tool window, either add them or use the Run or Debug tool window. The Beans tab shows the runtime beans of your Spring Boot application.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 5055268381074-Custom-Configuration-Folder-is-not-shown-for-Spring-Boot-project
Custom Configuration Folder is not shown for Spring Boot project – IDEs Support (IntelliJ Platform) | JetBrains
The error is that "class path resource [cvqs_app.properties] cannot be opened because it does not exist" when trying to run with spring boot without first maven run. I was thinking this was about Spring-run cant read properties folder location from pom.xml's <resources> tag and showing custom configuration files would be the solution. I succeed to show custom conf. files thanks to you, but this main problem continues. ... Try the latest. version of IntelliJ IDEA (2022.1).
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-257751 › Spring-Boot-Run-Configurations-missing-from-Services-view-on-startup
Spring Boot Run Configurations missing from Services ...
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
Find elsewhere
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360000125990-Intellij-not-finding-the-config-file
Intellij not finding the config file – IDEs Support (IntelliJ Platform) | JetBrains
Are you sure the issue is caused by not found config file (e.g. check this thread)? When you use Spring Boot run configuration as a classpath it uses the module's output directory of the module, specified in Use classpath of module option in configuration so you can check that the file is indeed present in that directory.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360000397119-Unable-to-run-Springboot-application-in-Intellij
Unable to run Springboot application in Intellij – IDEs Support (IntelliJ Platform) | JetBrains
August 2, 2018 - So my assumption is setting of profile is not working properly. <profiles> <profile> <id>test</id> <build> <finalName>discovery-service</finalName> <resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>*.xml</exclude> <exclude>*.properties</exclude> </excludes> <filtering>false</filtering> </resource> </resources> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <mainClass>DiscoveryServiceApplication</mainClass> <addResources>true</addResources> </configuration> <executions> <executio
🌐
Bootify
bootify.io › learn › next steps › working with intellij
Working with your Spring Boot application in IntelliJ | Bootify.io
July 5, 2024 - Under Build → Build Tools → Gradle the two settings "Build and run using" as well as "Run tests using" can be changed to IntelliJ. That will make the log output during testing and development more consistent. ... Please also check out this article for the proper setup of Lombok in IntelliJ.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 10432396997394-Run-Configurations-disappeared-from-Services-tool-window
Run Configurations disappeared from Services tool window – IDEs Support (IntelliJ Platform) | JetBrains
In my case, I had to add the “Spring boot” configuration type. I don't understand why you did this, I have two running configurations and had to do this hack to see my running configurations in the services tab… Why do I have to know the configuration type to add it to services it's frustrating ! ... Zigzag2341 As Arina mentioned, this is the system behavior of Services tool window: https://www.jetbrains.com/help/idea/using-services-tool-window.html · ..Note that the tool window will only display the configuration types for which you have created one or more configurations.
🌐
Reddit
reddit.com › r/intellijidea › no matter how i create my spring boot project, intellij is unable to recognize the dependencies in pom file and more!
r/IntelliJIDEA on Reddit: No matter how I create my Spring boot project, IntelliJ is unable to recognize the dependencies in pom file and more!
March 18, 2024 -

Like the title states, it doesn't matter if I create a new Spring project using the initialzr, maven archetype, or just standard java project, the dependencies I place in the pom file cannot be located unless I have it completely rebuild the project.

Furthermore, I believe it's having general issues with my pom file since the behavior that I see in the app does not line up with that I am expecting, i.e. projects will stop running immediately even if the spring-boot-starter-web dependency is in my pom file.

It's getting to the point that I dread having to create a new project in IntelliJ.

I'm not looking for temporary solutions since this occurs with every project now. How should I proceed? Would a fresh reinstall of IntelliJ help? Are there any downsides to that?

I apologize if this post is lacking in details, but that's partially because I'm venting my frustration and because I'm not sure how helpful details will be given that this is an ongoing issue.

🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 10751186096146-Environment-variables-in-Spring-Boot-run-configuration-aren-t-available-to-Gradle-during-build
Environment variables in Spring Boot run configuration aren't available to Gradle during build – IDEs Support (IntelliJ Platform) | JetBrains
March 28, 2023 - Your Gradle build will see the environment only if you run Gradle configuration from IntelliJ IDEA. ... Thanks for the response. If I'm understanding right, it sounds like an intentional design decision to not set the environment variables from a run configuration before the build happens? Also, you said that Spring Boot and Application configurations should not set the environment before the build, however Application DOES set the environment variable from the run configuration.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 207698129-Difficulty-Getting-Spring-Boot-Project-Working
Difficulty Getting Spring Boot Project Working – IDEs Support (IntelliJ Platform) | JetBrains
August 12, 2016 - If I go into Run/Debug Configurations, select Spring Boot, then try to type in my main class (com.example.DemoApplication), "example" shows up red and it says it can't resolve symbol. The class with the main method does not have a green arrow. ... IntelliJ IDEA 2016.2.1 Build #IU-162.1447.26, built on August 2, 2016 JRE: 1.8.0_76-release-b216 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
🌐
Medium
guneetgstar.medium.com › how-to-run-spring-boot-applications-on-intellij-idea-for-free-381a2661d409
How to run Spring Boot Applications on IntelliJ IDEA For Free? | by Guneet Singh | Medium
August 13, 2023 - Although the IntelliJ IDEA Ultimate version offers First class support to Spring Applications this is not the case with the Community Edition so let’s see how we can integrate it. For the rest of the article, IntelliJ refers to the Community Edition version only. Open the Spring Boot project in IntelliJ. IntelliJ will automatically identify the pom.xml or build.gradle file in your project and start resolving the dependencies. ... 3. From the configurations dialog box, select Add new..
🌐
Frankel
blog.frankel.ch › spring-boot-integration-intellij-idea
Spring Boot integration in IntelliJ IDEA
August 5, 2018 - However, the dedicated Spring Boot configuration allows specific options: ... To create such a configuration, go to Run Edit Configurations…​. Then, on the right top corner, click on the + button. Finally, fill in the fields adequately. In the application.properties file, standard properties can be auto-completed. For example, if one starts typing "log", available options will be displayed automatically. Even better, IntelliJ IDEA warns if a property is not recognized.