Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用akka时,我放置akka.conf在src/main/resources. 当我run通过 sbt 时,它akka.conf被正确识别。但不是当我通过 IntelliJ 运行时(即使在 a 之后gen-idea)。实现此目的的适当方法是什么?
akka.conf
src/main/resources
run
gen-idea
将.conf扩展名放入Settings(Preferences在 Mac 上)| Compiler| Resource Patterns.
.conf
Settings
Preferences
Compiler
Resource Patterns