Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9237601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:34:14+00:00 2026-06-18T07:34:14+00:00

I have started to extract some functionality into a separate Play module, together with

  • 0

I have started to extract some functionality into a separate Play module, together with some default configuration that I put into a file conf/reference.conf in the module as described for Typesafe’s Config library. This configuration gets picked up just fine, e.g. by functional tests run within the context of the module.

But I seem to be running into some classloader issues once I try to start the application depending on said module, e.g. I get some strange complaint from the Akka subsystem:

No configuration setting found for key 'akka.version'

This exception goes away once I remove the file reference.conf from my module (no other changes), but then obviously the application will not work any more. Currently, the module configuration is in a file conf/module-reference.conf which I include in the main app’s configuration. This works, but I would like to get rid of the include.

I suspect that my reference.conf somehow shadows the one provided by Akka. Did anybody run into this issue before? And what is the best way to solve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:34:16+00:00Added an answer on June 18, 2026 at 7:34 am

    It looks like I am victim of some strange file system inconsistencies:

    • I am deploying the module to Play’s local repository using play publish-locally
    • This same repository is on Eclipse’s build path (created with play eclipsify)
    • Sometimes, the Play main application seems to pick up the module’s JAR when it’s broken somehow

    Workaround:

    • close Eclipse
    • deploy the module locally
    • run a clean build of the main application

    Using this procedure, the application’s configuration works fine.

    Tip

    While looking into this issue, I came across a useful feature of Typesafe’s Config library. You can obtain the whole configuration tree including where each entry comes from using the following line of code:

    val configDump: String = current.configuration().underlying.root().render()
    

    and e.g. dump this to a file for further analysis.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to extract some lines from a text file, I have started
I have some code that I parse and extract some matrices from. Theses matrices
I have a couple of projects that I had started under Xcode 3.2.x some
I have started to look into python and am trying to grasp new things
I have started implementing Subscriptions into my app but I cannot get the API
I have just started to do some network programming. I am using the pcap
I have been using this regular expression to extract file names out of file
I have been writing some code for a lib and experimented with a default
I'm trying to write a query that would extract products that have identical option
We currently have some code to extract digits from an int, but I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.