Skip to content
Advertisement

com.typesafe.config.ConfigException$Missing: reference.conf: No configuration setting found for key ‘default’

I created a jar file of my Akka application. When I run the jar file by the command

java -jar file.jar

then I see this error. What could be possibly wrong and how can I fix this?

JavaScript

Advertisement

Answer

This kind of error happens when the application is unable to found the reference.conf configuration file in the classpath.

Make sure such file is present in the jar you’ve built.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement