io.dropwizard.configuration.UndefinedEnvironmentVariableException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • io.dropwizard.configuration.UndefinedEnvironmentVariableException: The environment variable 'TOKEN_SECRET' is not defined; could not substitute the expression '${TOKEN_SECRET}'. at io.dropwizard.configuration.EnvironmentVariableLookup.lookup(EnvironmentVariableLookup.java:41) at org.apache.commons.lang3.text.StrSubstitutor.resolveVariable(StrSubstitutor.java:726) at org.apache.commons.lang3.text.StrSubstitutor.substitute(StrSubstitutor.java:649) at org.apache.commons.lang3.text.StrSubstitutor.substitute(StrSubstitutor.java:563) at org.apache.commons.lang3.text.StrSubstitutor.replace(StrSubstitutor.java:305) at io.dropwizard.configuration.SubstitutingSourceProvider.open(SubstitutingSourceProvider.java:39) at io.dropwizard.configuration.YamlConfigurationFactory.build(YamlConfigurationFactory.java:80) at io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:124) at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:72) at io.dropwizard.cli.Cli.run(Cli.java:75) at io.dropwizard.Application.run(Application.java:79)
No Bugmate found.