I am using IntelliJ IDEA and all plugins for Spring are activated, but when I load my Maven project I have the following error:
Spring Configuration Check
Unmapped Spring configuration files found.
Please configure/setup Spring facet for modules
Any ideas what prevented it from being configured automatically?
Enable Spring support in IntelliJ IDEA This functionality is not available in IntelliJ IDEA Community Edition and IntelliJ IDEA Edu. Press Ctrl+Alt+S to open the IDE settings and select Plugins. Open the Installed tab, search for Spring and make sure that the checkboxes next to all relevant plugins are selected.
If you only have IntelliJ IDEA CE then you can still create Spring Boot applications. First generate your project directory using https://start.spring.io and then import into IntelliJ IDEA and off you go. Show activity on this post. Show activity on this post.
You can't enable Spring support with IntelliJ community Edition, it only available with paying version (Ultimate). However, you can create the . xml file manually and CE version also supports it (a little bit).
You need to do the following:
It's not entirely clear to me what this achieves apart from getting rid of the warnings! If anyone could shed any light on that it'd be good.
You need to check which configurations IntelliJ will use to provide inspections on wired beans.
Go to File➝Project Structure➝Project Settings➝Modules.
Select your module and selected (or add) the Spring facet.
In the right area you can add or modify application contexts that are used by your module. Just check every configuartion you need in your context.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With