TIP: Lagom 1.5.X + IDEA + Maven

(Sergey Morgunov) #1

For run Lagom service on Dev-Mode from IDEA you need to use the newest (3.6.0+) Maven version.
Otherwise, you will get the following error:

[ERROR] Caused by: java.lang.IllegalArgumentException: Can not set org.eclipse.aether.spi.log.Logger field org.apache.maven.repository.internal.DefaultVersionResolver.logger to org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory

There are two ways to do this:

  1. Use Maven Wrapper and Maven Wrapper support plugin for IDEA.

  2. Manually to set the newest version of Maven in settings:

1 Like