Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

following error while building the jar file #102

Open
sowmya-bit opened this issue Apr 5, 2023 · 1 comment
Open

following error while building the jar file #102

sowmya-bit opened this issue Apr 5, 2023 · 1 comment

Comments

@sowmya-bit
Copy link

Hi

please help

i encountered following error while building thr jar file

DETAILS:
Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Maven home: /usr/local/Cellar/maven/3.9.1/libexec
Java version: 1.8.0_292, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"

FAILURE :

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.869 s
[INFO] Finished at: 2023-04-05T22:55:46+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sonar-secrets-java: Compilation failure: Compilation failure:
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/PrivateKeys.java:[16,33] package com.google.common.collect does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/APIKeys.java:[16,33] package com.google.common.collect does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/HighEntropy.java:[16,33] package com.google.common.collect does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/AWSCredentials.java:[16,33] package com.google.common.collect does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/RulesList.java:[16,33] package com.google.common.collect does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/Passwords.java:[16,33] package com.google.common.collect does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/MyJavaRulesDefinition.java:[16,37] package com.google.common.annotations does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/MyJavaRulesDefinition.java:[17,33] package com.google.common.collect does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/MyJavaRulesDefinition.java:[18,28] package com.google.common.io does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/MyJavaRulesDefinition.java:[35,41] package org.sonar.squidbridge.annotations does not exist
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/MyJavaRulesDefinition.java:[61,4] cannot find symbol
[ERROR] symbol: class VisibleForTesting
[ERROR] location: class org.sonar.skyscanner.java.MyJavaRulesDefinition
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/PrivateKeys.java:[71,16] cannot find symbol
[ERROR] symbol: variable ImmutableList
[ERROR] location: class org.sonar.skyscanner.java.checks.PrivateKeys
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/APIKeys.java:[62,16] cannot find symbol
[ERROR] symbol: variable ImmutableList
[ERROR] location: class org.sonar.skyscanner.java.checks.APIKeys
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/HighEntropy.java:[59,16] cannot find symbol
[ERROR] symbol: variable ImmutableList
[ERROR] location: class org.sonar.skyscanner.java.checks.HighEntropy
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/checks/AWSCredentials.java:[69,16] cannot find symbol
[ERROR] symbol: variable ImmutableList
[ERROR] location: class org.sonar.skyscanner.java.checks.AWSCredentials
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skyscanner/java/RulesList.java:[33,12] cannot find symbol
[ERROR] symbol: variable ImmutableList
[ERROR] location: class org.sonar.skyscanner.java.RulesList
[ERROR] /Users/TG2008/Downloads/sonar-secrets/java/src/main/java/org/sonar/skysc

Screenshot 2023-04-05 at 10 59 04 PM

@sowmya-bit
Copy link
Author

@adeptex can you please have a look on this error
any help ,please

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant