I can not get the values from my application.properties. They come null

0

This is my project structure.

This is the class to get the values of the application.properties. Note that I have commented @value because it works with that annotation.

In this class I configure the connections to mongo. In the system.out.print comes null.

This is my application.properties

    
asked by Carlos Sierra Fernandez 16.11.2017 в 13:36
source

0 answers