Hi,
I'm trying to create a Bonita Conector (using Bonita connector archetype) but I can't use the @Value from Spring Boot (returns null).
The implementation that I'm using is:
Conector.properties:
bpm.url=${BPM_URL:http://docker.localhost}
Class:
@Value("${bpm.url}" private String url;
pom.xml:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.2.9.RELEASE</version> </dependency> ; <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>5.2.9.RELEASE</version> </dependency>
When I try, for example, print the value of "url" it returns null. Can someone help me?
Thanks in advance
Diana