Hello,
I wanted to install the Lagom Build and follwoed the instructions in https://www.lagomframework.com/documentation/1.5.x/java/EclipseMavenNew.html#Check-prerequisites.
- I learned that I need to install additional components, not described on the page like Lombok . Why is this not described on the page?
- Which additional components are needed? I see exceptions about slf4j , Netty , and JNR C Library . Why are these libraries not included?
- Do I need special access rights ? I started Eclipse as admin.
- What else do I need to do? See the Exceptions below.
Many thanks in advance
B4IT
Here the current Exceptions:
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< com.ant.lagom:integration-test >-------------------
[INFO] Building integration-test 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- lagom-maven-plugin:1.6.0-M4:runAll (default-cli) @ integration-test ---
[INFO] Starting Kafka
SLF4J: Failed to load class "org. **slf4j** .impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
WARNING: An illegal reflective access operation has occurred
WARNING: **Illegal reflective access** by javassist.util.proxy.SecurityActions ([file:/C:/Users/BoLud/.m2/repository/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar](file:///C:\Users\BoLud\.m2\repository\org\javassist\javassist\3.24.0-GA\javassist-3.24.0-GA.jar)) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of javassist.util.proxy.SecurityActions
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] DataStax Java driver 3.6.0 for Apache Cassandra
[INFO] Detected Guava >= 19 in the classpath, using modern compatibility layer
[INFO] Starting Cassandra
[INFO] Could not load **JNR C Library** , native system calls through this library will not be available (set this logger level to DEBUG to see the full stack trace).
[INFO] Using java.lang.System clock to generate timestamps.
[INFO] Did not find **Netty's native epoll transport** in the classpath, defaulting to NIO.
[INFO] Cassandra server is not yet started.
The value assigned to
`lagomCassandraMaxBootWaitingTime`
is either too short, or this may indicate another
process is already running on port 4000
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.cassandra.utils.FBUtilities ([file:/C:/Users/BoLud/eclipse-workspace/lagom/integration-tests/target/embedded-cassandra/cassandra-bundle.jar](file:///C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\cassandra-bundle.jar)) to field java.io.FileDescriptor.fd
WARNING: Please consider reporting this to the maintainers of org.apache.cassandra.utils.FBUtilities
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 ([file:/C:/Users/BoLud/.m2/repository/com/google/inject/guice/4.2.2/guice-4.2.2.jar](file:///C:\Users\BoLud\.m2\repository\com\google\inject\guice\4.2.2\guice-4.2.2.jar)) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-08-13T15:19:32.828Z [info] akka.event.slf4j.Slf4jLogger [] - Slf4jLogger started
2019-08-13T15:20:04.864Z [warn] akka.actor.ActorSystemImpl [sourceThread=main, akkaSource=akka.actor.ActorSystemImpl(application), sourceActorSystem=application, akkaTimestamp=15:20:04.862UTC] - Detected that Hostname Verification is disabled globally (via ssl-config's akka.ssl-config.loose.disableHostnameVerification) for the Http extension! This is very dangerous and may expose you to man-in-the-middle attacks. If you are forced to interact with a server that is behaving such that you must disable this setting, please disable it for a given connection instead, by configuring a specific HttpsConnectionContext for use only for the trusted target that hostname verification would have blocked.
2019-08-13T15:20:06.494Z [info] com.lightbend.lagom.registry.impl.ServiceLocatorServer [] - Service locator can be reached at 127.0.0.1
2019-08-13T15:20:06.494Z [info] com.lightbend.lagom.registry.impl.ServiceLocatorServer [] - Service gateway can be reached at 127.0.0.1
[INFO] Service locator is running at http://127.0.0.1:9008
[INFO] Service gateway is running at http://127.0.0.1:9000
[INFO] (Service started, press enter to stop and go back to the console...)
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - **Unable to delete** C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-4-big-Data.db
java.nio.file.AccessDeniedException : C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-4-big-Data.db
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[na:na]
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274) ~[na:na]
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105) ~[na:na]
at java.base/java.nio.file.Files.delete(Files.java:1144) ~[na:na]
at org.apache.cassandra.db.lifecycle.LogTransaction.delete(LogTransaction.java:219) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.run(LogTransaction.java:345)~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.tidy(SSTableReader.java:2288) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$GlobalState.release(Ref.java:321)~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$State.release(Ref.java:220) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref.release(Ref.java:114) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier$1.run(SSTableReader.java:2193) ~[cassandra-bundle.jar:0.62]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81) ~[cassandra-bundle.jar:0.62]
at java.base/java.lang.Thread.run(Thread.java:835) ~[na:na]
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - Failed deletion for C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-4-big,we'll retry after GC and on server restart
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - Unable to delete C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-1-big-Data.db
java.nio.file.AccessDeniedException: C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-1-big-Data.db
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[na:na]
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274) ~[na:na]
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105) ~[na:na]
at java.base/java.nio.file.Files.delete(Files.java:1144) ~[na:na]
at org.apache.cassandra.db.lifecycle.LogTransaction.delete(LogTransaction.java:219)~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.run(LogTransaction.java:345) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.tidy(SSTableReader.java:2288) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$GlobalState.release(Ref.java:321) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$State.release(Ref.java:220) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref.release(Ref.java:114) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier$1.run(SSTableReader.java:2193) ~[cassandra-bundle.jar:0.62]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81) ~[cassandra-bundle.jar:0.62]
at java.base/java.lang.Thread.run(Thread.java:835) ~[na:na]
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - Failed deletion for C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-1-big, we'll retry after GC and on server restart
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - Unable to delete C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-3-big-Data.db
java.nio.file.AccessDeniedException: C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-3-big-Data.db
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[na:na]
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274) ~[na:na]
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105) ~[na:na]
at java.base/java.nio.file.Files.delete(Files.java:1144) ~[na:na]
at org.apache.cassandra.db.lifecycle.LogTransaction.delete(LogTransaction.java:219) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.run(LogTransaction.java:345) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.tidy(SSTableReader.java:2288)~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$GlobalState.release(Ref.java:321) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$State.release(Ref.java:220) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref.release(Ref.java:114) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier$1.run(SSTableReader.java:2193) ~[cassandra-bundle.jar:0.62]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81) ~[cassandra-bundle.jar:0.62]
at java.base/java.lang.Thread.run(Thread.java:835) ~[na:na]
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - Failed deletion for C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-3-big, we'll retry after GC and on server restart
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - Unable to delete C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-2-big-Data.db
java.nio.file.AccessDeniedException: C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-2-big-Data.db
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[na:na]
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[na:na]
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274) ~[na:na]
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105) ~[na:na]
at java.base/java.nio.file.Files.delete(Files.java:1144) ~[na:na]
at org.apache.cassandra.db.lifecycle.LogTransaction.delete(LogTransaction.java:219)~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.run(LogTransaction.java:345) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.tidy(SSTableReader.java:2288)~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$GlobalState.release(Ref.java:321) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref$State.release(Ref.java:220) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.utils.concurrent.Ref.release(Ref.java:114) ~[cassandra-bundle.jar:0.62]
at org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier$1.run(SSTableReader.java:2193) ~[cassandra-bundle.jar:0.62]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)~[na:na]
at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:81) ~[cassandra-bundle.jar:0.62]
at java.base/java.lang.Thread.run(Thread.java:835) ~[na:na]
08/13 17:20:08 ERROR[NonPeriodicTasks:1] o.a.c.d.l.LogTransaction - Failed deletion for C:\Users\BoLud\eclipse-workspace\lagom\integration-tests\target\embedded-cassandra\data\system\local-7ad54392bcdd35a684174e047860b377\mc-2-big, we'll retry after GC and on server restart