IntelliJ,Akka和配置文件 [英] IntelliJ, Akka and Configuration files

查看:141
本文介绍了IntelliJ,Akka和配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 akka 时,我将 akka.conf 放入的src /主/资源。当我通过sbt运行时, akka.conf 被正确识别。但是当我通过IntelliJ运行时(即使在 gen-idea 之后)。完成此任务的适当方法是什么?

When using akka, I place akka.conf in src/main/resources. When I run through sbt, the akka.conf is correctly recognized. But not when I run through IntelliJ (even after a gen-idea). What is the appropriate way to accomplish this?

推荐答案

放入 .conf 扩展设置(Mac上的偏好设置编译器 | 资源模式

Put the .conf extension in Settings (Preferences on Mac) | Compiler | Resource Patterns.

这篇关于IntelliJ,Akka和配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆