카카의 원격 통신에 Akka 액터를 사용하고 있습니다. Akka : 카라프에서 구성을 읽을 수 없습니다.
내가 받는다는을 사용하여 컴파일 한 후 생성 된 jar 파일을 배포
, 나는 다음과 같은 오류가 발생합니다 :Exception in thread "Thread-113" com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'akka.version' at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:152) at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:170) at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:176) at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184) at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189) at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:246) at akka.actor.ActorSystem$Settings.(ActorSystem.scala:168) at akka.actor.ActorSystemImpl.(ActorSystem.scala:522) at akka.actor.ActorSystem$.apply(ActorSystem.scala:142) at akka.actor.ActorSystem$.apply(ActorSystem.scala:119) at org.opendaylight.com.test.rem$$anon$1.run(rem.scala:19)
이 난 다른 답변에서 제안 된 치어 파일에 Maven을 그늘 플러그인을 추가했지만 추가 플러그인은 모든 카라프 기능을 '해결됨'상태로 변경합니다. akka의 구성 파일도 클래스 경로에 있습니다. 내가 아는 한, 구성 파일을 제거한 후에도 동일한 예외가 발생하므로, akka 구성 파일은 전혀 읽히지 않습니다.