Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Issue in using tyepsafe config

Issue in using tyepsafe config

Contributor

Hi Guys,

I am trying to typesafe config in my scala project. I am using Intellij to run this program. But I am getting "Exception in thread "main" com.typesafe.config.ConfigException$Missing: No configuration setting found" error. I also attached the screen shot of the error.

Regards,

P.Mahendiran


typesafe-config.jpg
1 REPLY 1

Re: Issue in using tyepsafe config

Contributor

Hi Guys,

The issue got fixed now. I did the following.

Root Cause:

The system expects the "application.properties" file under main/resources folder. In my project resources folder was missing.

Solution:

I created a folder called "resources" under main and moved "application.properties" under it. Now the issue is fixed. I also attached the screen shot of the fix.

Regards,

P.Mahendiran


typesafe-config-solution.jpg
Don't have an account?
Coming from Hortonworks? Activate your account here