Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

DynamoDBProxyServer errors during installing #142

Open
alexarsh opened this issue Nov 28, 2021 · 1 comment
Open

DynamoDBProxyServer errors during installing #142

alexarsh opened this issue Nov 28, 2021 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@alexarsh
Copy link

alexarsh commented Nov 28, 2021

Describe what are you trying to achieve

I tried to follow the instructions to have a running server, but fail on this command:

mvn -e -B package

with this exception:

[INFO] Reactor Summary for TextSecureServer 6.84.1-dirty-SNAPSHOT:
[INFO]
[INFO] TextSecureServer ................................... SUCCESS [  1.690 s]
[INFO] redis-dispatch ..................................... SUCCESS [  2.571 s]
[INFO] websocket-resources ................................ SUCCESS [  7.063 s]
[INFO] gcm-sender-async ................................... SUCCESS [  6.900 s]
[INFO] service ............................................ FAILURE [ 10.767 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  30.423 s
[INFO] Finished at: 2021-11-28T20:41:24Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project service: Compilation failure: Compilation failure:
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/storage/DynamoDbExtension.java:[9,52] package com.amazonaws.services.dynamodbv2.local.main does not exist
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/storage/DynamoDbExtension.java:[10,54] package com.amazonaws.services.dynamodbv2.local.server does not exist
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/storage/DynamoDbExtension.java:[40,11] cannot find symbol
[ERROR]   symbol:   class DynamoDBProxyServer
[ERROR]   location: class org.whispersystems.textsecuregcm.storage.DynamoDbExtension
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/LocalDynamoDbRule.java:[9,52] package com.amazonaws.services.dynamodbv2.local.main does not exist
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/LocalDynamoDbRule.java:[10,54] package com.amazonaws.services.dynamodbv2.local.server does not exist
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/LocalDynamoDbRule.java:[21,11] cannot find symbol
[ERROR]   symbol:   class DynamoDBProxyServer
[ERROR]   location: class org.whispersystems.textsecuregcm.tests.util.LocalDynamoDbRule
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/storage/DynamoDbExtension.java:[136,14] cannot find symbol
[ERROR]   symbol:   variable ServerRunner
[ERROR]   location: class org.whispersystems.textsecuregcm.storage.DynamoDbExtension
[ERROR] /home/ubuntu/Signal-Server/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/LocalDynamoDbRule.java:[32,14] cannot find symbol
[ERROR]   symbol:   variable ServerRunner
[ERROR]   location: class org.whispersystems.textsecuregcm.tests.util.LocalDynamoDbRule
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project service: Compilation failure
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:972)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)

Any idea what am I missing?

@alexarsh alexarsh added the help wanted Extra attention is needed label Nov 28, 2021
@adityaasoleh
Copy link

Try running with mvn clean install -DskipTests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants