About 10,300,000 results
Open links in new tab
  1. Spring Boot and multiple external configuration files

    Sep 16, 2014 · -Dspring.config.location=classpath:job1.properties,classpath:job2.properties This will add the 2 properties file to the files that are loaded. The default configuration files and locations are …

  2. Migrating to spring.config.activate.on-profile in Spring Boot 3

    Oct 21, 2023 · 1 I am in the process of migrating an old Spring Boot application from 2.3.5.RELEASE to version 3.1.2 and attempting to update a module that uses configuration file format to align with the …

  3. No spring.config.import property has been defined

    May 12, 2021 · spring.config.import will show as unknown property and there's no way to point the config server anywhere other than localhost:8888. I've read the documentation and tried setting URL …

  4. How to define the spring.config.location on Spring Boot and JUnit tests ...

    Sep 3, 2018 · How we can programmatically configure Spring Boot to define new values to the spring.config.name and spring.config.location properties when running JUnit tests? For example, if …

  5. Importing secrets in Spring Boot application from AWS Secrets Manager

    Dec 16, 2021 · Learn how to import secrets into a Spring Boot application using AWS Secrets Manager for secure and efficient management of sensitive data.

  6. spring cloud config client not loading configuration from config server ...

    May 4, 2015 · The tutorial mentions that you should use the spring-cloud-starter dependency not the spring-cloud-config-client. For the application it doesn't matter where the configuration comes from, …

  7. Setting active profile and config location from command line in Spring …

    Jun 25, 2015 · spring: profiles.active: development The other 3 profile specific config files are present in C:\config folder. I am using gradle plugin for eclipse. When I try to do a " bootRun ", I am setting the …

  8. spring boot .env variables in application.properties

    Jul 20, 2022 · With this example, .env is in the current working directory when the application is run. You can add a path to the file if necessary. [.properties] is telling Spring Boot to treat the file as a Java …

  9. Configure active profile in SpringBoot via Maven - Stack Overflow

    Feb 22, 2017 · or : mvn spring-boot:run -Dmy.active.spring.profiles=integration or : mvn spring-boot:run -Dmy.active.spring.profiles=production And so for... This kind of configuration makes sense as in the …

  10. How to configure CORS in a Spring Boot - Stack Overflow

    May 1, 2016 · 110 Spring Security can now leverage Spring MVC CORS support described in this blog post I wrote. To make it work, you need to explicitly enable CORS support at Spring Security level as …