Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Omkar Prabhu Gaonkar
, 1 year ago
The environment variable 'TOKEN_SECRET' is not defined; could not substitute the expression '${TOKEN_SECRET}'.
via Stack Overflow by kaleeway
, 4 months ago
The environment variable 'RDS_USERNAME' is not defined; could not substitute the expression '${RDS_USERNAME}'.
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)