Weaving issues with Akka 2.5.12 - can't determine modifiers of missing type akka.cluster.sharding.Shard[Region]
Opened this issue · 1 comments
As the title suggests, something is not working.
The runtime error (during aspectJ weaving) is as follows:
[AppClassLoader@18b4aac2] error can't determine modifiers of missing type akka.cluster.sharding.ShardRegion
when processing type mungers akka.actor.Actor
when processing type mungers
when weaving
[Xlint:cantFindType]
[AppClassLoader@18b4aac2] error can't determine modifiers of missing type akka.cluster.sharding.Shard
when processing type mungers akka.actor.Actor
when processing type mungers
when weaving
[Xlint:cantFindType]
Initially tried with kamon-akka-remote-2.5 % 1.1.0
and akka % 2.5.12
.
Also occurs with latest akka version (2.5.19
) with same errors.
Other kamon modules seem to work fine:
libraryDependencies += "io.kamon" %% "kamon-core" % "1.1.3"
libraryDependencies += "io.kamon" %% "kamon-datadog" % "1.0.0"
libraryDependencies += "io.kamon" %% "kamon-akka-2.5" % "1.0.1"
libraryDependencies += "io.kamon" %% "kamon-system-metrics" % "1.0.0"
libraryDependencies += "io.kamon" %% "kamon-executors" % "1.0.2"
libraryDependencies += "io.kamon" %% "kamon-scala-future" % "1.0.0"
libraryDependencies += "io.kamon" %% "kamon-akka-http-2.5" % "1.1.0"
I'm getting "error can't determine modifiers of missing type akka.http.impl.engine.client.PoolInterfaceActor$PoolRequest"
It seem that akka.http.impl.engine.client.PoolInterfaceActor was removed in akka-http 10.1.9
For you, it is probably you do not have akka-cluster-sharding library in classpath.
Anyway, those are just warnings, no real damage is done. You can get rid of them by overriding aspectj configuration - https://stackoverflow.com/questions/56131932/disable-appclassloader-aspectj-logging-with-spring-boot