Comments (2)
Sorry, I missed a step setting up Bazel.
from upvote_py2.
Getting this error now, any ideas?
+ echo Deploying to App Engine...
Deploying to App Engine...
+ bazel run upvote/gae:monolith_binary.deploy -- upvote-poc-212202 app.yaml santa_api.yaml bit9_api.yaml
INFO: Analysed target //upvote/gae:monolith_binary.deploy (0 packages loaded).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_eric/97b3245fab14e6547af8f814eabea6a9/external/io_bazel_rules_closure/java/io/bazel/rules/closure/webfiles/compiler/BUILD:17:1: Compiling Java headers external/io_bazel_rules_closure/java/io/bazel/rules/closure/webfiles/compiler/libcompiler-hjar.jar (1 files) and running annotation processors (ComponentProcessor) failed (Exit 1)
java.lang.RuntimeException: java.lang.NoClassDefFoundError: javax/annotation/Generated
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:158)
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:96)
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:90)
at com.google.devtools.build.java.turbine.javac.JavacTurbineCompiler.compile(JavacTurbineCompiler.java:100)
at com.google.devtools.build.java.turbine.javac.JavacTurbine.compile(JavacTurbine.java:147)
at com.google.devtools.build.java.turbine.javac.JavacTurbine.compile(JavacTurbine.java:88)
at com.google.devtools.build.java.turbine.javac.JavacTurbine.compile(JavacTurbine.java:81)
at com.google.devtools.build.java.turbine.Turbine.compile(Turbine.java:118)
at com.google.devtools.build.java.turbine.Turbine.compile(Turbine.java:67)
at com.google.devtools.build.java.turbine.Turbine.main(Turbine.java:46)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/Generated
at dagger.internal.codegen.SourceFileGenerator.<clinit>(SourceFileGenerator.java:43)
at dagger.internal.codegen.ComponentProcessor.initSteps(ComponentProcessor.java:119)
at dagger.shaded.auto.common.BasicAnnotationProcessor.init(BasicAnnotationProcessor.java:119)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:675)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:774)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:869)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2200(JavacProcessingEnvironment.java:108)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1206)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1246)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:922)
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:100)
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:142)
... 9 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.Generated
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 22 more
Target //upvote/gae:monolith_binary.deploy failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 5.382s, Critical Path: 2.06s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
from upvote_py2.
Related Issues (20)
- bazel issue when deploying to app engine HOT 4
- unexpected keyword 'overwrite_appengine_config' error while deploying the app to app engine HOT 5
- missing package.json HOT 3
- Unable to deploy single service with latest release HOT 2
- transient errors HOT 7
- clean full sync error HOT 1
- UI: searching by host ID broken HOT 4
- logupload endpoint missing HOT 9
- bazel issue when trying to deploy to app engine HOT 9
- Error running bezel with the init script HOT 8
- Error Running init_project.sh HOT 1
- DeadlineExceededError
- Error in npm
- init script deploy error HOT 3
- no such package '@com_google_javascript_closure_compiler//'
- Is this project still alive? HOT 1
- change 'whitelist' to 'allowlist' HOT 5
- Transitive / Compiler Rule Support HOT 1
- 500 server error from /_ah/queue/deferred? HOT 1
- Actively Maintained or Abandoned? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upvote_py2.