- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
Saxon似乎不是gradle
试图发送它的地方:
Not Found
For request 'GET /artifact/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.pom'
URL
是
../artifact/net.sf.saxon/..
,或者说是
looks,而不是导致问题的
..artifact/net/saxon..
。
kotlin-gradle-dsl
,特别是要查看的存储库以及如何查看该存储库?
// https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE
compile group: 'net.sf.saxon', name: 'Saxon-HE', version: '9.9.0-2'
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/5.0/userguide/tutorial_java_projects.html
*/
plugins {
// Apply the java plugin to add support for Java
java
// Apply the application plugin to add support for building an application
application
}
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
maven {
setUrl("https://mvnrepository.com/artifact/")
}
maven {
setUrl("http://repo.spring.io/plugins-release/")
}
}
dependencies {
// This dependency is found on compile classpath of this component and consumers.
implementation("com.google.guava:guava:26.0-jre")
compile (group = "org.ccil.cowan.tagsoup" , name = "tagsoup" , version = "1.2.1")
compile (group = "net.sf.saxon" , name = "saxon-HE" , version = "9.9.0-2")
// Use TestNG framework, also requires calling test.useTestNG() below
testImplementation("org.testng:testng:6.14.3")
}
application {
// Define the main class for the application
mainClassName = "helloWorldSaxon.App"
}
val test by tasks.getting(Test::class) {
// Use TestNG for unit tests
useTestNG()
}
Executing: gradle clean build
Arguments: [-c, /home/thufir/NetBeansProjects/helloWorldSaxon/settings.gradle.kts]
> Task :clean UP-TO-DATE
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.sf.saxon:saxon-HE:9.9.0-2.
Searched in the following locations:
- https://jcenter.bintray.com/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.pom
- https://jcenter.bintray.com/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.jar
- https://repo.maven.apache.org/maven2/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.pom
- https://repo.maven.apache.org/maven2/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.jar
- https://mvnrepository.com/artifact/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.pom
- https://mvnrepository.com/artifact/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.jar
- http://repo.spring.io/plugins-release/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.pom
- http://repo.spring.io/plugins-release/net/sf/saxon/saxon-HE/9.9.0-2/saxon-HE-9.9.0-2.jar
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 8s
2 actionable tasks: 1 executed, 1 up-to-date
Build failure (see the Notifications window for stacktrace): gradle clean build
最佳答案
您在名称 Artifact 中输入了一个类型,而不是
compile (group = "net.sf.saxon" , name = "saxon-HE" , version = "9.9.0-2")
compile (group = "net.sf.saxon" , name = "Saxon-HE" , version = "9.9.0-2")
关于gradle - Gradle Kotlin:找不到net.sf.saxon:saxon-HE:9.9.0-2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54021502/
例如,我有一个父类Author: class Author { String name static hasMany = [ fiction: Book,
代码如下: dojo.query(subNav.navClass).forEach(function(node, index, arr){ if(dojo.style(node, 'd
我有一个带有 Id 和姓名的学生表和一个带有 Id 和 friend Id 的 Friends 表。我想加入这两个表并找到学生的 friend 。 例如,Ashley 的 friend 是 Saman
我通过互联网浏览,但仍未找到问题的答案。应该很容易: class Parent { String name Child child } 当我有一个 child 对象时,如何获得它的 paren
我正在尝试创建一个以 Firebase 作为我的后端的社交应用。现在我正面临如何(在哪里?)找到 friend 功能的问题。 我有每个用户的邮件地址。 我可以访问用户的电话也预订。 在传统的后端中,我
我主要想澄清以下几点: 1。有人告诉我,在 iOS 5 及以下版本中,如果您使用 Game Center 设置多人游戏,则“查找 Facebook 好友”(如与好友争夺战)的功能不是内置的,因此您需要
关于redis docker镜像ENTRYPOINT脚本 docker-entrypoint.sh : #!/bin/sh set -e # first arg is `-f` or `--some-
我是一名优秀的程序员,十分优秀!