matteobaccan / owner

Get rid of the boilerplate code in properties based configuration.

Home Page:https://matteobaccan.github.io/owner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Owner Properties File Location

nicholaswkc34 opened this issue · comments

I put my config.properties file in src/test/resources/config.properties at intellij IDE.

When i initiaze this code

@Config.Sources({"classpath:config.properties"}) public interface PropertiesManager extends Config {

It cannot be found the file but the file is located at target/test-classes/config.properties. It just cannot find the file.

How to declare properly. Thanks. Please help.

@peterwkc85 Read the docs, check the examples.