cfpb / hmda-platform

The HMDA Submission backend applications.
Creative Commons Zero v1.0 Universal
102 stars 93 forks source link

Institutions API fails to start #3996

Closed meissadia closed 3 years ago

meissadia commented 3 years ago

Observed locally and in TravisCI.

Snippet from the logs:

[2021-01-20 20:03:41,646][INFO ][hmda-institutions-akka.actor.default-dispatcher-4] Started InstitutionDBProjector

Detected java.lang.NoSuchMethodError error, which MAY be caused by incompatible Akka versions on the classpath. Please note that a given Akka version MUST be the same across all modules of Akka that you are using, e.g. if you use akka-actor [2.6.4 (resolved from current classpath)] all other core Akka modules MUST be of the same version. External projects like Alpakka, Persistence plugins or Akka HTTP etc. have their own version numbers - please make sure you're using a compatible set of libraries.

Uncaught error from thread [hmda-institutions-akka.actor.default-dispatcher-5]: akka.http.scaladsl.Http$.apply(Lakka/actor/ClassicActorSystemProvider;)Lakka/http/scaladsl/HttpExt;, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[hmda-institutions] java.lang.NoSuchMethodError: akka.http.scaladsl.Http$.apply(Lakka/actor/ClassicActorSystemProvider;)Lakka/http/scaladsl/HttpExt;


Full log
institutions_api.log

meissadia commented 3 years ago

Just pulling down the latest changes and rebuilding did not work for me.

This was resolved for me by re-cloning hmda-platform repo.

Next time will try sbt clean as suggested by Patrick.