- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试在 Eclipse 中运行 'grale appenginerun'
命令时,但显示以下错误:
'gradlew' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\GeekLabs\git\the-nizamabad-gradle\thenizamabad>gradle appenginerun
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\GeekLabs\git\the-nizamabad-gradle\thenizamabad\build.gradle
' line: 22
* What went wrong:
A problem occurred evaluating root project 'thenizamabad'.
> No such property: stopPort for class: org.gradle.api.internal.project.DefaultP
roject_Decorated
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 4.273 secs
这是我的 build.gradle :
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'appengine'
apply plugin:'war'
sourceCompatibility = 1.7
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'thenizamabad', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
appengine {
httpPort = 8999
downloadSdk = true
httpAddress = '0.0.0.0'
stopPort = 8099
stopKey = 'STOP'
jvmFlags = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9988',
'-Ddatastore.backing_store=C:/gae/local_db_w.bin']
appcfg {
email = 'geeklabsapps@gmail.com'
oauth2 = true
logs {
severity = 1
outputFile = file('mylogs.txt')
}
app {
id = 'thenizamabad'
}
}
enhancerVersion = "v1"
enhancerApi = "jpa"
}
buildscript {
repositories {
mavenCentral()
// https://github.com/mgoellnitz/tangram-examples/blob/master/example-jpa-gae/build.gradle
maven {
url "https://raw.githubusercontent.com/mgoellnitz/artifacts/master" }
}
dependencies {
classpath 'com.google.appengine:gradle-appengine-plugin:1.9.9'
// for Enhancer
classpath 'tangram:gradle-plugin:0.9-SNAPSHOT'
}
}
dependencies {
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
testCompile group: 'junit', name: 'junit', version: '4.+'
// GAE
appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.9'
compile 'com.google.appengine:appengine-api-1.0-sdk:1.9.9'
compile 'com.google.appengine:appengine-api-labs:1.9.9'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
如果我评论这两行工作正常:
stopPort = 8099
stopKey = 'STOP'
不知道为什么会出现这样的情况?它在我 friend 的系统中工作正常,但在我的系统中却不行..我使用的是 32 位操作系统和 Grdle 版本:2.2.1..
如果您理解,请提供正确的答案..
提前致谢..
最佳答案
关于java - 没有这样的属性: stopPort for class: org. gradle.api.internal.project.Default Project_Decolated,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28342245/
这个问题在这里已经有了答案: How to make a property protected AND internal in C#? (8 个答案) 关闭 9 年前。 我需要声明一个既受又 内部保
我对在 Kotlin 1.3 中使用 Strings.isNullOrEmpty 导入 jdk.internal.joptsimple.internal.Strings.isNullOrEmpty 的
我有一个项目,实习生单元测试应该位于与被测源代码不同的目录树中。有点像这样: projectRoot projectRoot/src projectRoot/tests projectRoot/tes
如何在功能测试中访问浏览器的主要 JavaScript 范围?例如,我想获取对 Dojo 小部件的引用并检查它的属性。例如,在浏览器 JavaScript 控制台中,我可以运行: dijit.
public class TestClass { protected internal int FieldA; internal protected int FieldB; }
我想创建一个内部自动属性: internal bool IP { get; protected internal set; } 我认为可以使 setter protected 或 protected
java.lang.NoSuchMethodError: okhttp3.internal.Internal.initializeInstanceForTests() When creating a
我正在尝试使用 intern 来测试在 node.js 下运行的 dojo 应用程序 我的 intern.js 配置文件是这样的: define({ loader: {
我在 Raspbian wheezy 上的 nginx 1.2.1-2.2 有点问题。我认为它是在我更改站点可用/默认文件中的索引后开始的。以下是相关文件: nginx.conf user www-d
我在尝试加载 Visual studio 2012 时遇到了此错误,遇到了异常。这可能是由扩展引起的,并且在 C:\Users\~\AppData 中给出了附加信息的位置\Roaming\Micros
我正在将一个项目迁移到 Java9,在我切换到新的 Java 版本后,测试开始失败,看起来 PowerMock 正在尝试访问一些它无法访问的类。 Tests run: 1, Failures: 0,
该触发器用于检测进度中的顺序是否已更新,并有助于更新进度的概览状态和完成时间。 但是当发生内部错误时,它并不总是有效,如下所示: Error: 13 INTERNAL: An internal err
当我尝试将包含一些 JavaScript 的项目导入工作区时(使用 Eclipse 的 Neon.M6 版本),出现此错误: eclipse.buildId=4.6.0.I20160317-0200
我在尝试访问 FullContact API 服务器时收到此错误。我正在使用 okhttp 2.7.5 和 okhttp-urlconnection 2.7.5 以及改造 1.9.0。 Caused
当我试图读取一个以前版本的 pandas 保存的 pickle 文件时,它产生了一个 ImportError。 ImportError: No module named 'pandas.core.in
我正在将一个项目迁移到 Java9,在我切换到新的 Java 版本后测试开始失败,似乎 PowerMock 正在尝试访问它无法访问的一些类。 Tests run: 1, Failures: 0, Er
我正在尝试设置 Lumen - 建立在 Laravel 组件之上的“微框架”。服务器端有 nginx + php-fpm。 这是我的 nginx 配置: server { server_nam
在我们的项目中,我们决定在我们的项目中使用最新的 fmt 版本 (6.2.0) 并主要使用 printf 功能,因为我们在广泛使用 printf 的地方进行日志记录。 我使用 fmt 包中包含的 CM
我正在使用 Mockito jar 为 Groovy 编写 Junit 测试用例,但它给了我以下异常: java.lang.NoSuchMethodError: org.mockito.interna
我们的应用程序使用 Google 集合中的 MapMaker 类,并且我们遇到了以下异常,但仅限于使用 webstart 的 OS X 10.4。从应用程序包启动时以及在 OS X 10.5 和 Wi
我是一名优秀的程序员,十分优秀!