Unable to build Cassandra source - ant
I have cloned Cassandra from github https://github.com/apache/cassandra
however I am unable to "ant build" the poject I am getting this error
maven-ant-tasks-retrieve-build:
[artifact:dependencies] [WARNING] POM for 'xmlenc:xmlenc:pom:0.52:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'commons-httpclient:commons-httpclient:pom:3.0.1:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jetty:pom:6.1.26:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jetty-util:pom:6.1.26:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'tomcat:jasper-runtime:pom:5.5.12:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'tomcat:jasper-compiler:pom:5.5.12:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jsp-api-2.1:pom:6.1.14:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jsp-2.1:pom:6.1.14:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'commons-el:commons-el:pom:1.0:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'net.java.dev.jets3t:jets3t:pom:0.7.1:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'net.sf.kosmosfs:kfs:pom:0.3:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'hsqldb:hsqldb:pom:1.8.0.10:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.codehaus.jackson:jackson-mapper-asl:pom:1.0.1:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.slf4j:slf4j-api:pom:1.5.2:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'com.sun.jersey:jersey-server:pom:1.0:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.antlr:antlr-runtime:pom:3.4:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.antlr:ST4:pom:4.0.4:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.codehaus.jackson:jackson-core-asl:pom:1.8.8:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.codehaus.jackson:jackson-mapper-asl:pom:1.8.8:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'com.thoughtworks.paranamer:paranamer:pom:2.3:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'net.java.dev.jna:jna:pom:4.1.0:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'net.sf.jopt-simple:jopt-simple:pom:4.6:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] Building ant file: /home/adelin/cassandra/cassandra/build/build-dependencies.xml
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jetty:pom:6.1.26:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jetty-util:pom:6.1.26:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jsp-api-2.1:pom:6.1.14:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.mortbay.jetty:jsp-2.1:pom:6.1.14:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'commons-el:commons-el:pom:1.0:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'net.java.dev.jets3t:jets3t:pom:0.7.1:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.antlr:antlr-runtime:pom:3.4:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.antlr:ST4:pom:4.0.4:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.codehaus.jackson:jackson-core-asl:pom:1.8.8:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.codehaus.jackson:jackson-mapper-asl:pom:1.8.8:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'com.thoughtworks.paranamer:paranamer:pom:2.3:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.tukaani:xz:pom:1.0:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'net.java.dev.jna:jna:pom:4.1.0:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'net.sf.jopt-simple:jopt-simple:pom:4.6:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] Building ant file: /home/adelin/cassandra/cassandra/build/build-dependencies-sources.xml
[copy] Copying 63 files to /home/adelin/cassandra/cassandra/build/lib/jars
[copy] Copying 38 files to /home/adelin/cassandra/cassandra/build/lib/sources
[artifact:dependencies] [WARNING] POM for 'org.ow2.asm:asm-commons:pom:4.1:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-8:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.jacoco:org.jacoco.core:pom:0.7.1.201405082137:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[artifact:dependencies] [WARNING] POM for 'org.jacoco:org.jacoco.report:pom:0.7.1.201405082137:compile' is invalid.
[artifact:dependencies]
[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build.
[copy] Copying 12 files to /home/adelin/cassandra/cassandra/build/lib/jars
[unzip] Expanding: /home/adelin/cassandra/cassandra/build/lib/jars/org.jacoco.agent-0.7.1.201405082137.jar into /home/adelin/cassandra/cassandra/build/lib/jars
check-gen-cql3-grammar:
gen-cql3-grammar:
[echo] Building Grammar /home/adelin/cassandra/cassandra/src/java/org/apache/cassandra/cql3/Cql.g ...
build-project:
[echo] apache-cassandra: /home/adelin/cassandra/cassandra/build.xml
[javac] Compiling 45 source files to /home/adelin/cassandra/cassandra/build/classes/thrift
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/ST4-4.0.4.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/antlr-runtime-3.4.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/asm-commons-4.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/commons-el-1.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/commons-httpclient-3.0.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/guava-16.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/hsqldb-1.8.0.10.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jackson-core-asl-1.8.8.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jackson-mapper-asl-1.0.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jasper-compiler-5.5.12.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jasper-runtime-5.5.12.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jaxen-1.1-beta-8.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jersey-server-1.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jets3t-0.7.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jetty-6.1.26.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jetty-util-6.1.26.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jna-4.1.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jopt-simple-4.6.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jsp-2.1-6.1.14.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jsp-api-2.1-6.1.14.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/kfs-0.3.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/org.jacoco.core-0.7.1.201405082137.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/org.jacoco.report-0.7.1.201405082137.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/paranamer-2.3.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/xmlenc-0.52.jar; error in opening zip file
[javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.openjdk.jmh.generators.BenchmarkProcessor' less than -source '1.8'
[javac] 1 warning
[javac] Compiling 1169 source files to /home/adelin/cassandra/cassandra/build/classes/main
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/ST4-4.0.4.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/antlr-runtime-3.4.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/asm-commons-4.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/commons-el-1.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/commons-httpclient-3.0.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/guava-16.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/hsqldb-1.8.0.10.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jackson-core-asl-1.8.8.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jackson-mapper-asl-1.0.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jasper-compiler-5.5.12.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jasper-runtime-5.5.12.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jaxen-1.1-beta-8.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jersey-server-1.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jets3t-0.7.1.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jetty-6.1.26.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jetty-util-6.1.26.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jna-4.1.0.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jopt-simple-4.6.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jsp-2.1-6.1.14.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/jsp-api-2.1-6.1.14.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/kfs-0.3.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/org.jacoco.core-0.7.1.201405082137.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/org.jacoco.report-0.7.1.201405082137.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/paranamer-2.3.jar; error in opening zip file
[javac] error: error reading /home/adelin/cassandra/cassandra/build/lib/jars/xmlenc-0.52.jar; error in opening zip file
[javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.openjdk.jmh.generators.BenchmarkProcessor' less than -source '1.8'
[javac] 1 warning
createVersionPropFile:
[mkdir] Created dir: /home/adelin/cassandra/cassandra/src/resources/org/apache/cassandra/config
[propertyfile] Creating new property file: /home/adelin/cassandra/cassandra/src/resources/org/apache/cassandra/config/version.properties
[copy] Copying 2 files to /home/adelin/cassandra/cassandra/build/classes/main
BUILD FAILED
/home/adelin/cassandra/cassandra/build.xml:815: Warning: Could not find file /home/adelin/cassandra/cassandra/build/classes/main/META-INF/hotspot_compiler to copy.
Any suggestions ?!
I ran into this twice.
The first time, "ant realclean" (which removes cached build-time dependencies as well as Cassandra classes) fixed it.
The second time, I had to go farther and "rm -rf ~/.m2" which removes the local Maven cache.
Related
Macos Could NOT identify C/C++ compiler because compilation failed
I am getting this error when trying to compile on drake macos 10.14.6. I have ran the setup script. Bazel: 2.0.0 Drake 0.11.0 lawn-143-215-113-3:drake tdogb$ bazel build //... INFO: Call stack for the definition of repository 'cc' which is a cc_repository (rule definition at /Users/tdogb/drake/tools/workspace/cc/repository.bzl:147:1 7): - /Users/tdogb/drake/tools/workspace/default.bzl:110:9 - /Users/tdogb/drake/WORKSPACE:10:1 ERROR: An error occurred during the fetch of repository 'cc': attribute : Could NOT identify C/C++ compiler because compilation failed. ERROR: no such package '#cc//': attribute : Could NOT identify C/C++ compiler because compilation failed. INFO: Elapsed time: 0.221s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) currently loading: attic/util ... (145 packages) lawn-143-215-113-3:drake tdogb$
From the https://drake.mit.edu/release_notes/release_notes.html list of dependencies over time, Drake 0.11.0 is probably not compatible with Bazel 2.0.0. Try Bazel 1.1.0 or 1.0.0 instead.
Tensorflow Hub Build from Source Failing
I'm having a problem with Building TF Hub from Source. Can Anyone please help me out? I've been following the steps as given in https://github.com/tensorflow/hub/blob/master/tensorflow_hub/pip_package/PIP.md I've installed bazel 0.24.1. Error I'm Getting: ERROR: /home/tf_hub/hub/WORKSPACE:17:1: name 'git_repository' is not defined ERROR: /home/tf_hub/hub/WORKSPACE:40:1: name 'http_archive' is not defined ERROR: /home/tf_hub/hub/WORKSPACE:47:1: name 'new_http_archive' is not defined ERROR: Error evaluating WORKSPACE file ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '#bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '#bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package INFO: Elapsed time: 2.552s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) Bazel Version: 0.24.1 Python Version: 3 Tensorflow Version: 2.0.0a Commands to Reproduce: (env)~/tf_hub$ git clone https://github.com/tensorflow/hub (env)~/tf_hub$ cd hub && bazel build tensorflow_hub/pip_package:build_pip_package Expected Output: No Error. Build Sucessful
Latest Versions of Bazel Doesn't support git_repository (which is still used by tensorflow_hub), so Uninstalling Bazel 0.24.1 and installing Bazel 0.18.1 worked.
Javac producing error with no origin
I am using javac in ant to compile a project and I am getting an compilation error message without the file or line number. Why is this and how can i find where in the (large) project the problem is? build.xml make_folders: compile: [javac] Compiling 33 source files to *project root*/bin/classes [javac] error: incompatible types: String cannot be converted to Integer [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output [javac] 1 error BUILD FAILED *project root*/build.xml:33: Compile failed; see the compiler error output for details. And heres the relevant lines with verbose set to true: [javac] [loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/util/Date.class)]] [javac] error: incompatible types: String cannot be converted to Integer UPDATE: So I managed to figure out that the error it was originating from calling a function in a class from within an inner class in said outer class. I'm not sure why this produced an error or why it was presented with such little information so any help would still be appreciated.
grails heroku plugin - unable to resolve class grails.plugin.cloudsupport.AbstractCloudTagLib
When I run the git push heroku master command, I get the following error (below). Per one this thread, I uninstalled the heroku plugin, installed the cloud-support plugin, and re-installed the heroku plugin. That didn't change the error. I entered a JIRA on this at the plugin, but am posting here so that there is an easy reference to whatever solution the grails folks are able to provide or in case dialogue on the problem/solution is required. Thanks Error is: [mkdir] Created dir: /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/tomcat-1.3.7 [unzip] Expanding: /app/tmp/repo.git/.cache/cache/org.grails.plugins/tomcat/zips/tomcat-1.3.7.zip into /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/tomcat-1.3.7 Installed plugin tomcat-1.3.7 to location /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/tomcat- 1.3.7. ... Executing tomcat-1.3.7 plugin post-install script ... Plugin tomcat-1.3.7 installed Plugin provides the following new scripts: ------------------------------------------ grails tomcat [mkdir] Created dir: /app/.grails/1.3.7/projects/build_36v61myh1movb/plugin-classes [groovyc] Compiling 106 source files to /app/.grails/1.3.7/projects/build_36v61myh1movb/plugin-classes [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-1.0/grails- app/taglib/grails/plugin/heroku/HerokuTagLib.groovy: 17: unable to resolve class grails.plugin.cloudsupport.AbstractCloudTagLib [groovyc] # line 17, column 1. [groovyc] import grails.plugin.cloudsupport.AbstractCloudTagLib [groovyc] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-1.0/grails- app/taglib/grails/plugin/heroku/HerokuTagLib.groovy: 22: unable to resolve class grails.plugin.cloudsupport.Abstr actCloudTagLib [groovyc] # line 22, column 1. [groovyc] class HerokuTagLib extends AbstractCloudTagLib { [groovyc] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku- 1.0/src/groovy/grails/plugin/heroku/HerokuBeanPostprocessor.groovy: 17: unable to resolve class grails.plugin.cloudsupport.A bstractCloudBeanPostprocessor [groovyc] # line 17, column 1. [groovyc] import grails.plugin.cloudsupport.AbstractCloudBeanPostprocessor [groovyc] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku- 1.0/src/groovy/grails/plugin/heroku/HerokuBeanPostprocessor.groovy: 27: unable to resolve class grails.plugin.cloudsupport.A bstractCloudBeanPostprocessor [groovyc] # line 27, column 1. [groovyc] class HerokuBeanPostprocessor extends AbstractCloudBeanPostprocessor { [groovyc] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku- 1.0/src/groovy/grails/plugin/heroku/HerokuMongoBeanConfigurer.groovy: 17: unable to resolve class grails.plugin.cloudsupport .AbstractMongoBeanConfigurer [groovyc] # line 17, column 1. [groovyc] import grails.plugin.cloudsupport.AbstractMongoBeanConfigurer [groovyc] ^ [groovyc] [groovyc] /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku- 1.0/src/groovy/grails/plugin/heroku/HerokuMongoBeanConfigurer.groovy: 24: unable to resolve class grails.plugin.cloudsupport .AbstractMongoBeanConfigurer [groovyc] # line 24, column 1. [groovyc] class HerokuMongoBeanConfigurer extends AbstractMongoBeanConfigurer { [groovyc] ^ [groovyc] [groovyc] 6 errors Error executing script Compile: : Compilation Failed : Compilation Failed at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.executeTargets(Gant.groovy:590) at gant.Gant.executeTargets(Gant.groovy:589) Caused by: : Compilation Failed at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:920) at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:607) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at Compile$_run_closure4_closure10.doCall(Compile:117) at Compile$_run_closure4_closure10.doCall(Compile) at Compile$_run_closure10.doCall(Compile:280) at Compile$_run_closure10.call(Compile) at Compile$_run_closure4.doCall(Compile:104) at Compile$_run_closure3.doCall(Compile:69) at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381) ... 10 more Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /app/.grails/1.3.7/projects/build_36v61myh1movb/plugins/heroku-1.0/grails- app/taglib/grails/plugin/heroku/HerokuTagLib.groovy: 17: unable to resolve class grails.plugin.cloudsupport.AbstractCloudTagLib Problems before this, note git push gives me no opportunity to respond to the [y,n] prompts: Plugin mail-1.0 installed Resolving plugin JAR dependencies ... Executing spring-security-ui-0.1.2 plugin post-install script ... Plugin spring-security-ui-0.1.2 installed Plugin provides the following new scripts: ------------------------------------------ grails s2ui-override You currently already have a version of the plugin installed [mail-1.0]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] You currently already have a version of the plugin installed [mail-1.0]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] You currently already have a version of the plugin installed [mail-1.0]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] No valid response entered - giving up asking. Plugin mail-1.0-SNAPSHOT install aborted ... You currently already have a version of the plugin installed [spring-security-core-1.2.7.1]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] You currently already have a version of the plugin installed [spring-security-core-1.2.7.1]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] You currently already have a version of the plugin installed [spring-security-core-1.2.7.1]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] No valid response entered - giving up asking. Plugin spring-security-core-1.2.1 install aborted ... You currently already have a version of the plugin installed [jquery-1.7.1]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] You currently already have a version of the plugin installed [jquery-1.7.1]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] You currently already have a version of the plugin installed [jquery-1.7.1]. Do you want to upgrade this version? [y,n] Invalid option 'null' - must be one of: [y,n] No valid response entered - giving up asking. Plugin jquery-1.6.1.1 install aborted ... [mkdir] Created dir: /app/.grails/1.3.7/projects/build_28p9jo3vo48wb/plugin-classes [groovyc] Compiling 106 source files to /app/.grails/1.3.7/projects/build_28p9jo3vo48wb/plugin-classes [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] /app/.grails/1.3.7/projects/build_28p9jo3vo48wb/plugins/heroku-1.0/grails-app/taglib/grails/plugin/heroku/HerokuTagLib.groovy: 17: unable to resolve class grails.plugin.cloudsupport.Abstr actCloudTagLib [groovyc] # line 17, column 1. [groovyc] import grails.plugin.cloudsupport.AbstractCloudTagLib [groovyc] ^ [groovyc]
I too had this problem with grails 1.3.7. As suggested by Burt, adding the following to your BuildConfig.groovy will resolve the problem: compile ':cloud-support:1.0.8' I've followed the Basic Tutorial of Burt's here, after the above was added, my web-app compiled and deployed to Heroku successfully.
Installing the cloud-support plugin is the fix. Try running grails clean and grails compile to get it to resolve the dependencies.
Blackberry JDE 6.0 VERIFIER ERROR And KXML 2
I am trying to import kxml2, what I did is I downloaded the lib, went to Project Explorer -> Properties -> Build Path -> Libraries, I include the kxml2-2.3.0.jar. I run compile and get this error JAR file creation failed with error -1 The preverified classes if any are in tmp25754. See jar log of errors in C:\Users\sgil\AppData\Local\Temp\rapc_1296da5f.dir\jarlog.txt Error!: Error: preverifier failed: C:\Program Files (x86)\Eclipse-Blackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components ... Packaging project ** failed (took 0.795 seconds) Error!: Error: preverifier failed: C:\Program Files (x86)\Eclipse-Blackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components ... Packaging project ** failed (took 0.795 seconds) I tried running the preverifier and I got this: preverify -classpath "C:\Program Files (x86)\Eclipse-B lackberry\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\lib\net_ri m_api.jar" "C:\Users\sgil\Desktop\Projects\Blackberry****\lib\kxml2-2.3.0. jar" I get this error: JAR file creation failed with error -1 The preverified classes if any are in tmp25503. See jar log of errors in output\ jarlog.txt Any advice?
The solution to this is to put the correct PATH variable in the "Enviromental Variables" of the System(right click in My PC->Enviromental Variables). If "PATH" already exists you need to add the path of the BIN of the JDK installed on the Computer. The carpet you should add this is the bin: for example: C:\PATH_TO_THE_INSTALLED_JDK\bin