'Spring application.properties is grayed out with Spring Initilizr
I am new to spring and trying to use Spring Initilizr for my project. I am using the code that was generated by this tool after adding dependencies for 'Spring Web' and 'Spring Data Redis'. When I open the generated code in IntelliJ and try to edit the file application.properties, I notice that everything I type there is grayed out. According to IntelliJ it is an 'unused property'.
Any idea how to enable application.properties in my project?
Solution 1:[1]
As it was mentioned in one of the comments, it is indeed an issue with InteliJ. The properties are working as expected, IntelliJ for some reason doesn't display it correctly.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | michael |