google / tsunami-security-scanner-callback-server Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi. My current environment is Java 11 and Ubuntu 22.04. I can run Tsunami security scanner without any problem. However, when I try to build jar file from this repository to run callback server, I encounter with the following error:
ivar@ivar-virtual-machine:~/tsunami-security-scanner-callback-server$ ./gradlew shadowJar
> Task :tcs-storage:compileJava FAILED
/home/ivar/tsunami-security-scanner-callback-server/storage/src/main/java/com/google/tsunami/callbackserver/storage/RedisInteractionStore.java:22: error: cannot find symbol
import com.google.common.annotations.VisibleForTesting.Visibility;
^
symbol: class Visibility
location: @interface VisibleForTesting
/home/ivar/tsunami-security-scanner-callback-server/storage/src/main/java/com/google/tsunami/callbackserver/storage/RedisInteractionStore.java:47: error: cannot find symbol
@VisibleForTesting(productionVisibility = Visibility.PRIVATE)
^
symbol: method productionVisibility()
location: @interface VisibleForTesting
/home/ivar/tsunami-security-scanner-callback-server/storage/src/main/java/com/google/tsunami/callbackserver/storage/RedisInteractionStore.java:47: error: cannot find symbol
@VisibleForTesting(productionVisibility = Visibility.PRIVATE)
^
symbol: variable Visibility
location: class RedisInteractionStore
3 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tcs-storage:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s
9 actionable tasks: 6 executed, 3 up-to-date
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.