Why is opendaylight not compiling - sdn

I want to use opendaylight but I have problem compiling it. I am trying to solve this problem but I do not know what should I do.
Why is opendaylight not compiling:
[ERROR] Failed to execute goal org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs (default) on project networkconfig.neutron.northbound: Execution default of goal org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs failed: A required class was missing while executing org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs: com/sun/mirror/apt/AnnotationProcessorFactory
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.codehaus.enunciate:maven-enunciate-plugin:1.26.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/root/.m2/repository/org/codehaus/enunciate/maven-enunciate-plugin/1.26.2/maven-enunciate-plugin-1.26.2.jar
[ERROR] urls[1] = file:/home/mahdi/Downloads/opendaylights/opendaylight/commons/logback_settings/target/commons.logback_settings-0.0.1-SNAPSHOT.jar
[ERROR] urls[2] = file:/root/.m2/repository/org/codehaus/enunciate/maven-enunciate-slim-plugin/1.26.2/maven-enunciate-slim-plugin-1.26.2.jar
[ERROR] urls[3] = file:/root/.m2/repository/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.jar
[ERROR] urls[4] = file:/root/.m2/repository/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
[ERROR] urls[5] = file:/root/.m2/repository/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.jar
[ERROR] urls[6] = file:/root/.m2/repository/org/apache/maven/enforcer/enforcer-api/1.0/enforcer-api-1.0.jar
[ERROR] urls[7] = file:/root/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[8] = file:/root/.m2/repository/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar
[ERROR] urls[9] = file:/root/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar
[ERROR] urls[10] = file:/root/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
[ERROR] urls[11] = file:/root/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[12] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[13] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.12/plexus-interpolation-1.12.jar
[ERROR] urls[14] = file:/root/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
[ERROR] urls[15] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar
[ERROR] urls[16] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core/1.26.2/enunciate-core-1.26.2.jar
[ERROR] urls[17] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core-rt/1.26.2/enunciate-core-rt-1.26.2.jar
[ERROR] urls[18] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core-annotations/1.26.2/enunciate-core-annotations-1.26.2.jar
[ERROR] urls[19] = file:/root/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[20] = file:/root/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar
[ERROR] urls[21] = file:/root/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
[ERROR] urls[22] = file:/root/.m2/repository/net/sf/apt-jelly/apt-jelly-freemarker/2.15/apt-jelly-freemarker-2.15.jar
[ERROR] urls[23] = file:/root/.m2/repository/net/sf/apt-jelly/apt-jelly-core/2.15/apt-jelly-core-2.15.jar
[ERROR] urls[24] = file:/root/.m2/repository/org/freemarker/freemarker/2.3.14/freemarker-2.3.14.jar
[ERROR] urls[25] = file:/root/.m2/repository/commons-digester/commons-digester/2.1/commons-digester-2.1.jar
[ERROR] urls[26] = file:/root/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
[ERROR] urls[27] = file:/root/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[28] = file:/usr/lib/jvm/java-8-oracle/jre/../lib/tools.jar
[ERROR] urls[29] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-top/1.26.2/enunciate-top-1.26.2.jar
[ERROR] urls[30] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jaxws-support/1.26.2/enunciate-jaxws-support-1.26.2.jar
[ERROR] urls[31] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jaxws-ri/1.26.2/enunciate-jaxws-ri-1.26.2.jar
[ERROR] urls[32] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-docs/1.26.2/enunciate-docs-1.26.2.jar
[ERROR] urls[33] = file:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.3/jackson-mapper-asl-1.9.3.jar
[ERROR] urls[34] = file:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.3/jackson-core-asl-1.9.3.jar
[ERROR] urls[35] = file:/root/.m2/repository/org/jdom/jdom/1.1.2/jdom-1.1.2.jar
[ERROR] urls[36] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jersey/1.26.2/enunciate-jersey-1.26.2.jar
[ERROR] urls[37] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jersey-rt/1.26.2/enunciate-jersey-rt-1.26.2.jar
[ERROR] urls[38] = file:/root/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.3/jackson-jaxrs-1.9.3.jar
[ERROR] urls[39] = file:/root/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.3/jackson-xc-1.9.3.jar
[ERROR] urls[40] = file:/root/.m2/repository/com/sun/jersey/jersey-server/1.11/jersey-server-1.11.jar
[ERROR] urls[41] = file:/root/.m2/repository/asm/asm/3.1/asm-3.1.jar
[ERROR] urls[42] = file:/root/.m2/repository/com/sun/jersey/jersey-core/1.11/jersey-core-1.11.jar
[ERROR] urls[43] = file:/root/.m2/repository/com/sun/jersey/jersey-servlet/1.11/jersey-servlet-1.11.jar
[ERROR] urls[44] = file:/root/.m2/repository/javax/mail/mail/1.4.4/mail-1.4.4.jar
[ERROR] urls[45] = file:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
[ERROR] urls[46] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3/jaxb-impl-2.2.3.jar
[ERROR] urls[47] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-xml/1.26.2/enunciate-xml-1.26.2.jar
[ERROR] urls[48] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-java-client/1.26.2/enunciate-java-client-1.26.2.jar
[ERROR] urls[49] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-c/1.26.2/enunciate-c-1.26.2.jar
[ERROR] urls[50] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-obj-c/1.26.2/enunciate-obj-c-1.26.2.jar
[ERROR] urls[51] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-csharp/1.26.2/enunciate-csharp-1.26.2.jar
[ERROR] urls[52] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-ruby/1.26.2/enunciate-ruby-1.26.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>org.opendaylight.controller:networkconfig.neutron.implementation:0.4.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------: com.sun.mirror.apt.AnnotationProcessorFactory
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :networkconfig.neutron.northbound
what can i do about this problem.

Related

visual studio not inputting URL into browser after driver.get(URL) because 'URL must be a string'

Inputting the code below in Visual Studio, typing "node index.js" into the Terminal Output gives me:
"WebDriverError: unknown error: 'url' must be a string"
-have tried just using driver.get(URL); and typing into the Terminal Output "Set URL=http://port-80-6p76k7hj7t.treehouse-app.com/ node index.js" which returns an error message of "A positional parameter cannot be found that accepts argument 'index.js'"
-have tried \ and // for the URL
This is the code that i'm using:
require('chromedriver');
const selenium = require('selenium-webdriver');
const By = selenium.By;
const driver = new selenium.Builder().forBrowser("chrome").build();
driver.get("https://port-80-6p76k7hj7t.treehouse-app.com/");
const locators = { inviteeForm: By.id("registrar"), inviteeNameField: By.name("name") };
function addInvitee(name) { driver.findElement(locators.inviteeNameField).sendKeys(name); driver.findElement(locators.inviteeForm).sub(); }
add invitee("Kevin Smith");
add invitee("Joe Smith");
Error i'm getting is:
[ERROR] node : C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\promise.js:2626
[ERROR] At line:1 char:1
[ERROR] + node index.js
[ERROR] + ~~~~~~~~~~~~~
[ERROR] + CategoryInfo : NotSpecified: (C:\users\kevin....promise.js:2626:String) [], RemoteException
[ERROR] + FullyQualifiedErrorId : NativeCommandError
[ERROR]
[ERROR] throw error;
[ERROR] ^
[ERROR]
[ERROR] WebDriverError: unknown error: 'url' must be a string
[ERROR] (Session info: chrome=68.0.3440.106)
[ERROR] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.17134 x86_64)
[ERROR] at Object.checkLegacyResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\error.js:546:15)
[ERROR] at parseHttpResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:509:13)
[ERROR] at doSend.then.response (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:441:30)
[ERROR] at process._tickCallback (internal/process/next_tick.js:68:7)
[ERROR] From: Task: WebDriver.navigate().to(undefined)
[ERROR] at thenableWebDriverProxy.schedule (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:807:17)
[ERROR] at Navigation.to (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:1133:25)
[ERROR] at thenableWebDriverProxy.get (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:988:28)
[ERROR] at Object.<anonymous> (C:\users\kevin.yu\selenium-basics\node_modules\index.js:12:8)
[ERROR] at Module._compile (internal/modules/cjs/loader.js:689:30)
[ERROR] at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
[ERROR] at Module.load (internal/modules/cjs/loader.js:599:32)
[ERROR] at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
[ERROR] at Function.Module._load (internal/modules/cjs/loader.js:530:3)
[ERROR] at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
[ERROR]
I am permanently stuck, please send help!
Thanks in advance!

android studio databinding error Unresolved reference: databinding

I am getting this error when trying to bind .xml layout into .kt files.
This is my attempt on creating an app with Instant App support feature
Error:10:35:11.151 [ERROR] [org.gradle.api.Task] e: ./../feature/src/main/java/my/${projectname}/${projectname}/feature/view/splash/fragment/LandingFragment.kt: (14, 37): Unresolved reference: databinding
10:35:11.154 [ERROR] [org.gradle.api.Task] e: ./../feature/src/main/java/my/${projectname}/${projectname}/feature/view/splash/fragment/LandingFragment.kt: (22, 42): Unresolved reference: FragmentLandingBinding
10:35:11.379 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':feature:compileDebugKotlin'.
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Compilation error. See log for more details
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
10:35:11.380 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --scan to get full insights.
10:35:11.381 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:35:11.381 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
10:35:11.381 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':feature:compileDebugKotlin'.
10:35:11.381 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
10:35:11.382 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
10:35:11.382 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
10:35:11.382 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
10:35:11.383 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
10:35:11.383 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
10:35:11.383 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
10:35:11.383 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
10:35:11.383 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
10:35:11.383 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
10:35:11.383 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
10:35:11.384 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
10:35:11.385 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: org.gradle.api.GradleException: Compilation error. See log for more details
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.jetbrains.kotlin.gradle.tasks.TasksUtilsKt.throwGradleExceptionIfError(tasksUtils.kt:8)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.processCompilerExitCode(Tasks.kt:415)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:389)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompiler$kotlin_gradle_plugin(Tasks.kt:251)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.execute(Tasks.kt:215)
10:35:11.386 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
10:35:11.387 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
10:35:11.387 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
10:35:11.387 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
10:35:11.387 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
10:35:11.387 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
10:35:11.387 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
10:35:11.387 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] ... 29 more
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
10:35:11.388 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
10:35:11.389 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 13s
This is my build.gradle(Project: projectname)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
'kotlin_version' : '1.2.21',
'anko_version' : '0.10.4',
'glide_version' : '4.5.0',
'android_plugin_version' : '3.1.0-alpha06'
]
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
}
}
dependencies {
classpath "com.android.tools.build:gradle:$versions.android_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
my build.gradle(Module:app)
apply plugin: 'com.android.application'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 27
defaultConfig {
applicationId "application_id"
minSdkVersion 23
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
dataBinding {
enabled = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
repositories {
mavenCentral()
google()
}
dataBinding {
enabled = true
}
}
dependencies {
implementation project(':feature')
implementation project(':base')
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.android.support:support-v13:27.0.2'
implementation 'com.github.bumptech.glide:glide:4.5.0'
implementation 'de.hdodenhof:circleimageview:2.2.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
}
my build.gradle(Module:Base)
apply plugin: 'com.android.feature'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 27
baseFeature true
defaultConfig {
minSdkVersion 23
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dataBinding {
enabled = true
}
}
dependencies {
api 'com.android.support:appcompat-v7:27.0.2'
api 'com.android.support.constraint:constraint-layout:1.0.2'
application project(':app')
feature project(':feature')
}
Build.gradle(Module: feature)
apply plugin: 'com.android.feature'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 23
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$versions.kotlin_version"
implementation "org.jetbrains.anko:anko:$versions.anko_version"
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation "com.github.bumptech.glide:glide:$versions.glide_version"
kapt "com.github.bumptech.glide:compiler:$versions.glide_version"
implementation project(':base')
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
kapt "com.android.databinding:compiler:$versions.android_plugin_version"
}
and Build.Gradle(module:Instant app)
apply plugin: 'com.android.instantapp'
dependencies {
implementation project(':feature')
implementation project(':base')
}
Seems like the problem is because on databinding auto bind layout.
I refered to Android Databinding : package does not exist
and Kapt not generating classes in Instant app feature module
Did I missed something on my build.gradles?
I found workaround for this...
from https://issuetracker.google.com/issues/63814741
adding
android.enableExperimentalFeatureDatabinding = true
android.databinding.enableV2=true
in gradle.properties files kinda solve the issue... but I doubt that this is a solution... but for now... this is how the problem is solved
I also encountered this issue recently. Adding kapt plugin to app level build.gradle file solved my issue. The problem is that you already have that plugin in your gradle file. Maybe issue is resolved after some time but I want to leave this answer because this question comes up first in Google search.
apply plugin: 'kotlin-kapt'

Unable to build react-native app in Mac (Configuration with name 'default' not found)

I have a react-native app that i am able to build and run in Linux without any Issues and when i tried to do the same in Mac ( I am still trying to emulate in Android in Mac using android studio) i am getting the following error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
> Configuration with name 'default' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
I am running the following command :
react-native run-android
I have updated the gradle scripts to include the --debug and --stacktrace options and here is the debug log
22:19:10.625 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.005 secs
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' from state Created to SelfClosed
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state DefaultsApplied.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state Initialized.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state Mutated.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state Finalized.
22:19:10.626 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :react-native-share - Transitioning model element 'tasks' to state SelfClosed.
22:19:10.646 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.648 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred configuring project ':app'.
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] > Could not resolve all dependencies for configuration ':app:_debugApk'.
22:19:10.649 [ERROR] [org.gradle.BuildExceptionReporter] > Configuration with name 'default' not found.
22:19:10.650 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.650 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
22:19:10.651 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
22:19:10.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
22:19:10.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:74)
22:19:10.652 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
22:19:10.653 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
22:19:10.654 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
22:19:10.655 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:33)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':app:_debugApk'.
22:19:10.656 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:70)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:45)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:372)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:347)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:340)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.collectArtifacts(DependencyManager.java:497)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.gatherDependencies(DependencyManager.java:375)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.resolveDependencyForConfig(DependencyManager.java:278)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.DependencyManager.resolveDependencies(DependencyManager.java:155)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.TaskManager.resolveDependencies(TaskManager.java:364)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:636)
22:19:10.657 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$9.call(VariantManager.java:633)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.createVariantData(VariantManager.java:629)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.createVariantDataForProductFlavors(VariantManager.java:823)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.populateVariantDataList(VariantManager.java:494)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:269)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager$1.call(VariantManager.java:266)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:265)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)
22:19:10.658 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
22:19:10.659 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] ... 44 more
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'default' not found.
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.createNotFoundException(DefaultConfigurationContainer.java:92)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.DefaultNamedDomainObjectCollection.getByName(DefaultNamedDomainObjectCollection.java:229)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.getByName(DefaultConfigurationContainer.java:82)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.getByName(DefaultConfigurationContainer.java:37)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency.getProjectConfiguration(DefaultProjectDependency.java:69)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency_Decorated.getProjectConfiguration(Unknown Source)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.ProjectIvyDependencyDescriptorFactory.createDependencyDescriptor(ProjectIvyDependencyDescriptorFactory.java:40)
22:19:10.660 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.DefaultDependencyDescriptorFactory.createDependencyDescriptor(DefaultDependencyDescriptorFactory.java:35)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.DefaultDependenciesToModuleDescriptorConverter.addDependencies(DefaultDependenciesToModuleDescriptorConverter.java:43)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.dependencies.DefaultDependenciesToModuleDescriptorConverter.addDependencyDescriptors(DefaultDependenciesToModuleDescriptorConverter.java:36)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.DefaultConfigurationComponentMetaDataBuilder.addDependencies(DefaultConfigurationComponentMetaDataBuilder.java:51)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.moduleconverter.DefaultConfigurationComponentMetaDataBuilder.addConfigurations(DefaultConfigurationComponentMetaDataBuilder.java:39)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.toRootComponentMetaData(DefaultConfiguration.java:557)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$DefaultResolveContextToComponentResolver.resolve(DefaultArtifactDependencyResolver.java:144)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:74)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:90)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:80)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
22:19:10.661 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:80)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Factories$1.create(Factories.java:22)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
22:19:10.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
22:19:10.663 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
22:19:10.663 [ERROR] [org.gradle.BuildExceptionReporter] ... 84 more
22:19:10.663 [ERROR] [org.gradle.BuildExceptionReporter]
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger]
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger]
22:19:10.663 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 13.531 secs
I tried opening the android folder in Android Studio and the went to Tools -> Android -> Sync Project with Gradle Files and i see the same error in the console:
Gradle 'android' project refresh failed
Error:Configuration with name 'default' not found.
Not sure what i am doing wrong.
Appreciate any help.
Thanks
Sateesh
>check dependencies in the "build.gradle".
>file path is "android/app/build.gradle"
>you may uninstalled some modules.
>so you need to check dependencies in the "bukld.gradle" file.
>if there is one modules which you uninstalled see the dependencies list, you need to delete this module line CHECK IN "
Example:
dependencies {
compile project(':react-native-network-info')
compile project(':react-native-camera')
compile project(':react-native-vector-icons')
compile project(':react-native-icons')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
}
If you still haven't gotten this to work, try deleting your "/Project Name/android" directory, and then do the following:
react-native run-android
react-native link
react-native start

Titanium Text-to-Speech

I'm using ~Link~ to create a text to speech function for android in Titanium but I got some problem in development.
The module supported TTS and STT, STT function is fine but the other is not working.
I follow the documentation to create a controllers like this:
var utterance = require('bencoding.utterance'),
speech = utterance.createSpeech();
if(speech.isSpeaking){
Ti.API.info("already speaking");
}
speech.startSpeaking({
text:"こんにちは"
});
When I run the program. Console will show:
[ERROR] : TiApplication: (main) [1191,10337] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.3.0,2014/07/11 12:36,787cd39
[ERROR] : TiApplication: java.lang.NullPointerException
[ERROR] : TiApplication: at bencoding.utterance.SpeechProxy.onInit(SpeechProxy.java:72)
[ERROR] : TiApplication: at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java:640)
[ERROR] : TiApplication: at android.speech.tts.TextToSpeech.access$1000(TextToSpeech.java:52)
[ERROR] : TiApplication: at android.speech.tts.TextToSpeech$Connection.onServiceConnected(TextToSpeech.java:1296)
[ERROR] : TiApplication: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1187)
[ERROR] : TiApplication: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1204)
[ERROR] : TiApplication: at android.os.Handler.handleCallback(Handler.java:615)
[ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:92)
[ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:155)
[ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5511)
[ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method)
[ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511)
[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)
[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796)
[ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method)
even I copy the code from example.
Is it my problem? Module is added into the program.
Thank you.
I compile that module with Titanium 3.3.0GA and works the example. What version do you use?
It is importante use this code for test device:
win.addEventListener('open', function()
{
if(!utterance.isSupported())
{
alert("Device not compatible");
}
});

Compilation Errors while building minioozie

I'm new to oozie and\ trying to install minioozie to test the workflows in oozie. I tried to follow the steps present in apache site http://oozie.apache.org/docs/3.3.1/ENG_MiniOozie.html
I did the following steps:
git clone git://github.com/apache/oozie.git
mvn clean install -DskipTests -DtestJarSimple -X
The above statement fails with compile errors.
Stack Trace:
[INFO] Compiling 5 source files to /Users/skreddy/oozie/sharelib/pig/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[56,43] cannot find symbol
symbol: class ActionExecutorTestCase
public class TestPigActionExecutor extends ActionExecutorTestCase {
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[119,12] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[138,36] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[77,8] cannot find symbol
symbol : variable super
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[74,4] method does not override or implement a method from a supertype
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[82,8] cannot find symbol
symbol : variable super
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[83,8] cannot find symbol
symbol : method setSystemProperty(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[80,4] method does not override or implement a method from a supertype
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[91,8] cannot find symbol
symbol : method assertEquals(java.util.List<java.lang.Class>,java.util.List<java.lang.Class>)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[94,34] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[95,32] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[102,54] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[105,29] cannot find symbol
symbol : method createBaseWorkflow(org.apache.oozie.util.XConfiguration,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[109,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[109,30] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[112,53] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[113,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[114,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[115,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[116,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[122,24] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[125,54] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[128,55] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[128,8] cannot find symbol
symbol : variable SharelibUtils
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[130,29] cannot find symbol
symbol : method createBaseWorkflow(org.apache.oozie.util.XConfiguration,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[135,19] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[143,28] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[144,26] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[149,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[150,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[151,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[160,31] cannot find symbol
symbol : method getTestGroup()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[168,8] cannot find symbol
symbol : method assertNotNull(org.apache.hadoop.mapred.RunningJob)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[174,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[178,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[180,8] cannot find symbol
symbol : method sleep(int)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[215,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[218,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[221,30] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[222,76] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[224,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[231,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[233,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[237,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[241,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[245,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[255,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[258,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[265,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[267,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[268,8] cannot find symbol
symbol : method assertNotSame(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[270,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[281,8] cannot find symbol
symbol : method setSystemProperty(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[285,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[288,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[297,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[298,8] cannot find symbol
symbol : method assertNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[307,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[310,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[313,30] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[314,76] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[316,8] cannot find symbol
symbol : method assertFalse(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[323,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[324,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[328,32] cannot find symbol
symbol : class Predicate
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[334,8] cannot find symbol
symbol : method sleep(int)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[357,24] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[359,31] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[364,33] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[365,34] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[373,34] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[374,32] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[385,24] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[387,31] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[388,50] cannot find symbol
symbol : method getTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[390,26] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[393,31] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[398,33] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[399,34] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[407,34] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[408,32] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[424,29] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[427,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[427,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[429,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[432,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[432,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[434,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[437,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[437,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[439,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[442,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[442,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[444,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[447,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[447,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[449,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[452,40] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[453,38] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[469,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[INFO] 100 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Oozie Main ................................. SUCCESS [1.150s]
[INFO] Apache Oozie Client ............................... SUCCESS [4.165s]
[INFO] Apache Oozie Hadoop 1.1.1.oozie-4.1.0-SNAPSHOT .... SUCCESS [0.233s]
[INFO] Apache Oozie Hadoop Distcp 1.1.1.oozie-4.1.0-SNAPSHOT SUCCESS [0.184s]
[INFO] Apache Oozie Hadoop 1.1.1.oozie-4.1.0-SNAPSHOT Test SUCCESS [0.283s]
[INFO] Apache Oozie Hadoop 2.2.0.oozie-4.1.0-SNAPSHOT .... SUCCESS [0.418s]
[INFO] Apache Oozie Hadoop 2.2.0.oozie-4.1.0-SNAPSHOT Test SUCCESS [0.336s]
[INFO] Apache Oozie Hadoop Distcp 2.2.0.oozie-4.1.0-SNAPSHOT SUCCESS [0.170s]
[INFO] Apache Oozie Hadoop 0.23.5.oozie-4.1.0-SNAPSHOT ... SUCCESS [0.340s]
[INFO] Apache Oozie Hadoop 0.23.5.oozie-4.1.0-SNAPSHOT Test SUCCESS [0.310s]
[INFO] Apache Oozie Hadoop Distcp 0.23.5.oozie-4.1.0-SNAPSHOT SUCCESS [0.181s]
[INFO] Apache Oozie Hadoop Libs .......................... SUCCESS [0.063s]
[INFO] Apache Oozie Hbase 0.94.2.oozie-4.1.0-SNAPSHOT .... SUCCESS [0.181s]
[INFO] Apache Oozie Hbase Libs ........................... SUCCESS [0.044s]
[INFO] Apache Oozie HCatalog 0.5.0.oozie-4.1.0-SNAPSHOT .. SUCCESS [0.308s]
[INFO] Apache Oozie HCatalog 0.6.0.oozie-4.1.0-SNAPSHOT .. SUCCESS [0.282s]
[INFO] Apache Oozie HCatalog Libs ........................ SUCCESS [0.069s]
[INFO] Apache Oozie Share Lib Oozie ...................... SUCCESS [1.256s]
[INFO] Apache Oozie Share Lib HCatalog ................... SUCCESS [0.553s]
[INFO] Apache Oozie Core ................................. SUCCESS [18.624s]
[INFO] Apache Oozie Docs ................................. SUCCESS [0.619s]
[INFO] Apache Oozie Share Lib Pig ........................ FAILURE [0.386s]
[INFO] Apache Oozie Share Lib Hive ....................... SKIPPED
[INFO] Apache Oozie Share Lib Sqoop ...................... SKIPPED
[INFO] Apache Oozie Share Lib Streaming .................. SKIPPED
[INFO] Apache Oozie Share Lib Distcp ..................... SKIPPED
[INFO] Apache Oozie WebApp ............................... SKIPPED
[INFO] Apache Oozie Examples ............................. SKIPPED
[INFO] Apache Oozie Share Lib ............................ SKIPPED
[INFO] Apache Oozie Tools ................................ SKIPPED
[INFO] Apache Oozie MiniOozie ............................ SKIPPED
[INFO] Apache Oozie Distro ............................... SKIPPED
The problem occurs with both oozie.4.0.0 and oozie.4.0.1
Apparently, the core test-jar (oozie-core-4.0.0-tests.jar) does not include all the needed classes. Adding a few classes in the core/pom.xml solved the problem:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
<configuration>
<includes>
<include>**/XFsTestCase.class</include>
<include>**/XTestCase.class</include>
<include>**/XTestCase$*.class</include>
<include>**/Mini*.class</include>
<include>**/MainTestCase.class</include>
<include>**/SharelibUtils.class</include>
<include>**/ActionExecutorTestCase.class</include>
<include>**/ActionExecutorTestCase$Context.class</include>
<include>**/MapperReducer*Test.class</include>
<include>**/LauncherMainTester.class</include>
<include>**/Test*ActionExecutor.class</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
It could be a bug in Maven with JDK7: http://jira.codehaus.org/browse/MCOMPILER-158 Try to increase your maven-compiler-plugin to 3.1
You can see in the pom.xml that they use version 2.3.2. They set the Java version to 1.6 but maybe it is not enough.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</plugin>