Folks,
Can you please help me with below error coming when executing
gradlew clean eHCR publish
FAILURE: Build failed with an exception.
Where:
Build file 'D:\Projects\xxx\xxx_project\xxx_assembly\build.gradle' line: 15
What went wrong:
A problem occurred evaluating project ':xxx_assembly'.
Could not resolve all dependencies for configuration ':xxx_assembly:com.intershop.assembly:commerce_management_b2x'.
Could not find com.intershop.assembly:commerce_management_b2x:7.10.3.1.
Required by:
com.xxx:xxx_assembly:1.0.0-LOCAL
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Build.gradle:
inheritFrom('com.intershop.assembly:commerce_management_b2x')
{
includeArtifacts type:['deploy-settings-gradle']
}
Please help.
Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':xxx_assembly'.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:150)
at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:72)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:155)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:521)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:92)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:47)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:125)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:122)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':xxx_assembly:com.intershop.assembly:commerce_management_b2x'.
at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.rethrowFailure(DefaultLenientConfiguration.java:62)
at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.rethrowFailure(DefaultResolvedConfiguration.java:36)
at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.getFirstLevelModuleDependencies(DefaultResolvedConfiguration.java:49)
at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver$FilesAggregatingResolvedConfiguration.getFirstLevelModuleDependencies(SelfResolvingDependencyConfigurationResolver.java:96)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver$ErrorHandlingResolvedConfiguration.getFirstLevelModuleDependencies(ErrorHandlingConfigurationResolver.java:205)
at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:252)
at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:243)
at com.intershop.build.assembly.inheritance.AssemblyInheritanceUtil.getAssemblyId(AssemblyInheritanceUtil.groovy:25)
at com.intershop.build.assembly.inheritance.AssemblyInheritanceUtil.getInheritedAssemblyIvyFile(AssemblyInheritanceUtil.groovy:37)
at com.intershop.build.assembly.hosttype.InheritedHostTypeProvider.provideSubsets(InheritedHostTypeProvider.groovy:36)
at com.intershop.build.gradle.plugins.AssemblyExtension$_inheritFrom_closure12.doCall(AssemblyExtension.groovy:286)
at com.intershop.build.gradle.plugins.AssemblyExtension.inheritFrom(AssemblyExtension.groovy:285)
at build_2cfc7pnzhx1qg72j39nnpeszf$_run_closure1.doCall(D:\Projects\b2x710\xxx_project\xxx_assembly\build.gradle:15)
at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
at org.gradle.api.internal.plugins.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:145)
at org.gradle.api.internal.plugins.ExtensionsStorage.configureExtension(ExtensionsStorage.java:69)
at org.gradle.api.internal.plugins.DefaultConvention$ExtensionsDynamicObject.invokeMethod(DefaultConvention.java:207)
at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:150)
at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
at build_2cfc7pnzhx1qg72j39nnpeszf.run(D:\Projects\b2x710\xxx_project\xxx_assembly\build.gradle:14)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
... 50 more
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.intershop.assembly:commerce_management_b2x:7.10.3.1.
Required by:
com.xxx:xxx_assembly:1.0.0-LOCAL
at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound(DefaultBuildableComponentResolveResult.java:38)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule(RepositoryChainComponentMetaDataResolver.java:88)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve(RepositoryChainComponentMetaDataResolver.java:59)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ComponentMetaDataResolverChain.resolve(ComponentResolversChain.java:80)
at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:44)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java:560)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.java:570)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:256)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:230)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:137)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:75)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:88)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:78)
at org.gradle.internal.Transformers$4.transform(Transformers.java:137)
at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:78)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:367)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:342)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:335)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
at com.intershop.common.artifacts.DependencyUtils$_resolveSingleModule_closure13.doCall(DependencyUtils.groovy:249)
at com.intershop.common.artifacts.DependencyUtils$_resolveSingleModule_closure13.call(DependencyUtils.groovy)
at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:320)
at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:294)
at com.intershop.common.artifacts.DependencyUtils.withTemporaryConfiguration(DependencyUtils.groovy:288)
at com.intershop.common.artifacts.DependencyUtils.resolveSingleModule(DependencyUtils.groovy:248)
... 65 more
Also, I am getting below warning messages while I do gradlew clean eHCR publish
This project is not included in a SCM!
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration1'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration2'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration3'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration4'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration5'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration6'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration7'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration8'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration9'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration10'.).
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.pom
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.pom
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.jar
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.jar
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration11'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration12'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration13'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration14'.).
I'm afraid your question is to general to get a simple answer. It could be anything from access permissions to Intershop's bin repository itself, or insufficient license rights for B2X, or...
I suggest you ask Intershop Support for help.
Highly likely that the artifact repository server isn't setup correctly. If you followed the CI setup kb with nexus then u can test it by opening this link in your browser with your nexus hostname:
https://<host>/nexus/content/repositories/ishrepo/com.intershop.assembly/commerce_management_b2x/7.10.3.1/
You should see the folders: gradle,ivy,zips,dmps
Related
I am trying to create a luminus project with sqlite and cljs support with this command:
lein new dbscript +sqlite +cljs
but I keep getting this error message all the time:
Failed to resolve version for dbscript:lein-template:jar:RELEASE: Could not find metadata dbscript:lein-template/maven-metadata.xml in local (/home/jonas/.m2/repository)
Failed to read artifact descriptor for dbscript:lein-template:jar:RELEASE
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template dbscript on the classpath.
and I cannot find any solution to this. Any suggestions?
Hello this is my first time make android program and found this error but the code not have an error point. the error message is below :
Execution failed for task ':app:mergeDebugResources'.
Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Failed to transform aapt2-4.1.1-6503028-windows.jar (com.android.tools.build:aapt2:4.1.1-6503028) to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for Aapt2Extractor: C:\Users\lenovo.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\4.1.1-6503028\cc838ebadee3649d47e07d029371bc1054e2200d\aapt2-4.1.1-6503028-windows.jar.
> java.io.IOException: Unable to delete directory 'C:\Users\lenovo.gradle\caches\transforms-2\files-2.1\aa8b5888abc00f78a9403248465821cc'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\Users\lenovo.gradle\caches\transforms-2\files-2.1\aa8b5888abc00f78a9403248465821cc\aapt2-4.1.1-6503028-windows
can someone tell me how to fix it ?
i had same problem in linux
tried many ways and asked some question.
finally found out there is file missing named aap2 in build-tools
i couldn't find that file to place it in destination so i deleted whole file and re Download it with sdk manager and if it doesn't work too i guess u should try reinstall android studio
yes its not a good answer but it was all experience i had with this error.
What is the meaning of below message
Defaults for xx.com.intershop are used for inject repositories!
The local artifacts are stored in D:\Projects\b2x710\.gradle\.localRepo!
Repository 'ivyComponents' with url 'https://<nexushost>/nexus/content/groups/components' removed from project ':'. Only repositories on 'ci.intershop.com.xx,nexus.intershop.com.xx' are allowed.
This project is not included in a SCM!
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration1'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration2'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration3'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration4'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration5'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration6'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration7'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration8'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration9'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration10'.).
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.pom
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.pom
Download https://<nexushost>/nexus/content/groups/components/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.jar
Download https://<nexushost>/nexus/content/groups/components/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.jar
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration11'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration12'.).
It was not possible to create stream from com.intershop.assembly:commerce_management_b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration13'.).
It was not possible to create stream from com.intershop.responsive:inspired-b2x input (Could not resolve all dependencies for configuration 'detachedConfiguration14'.).
What could be wrong ?
I tried to run the cordapp-example from the command prompt. But when I input the "gradlew.bat deployNodes" command, I got the error as below.
Execution failed for task ':kotlin-source:compileKotlin'.
Could not resolve all dependencies for configuration ':kotlin-source:compileClasspath'.
Could not determine artifacts for org.jolokia:jolokia-war:1.3.7
Could not get resource 'https://jcenter.bintray.com/org/jolokia/jolokia-war/1.3.7/jolokia-war-1.3.7.war'.
Could not HEAD 'https://jcenter.bintray.com/org/jolokia/jolokia-war/1.3.7/jolokia-war-1.3.7.war'.
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
I had done the "keytool -importcert" command to import the certificate of jolokia-war into java cacerts, but the error was still there.
Does anyone know how to solve the problem?
The error message indicates that the compilation failed because your machine was unable to download the resource at this location: https://jcenter.bintray.com/org/jolokia/jolokia-war/1.3.7/jolokia-war-1.3.7.war.
This URL works for me and I was able to download the resource. You are most likely behind a firewall or otherwise unable to download this resource. You need to make your machine able to access this resource to compile and deploy the node.
Since Appcelerator(/Hyperloop) doesn't use Gradle or Maven to manage dependencies, I need to include them all manually for my project by placing them in the app/platform/android folder. I have done this, however I also need to include google dagger (https://github.com/google/dagger) which requires including dagger-compiler-2.x.jar , which I believe is an annotation processor that generates some type of code during compile-time.
Simply placing this in the app/platform/android folder like any other jar results in this error when the dexer is running during the build:
[ERROR] : Failed to run dexer:
[ERROR] :
[ERROR] : PARSE ERROR:
[ERROR] : MethodHandle not supported
[ERROR] : ...while preparsing cst 016c at offset 00001ceb
[ERROR] : ...while parsing com/google/googlejavaformat/java/JavaInput.class
[ERROR] : 1 error; aborting
I think it has something to do with the part of the dagger instructions which state "you will need to include dagger-compiler-2.x.jar in your build at compile time." Is there somewhere else that I need to place this jar file to get it to be used properly? Or is the use of compile-time annotation processors not something that Appcelerator/Hyperloop supports at this time? Any thoughts or insight would be greatly appreciated.
A good amount has changed since this question was asked. This being said, I believe that currently Hyperloop for Android doesn't handle annotations. And this is how dependency injection systems work, so I believe it's still not currently possible to use that or similar JARs.