Skip to main content
deleted 6 characters in body
Source Link
vaquar khan
  • 11.5k
  • 7
  • 81
  • 103
  1. Makesure args pass inside of run method

    public class GemFireTestLoaderApplication {

    public static void main(String[] args) {

     SpringApplication.run(GemFireTestLoaderApplication.class, args); } 

    }

  2. If you have configureed in xml comment or remove first

    --> -->

Following command you can use to pass properties name

3.1)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

3.2)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html

  1. Makesure args pass inside of run method

    public class GemFireTestLoaderApplication {

    public static void main(String[] args) {

     SpringApplication.run(GemFireTestLoaderApplication.class, args); } 

    }

  2. If you have configureed in xml comment or remove first

    --> -->

Following command you can use to pass properties name

3.1)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

3.2)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html

  1. Makesure args pass inside of run method

    public class GemFireTestLoaderApplication {

    public static void main(String[] args) {

     SpringApplication.run(GemFireTestLoaderApplication.class, args); } 

    }

  2. If you have configureed in xml comment or remove first

    --> -->

Following command you can use to pass properties name

3.1)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

3.2)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html

Source Link
vaquar khan
  • 11.5k
  • 7
  • 81
  • 103

  1. Makesure args pass inside of run method

    public class GemFireTestLoaderApplication {

    public static void main(String[] args) {

     SpringApplication.run(GemFireTestLoaderApplication.class, args); } 

    }

  2. If you have configureed in xml comment or remove first

    --> -->

Following command you can use to pass properties name

3.1)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

3.2)

java -jar GemfireTest-0.0.1-SNAPSHOT.jar --spring.config.location=file:///C:/data/xxx/vaquarkhan/dataLoader/test/config.properties 

https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html