Closed markwilkinson closed 1 year ago
any thoughts on this? It's blocking a project I'm responsible for.
Thanks!
Hello Mark,
According to the posted error, it seems like there is a duplicate key instance
. My guess is that the problem is in ./fdp/application-index.yml
. Can you check that file on line 1 and line 16 to see if there is a duplicate key? Maybe it is some copy-paste error?
That was it... sorry to bother you!
The Question
Any suggestions how to troubleshoot this startup error:
fdp_1 | 2023-06-29 08:36:52,188 6934 [main] ERROR org.springframework.boot.SpringApplication - Application run failed fdp_1 | org.yaml.snakeyaml.constructor.DuplicateKeyException: while constructing a mapping fdp_1 | in 'reader', line 1, column 1: fdp_1 | instance: fdp_1 | ^ fdp_1 | found duplicate key instance fdp_1 | in 'reader', line 16, column 1: fdp_1 | instance: fdp_1 | ^
I have another FDP running on the same machine, but they should be completely isolated - different networks, different ports, different volumes. I have 5 FDPs running on my other server and they're all quite happy together!
Additional context