我对CAS和gradle都是新手。
我从这里下载了CAS代码。解压下载的zip之后,我运行gradlew.bat文件来构建CAS项目。即使我没有修改任何内容,在构建过程中也会得到以下错误:
org.jasig.cas.CentralAuthenticationServiceImplTests > verifyDelegateTicketGrantingTicketWithProperParams FAILED org.jasig.cas.ticket.InvalidTicketException at CentralAuthenticationServiceImplTests.java:174 47 tests completed, 1 failed :cas-server-core:test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':cas-server-core:test'. There were failing tests. See the report at: file:///C:/Users/newbie/Downloads/cas-4.2.1/cas-server-core/build/reports/tests/index.html
org.apereo.cas.CentralAuthenticationServiceImplTests > verifyDelegateTicketGrantingTicketWithProperParams FAILED INVALID_TICKET at org.apereo.cas.CentralAuthenticationServiceImpl.createProxyGrantingTicket(CentralAuthenticationServiceImpl.java:256) at org.apereo.cas.CentralAuthenticationServiceImpl$$FastClassBySpringCGLIB$$d0ec6e1f.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) at org.apereo.cas.CentralAuthenticationServiceImpl$$EnhancerBySpringCGLIB$$9bd39a43.createProxyGrantingTicket() at org.apereo.cas.CentralAuthenticationServiceImplTests.verifyDelegateTicketGrantingTicketWithProperParams(CentralAuthenticationServiceImplTests.java:175) 47 tests completed, 1 failed :core:cas-server-core:test FAILED :lintGradle FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:cas-server-core:test'. There were failing tests. See the report at: file:///C:/Users/newbie/Downloads/cas-5.0.2/core/cas-server-core/build/reports/tests/test/index.html
事先多谢。
似乎您的gradlew.bat files有一个任务来运行测试文件。在运行测试文件时,其中一个测试用例失败,因为您的构建失败。如果您真的想运行测试用例,您必须修复测试用例错误(找到哪个测试用例失败了,以及修复的原因,以便检查日志文件)。否则,您可以从gradle构建文件中删除特定的测试用例或注释测试运行任务。
错误:任务“:app:processDebugManifest”的执行失败。 清单合并失败:属性元数据#android。支持VERSION@value值=(25.3.1)来自[com.android.support:appcompat-v7:25.3.1]AndroidManifest。xml:27:9-31也出现在[com.android.support:recyclerview-v7:26.0
问题内容: 我用Java进行了selenium测试,并且正在做一些断言: 这是Selenium从IDE导出到Java Webdriver时生成的标准方法。 (是的,我想断言该元素不存在) 在上述代码行中进行测试时,我总是会收到错误消息:错误的元素引用:元素未附加到DOM 但是,当我在该步骤之前放置一个thread.sleep时,它可以工作。我没有得到的事实是,等待1毫秒就足够了。在断言之前等待通常
我已经看过这些帖子: 谷歌云数据流 - 从Pub到镶木地板 谷歌数据流“工作流程失败”无缘无故 它们很有帮助,我最终为发布/订阅消息创建了类似的东西,比如:<code>{“id”:“1”}</code>(仅用于测试): 我只能看到错误“工作流失败”。但仅对于DataflowRunner,对于DirectRunner,我没有问题。这里是“运行”命令: 以下是此作业的日志(前几行是最后出现的): 现在
我试着运行mvn声纳:声纳,我得到了这个: [ERROR]无法在YamarinArtifactId项目上执行goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar(默认-CLI):Can not execute sonar:FxCop执行失败。FxCop执行失败,返回代码为“521”。有关更多信息,请查看FxCop文档。->[帮助1] 你知道该怎么办
变量 ssl_secret= zk_host=zookeeper zk_port=2181 broker_host=kafka-ssl broker_port=9092 sr_host=schema-registry sr_port=8181 sr_con=connect sr_con_port=8083 host=localhost