Skip to content

Akka configuration file is not attached in jar file #2

Description

@martinvich

application.conf is not attached in jar file. GridPattern project is throwing following exception

Exception in thread "main" com.typesafe.config.ConfigException$Missing: No configuration setting found for key ....

This happens because default maven directory layout takes resources from src/main/resources and these projects are using src/resource directory.

To fix this issue add following code into pom.xml

 <build>
    <resources>
     <resource>
         <directory>src/resource</directory>
     </resource>
    </resources>
</build>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions