I am trying to use properties from a .properties
file, but it doesn\'t seem to work.
Here is my code:
@Service(\"ServiceFTP\")
@Transact
I got same error in my Micro-service, whenever you declare @Value annotation in program i.e @Value("${project.api.key}")
make sure that your application.properties file with same values should not be blank project.api.key= add some values
MostIMP :otherwise it will throw error "Error creating bean with name 'ServiceFTP': Injection of autowired dependencies"