Join Slack
Powered by
``` @Value("${spring.artemis.host}:${spring.artemi...
# announcements
x
xenoterracide
02/11/2019, 8:55 PM
Copy code
@Value("${spring.artemis.host}:${spring.artemis.port}"
kotlin says string must be a compile time constant, this should be valid in java, how do I write it in kotlin?
m
Mike
02/11/2019, 8:58 PM
You need to escape the $ so that kotlin isn't attempting to replace the variables.
👍 2
4
Views
Open in Slack
Previous
Next