- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用DIY catridge将uaa(https://github.com/cloudfoundry/uaa)部署到Openshift。在执行gradlew run
时,出现以下错误:
remote: + '[' '!' -d /var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/data//gradle-2.2.1 ']'
remote: + cd /var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/runtime/repo/
remote: + export GRADLE_OPTS=-Dorg.gradle.bindaddress=127.3.86.1
remote: + GRADLE_OPTS=-Dorg.gradle.bindaddress=127.3.86.1
remote: + export GRADLE_USER_HOME=/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/data//gradle
remote: + GRADLE_USER_HOME=/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/data//gradle
remote: + export GRADLE_HOME=/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/data//gradle-2.2.1
remote: + GRADLE_HOME=/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/data//gradle-2.2.1
remote: + export PATH=/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/data//gradle-2.2.1/bin:/bin:/usr/bin:/usr/sbin
remote: + PATH=/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/data//gradle-2.2.1/bin:/bin:/usr/bin:/usr/sbin
remote: + ./gradlew run --stacktrace
remote:
remote: FAILURE: Build failed with an exception.
remote:
remote: * What went wrong:
remote: Could not open buildscript class cache for settings file '/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/runtime/repo/settings.gradle' (/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/d
ata/gradle/caches/2.0/scripts/settings_4q2fm2rl4vahfi2fl0nqac291k/SettingsScript/buildscript).
remote: > java.net.BindException: Permission denied
remote:
remote: * Try:
remote: Run with --info or --debug option to get more log output.
remote:
remote: * Exception is:
remote: org.gradle.cache.CacheOpenException: Could not open buildscript class cache for settings file '/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/runtime/repo/settings.gradle' (/var/lib/openshif
t/54bd541be0b8cdd48e0001f0/app-root/data/gradle/caches/2.0/scripts/settings_4q2fm2rl4vahfi2fl0nqac291k/SettingsScript/buildscript).
remote: at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:48)
remote: at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:28)
remote: at org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:80)
remote: at org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory.java:50)
remote: at org.gradle.cache.internal.DefaultCacheRepository$PersistentCacheBuilder.doOpen(DefaultCacheRepository.java:138)
remote: at org.gradle.cache.internal.DefaultCacheRepository$AbstractCacheBuilder.open(DefaultCacheRepository.java:121)
remote: at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:57)
remote: at org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:35)
remote: at org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:36)
remote: at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:57)
remote: at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:130)
remote: at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:72)
remote: at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:62)
remote: at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:37)
remote: at org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:97)
remote: at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:88)
remote: at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:46)
remote: at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:120)
remote: at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:105)
remote: at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:85)
remote: at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:81)
remote: at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
remote: at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
remote: at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:39)
remote: at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29)
remote: at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
remote: at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
remote: at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
remote: at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
remote: at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
remote: at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
remote: at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
remote: at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
remote: at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
remote: at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
remote: at org.gradle.launcher.Main.doAction(Main.java:33)
remote: at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
remote: at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
remote: at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
remote: at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
remote: at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
remote: at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
remote: at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
remote: Caused by: org.gradle.internal.UncheckedException: java.net.BindException: Permission denied
remote: at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:39)
remote: at org.gradle.cache.internal.FileLockCommunicator.<init>(FileLockCommunicator.java:40)
remote: at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.getCommunicator(DefaultFileLockContentionHandler.java:156)
remote: at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.reservePort(DefaultFileLockContentionHandler.java:148)
remote: at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:79)
remote: at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:67)
remote: at org.gradle.cache.internal.DefaultCacheAccess.open(DefaultCacheAccess.java:86)
remote: at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:46)
remote: ... 42 more
remote: Caused by: java.net.BindException: Permission denied
remote: at org.gradle.cache.internal.FileLockCommunicator.<init>(FileLockCommunicator.java:38)
remote: ... 48 more
gradlew run
运行它,因此在这里看不到Jenkins的任何使用。
最佳答案
您是否查看了该文件的Linux文件权限?
SSH输入,然后导航到该目录
然后运行“ls -l”,它至少应该看起来像
w
为权限
关于gradle - java.net.BindException:权限被拒绝通过gradlew运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28067829/
我是 Gradle 新手,正在阅读此处的 Spring 教程: http://spring.io/guides/gs/gradle/ 我到达了它告诉我添加此任务的部分: task wrapper(ty
我在我的 react-native 项目的 gradlew clear 文件夹中错误地写了 gradlew clean 而不是 android,我发现它做了一些认真的工作。那么这是在做什么, grad
我注意到了 ./gradlew tasks 对于我的 android 项目,给我 assemble* 和 compile* 任务。 有什么区别? 我还注意到该命令列出了任务 compileDemoDe
我正在 salve 机器上设置 Jenkins 作业,我是 Linux shell 的新手。现在我有一个问题: 以 jenkins(为 Jenkins 作业设置的用户帐户)登录,执行 ./gradle
我想在 gradle 的帮助下从命令行构建 apk。我应该使用哪个命令来构建仅发布版本的 apk? 最佳答案 调试 ./gradlew 发布 ./gradlew assembleRelease 你的
我正在尝试 bundle 我的 APK。当我使用 gradlew assembleRelease或 assembleReleaseStaging我的应用程序没有变化。当我使用 react-native
根据 this以及我看过的许多其他地方/论坛,我应该始终在我的 git/svn/cvs 中包含 gradle 包装文件。 但是,为什么?在我的 build.gradle 文件中,我已经明确包含了我希望
我有以下情况: 我有一个包含几个子项目的项目。今天我尝试通过命令行使用 gradle 构建项目。 执行 ./gradlew clean :build 时构建成功, 但不是 ./gradlew clea
一个疯狂的问题,当我运行 gradlew assembleRelease 时,错误信息是: ... Loading dependency graph, done.easeJsAndAssets war
我尝试从命令行运行 gradlew,但经常遇到以下错误。 Brendas-MacBook-Pro:appx_android brendalogy$ ./gradlew compileDebug --s
我有一个来自 Gaelyk(称为 Bloogie)的示例,它使用 gradlew。 我在代理后面。 我阅读了 gradle 文档并发现了这个: gradle.properties systemProp
我有一个gradle项目。 当我输入“gradlew 任务”时,我会看到一堆任务。 这些任务在哪里?我如何查看它们的定义位置? 最佳答案 gradle help --task 将为您提供有关给定任务
我正在使用 Minecraft Forge 进行 retrofit 。对于那些不知道 Forge 是什么的人来说,它是一个防止模组破坏 Minecraft 源代码并帮助模组共存的程序。它还包含一个开发
我已经设置了 build.gradle文件与 apply plugin: 'java' .我尝试使用说明设置 gradle 包装器 here ,但是当我输入 sudo ./gradlew build
我从 git 加载一个项目并在 MacBook 上成功构建它。当我在终端窗口中输入 './gradlew assembleRelease' 时,出现错误: bash: ./gradlew: No su
我运行./gradlew clean是因为我的flutter运行assembleDebug过程花费了意想不到的长时间。我希望它删除我的文件夹,但相反,它开始下载gradle。Downloading h
当我尝试使用 ./gradlew clean 清理我的项目时它有效,但是./gradlew build不会工作。我尝试了一些存储库,但它无法解决 Spring 依赖项。 这里是 build.gradl
我正在尝试构建libGDX项目,但是gradlew刚刚停止工作。两个月前,它运行良好。似乎更新Java破坏了它。这是发生了什么: 这是Java文件夹的内容(不知道为什么会有用): 最佳答案 您的JAV
我正面临这个问题 sparsh610@DESKTOP-551C51M:/mnt/e/xxxxxxxxx$ ./gradlew mm : not found2: ./gradlew: : not fou
我已经设置了 build.gradle 文件,目前我的项目运行良好。现在的问题是当我运行 ./gradlew run 时,它失败并显示错误: What went wrong: Execution fa
我是一名优秀的程序员,十分优秀!