Estou recebendo um erro ao rodar o projeto, o comando na VM para utilizar o profile está correto assim como as variáveis estão salvas, mas elas não estão sendo encontradas.
Existe alguma configuração específica no Spring para essa integração com o Windows?
-Dspring.profiles.active=dev
Erro:
021-08-10 20:23:02.431 INFO 1456 --- [ restartedMain] b.c.a.aluraflix.AluraflixApplication : Starting AluraflixApplication using Java 11.0.2 on LAPTOP-ONO5MU85 with PID 1456 (C:\Users\cezar-filho\git\aluraflix-api\aluraflix\target\classes started by cezar-filho in C:\Users\cezar-filho\git\aluraflix-api\aluraflix)
2021-08-10 20:23:02.438 INFO 1456 --- [ restartedMain] b.c.a.aluraflix.AluraflixApplication : The following profiles are active: dev
2021-08-10 20:23:02.534 INFO 1456 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-08-10 20:23:02.534 INFO 1456 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-08-10 20:23:03.922 INFO 1456 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-08-10 20:23:04.071 INFO 1456 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 131 ms. Found 3 JPA repository interfaces.
2021-08-10 20:23:05.353 INFO 1456 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-08-10 20:23:05.372 INFO 1456 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-08-10 20:23:05.373 INFO 1456 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.48]
2021-08-10 20:23:05.558 INFO 1456 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-08-10 20:23:05.559 INFO 1456 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3024 ms
2021-08-10 20:23:05.602 INFO 1456 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-08-10 20:23:05.760 INFO 1456 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-08-10 20:23:05.894 INFO 1456 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-08-10 20:23:05.973 INFO 1456 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.32.Final
2021-08-10 20:23:06.201 INFO 1456 --- [ restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-08-10 20:23:06.471 INFO 1456 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-08-10 20:23:06.484 WARN 1456 --- [ restartedMain] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata
java.lang.RuntimeException: Driver org.postgresql.Driver claims to not accept jdbcUrl, ${ALURAFLIX_DATABASE}