- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在 grails 2.5.0 中编译一个项目。当我运行 grails run-app
时,我收到以下错误:
| Error Resolve error obtaining dependencies: Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416) (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416) (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416) (Use --stacktrace to see the full trace)
| Error Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416)
| Run 'grails dependency-report' for further information.
使用 --stacktrace 运行:
| Error Resolve error obtaining dependencies: Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416) (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
org.eclipse.aether.resolution.DependencyResolutionException: Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
at grails.util.BuildSettings.doResolve(BuildSettings.groovy:514)
at grails.util.BuildSettings.doResolve(BuildSettings.groovy)
at grails.util.BuildSettings$_getDefaultTestDependencies_closure16.doCall(BuildSettings.groovy:588)
at grails.util.BuildSettings$_getDefaultTestDependencies_closure16.doCall(BuildSettings.groovy)
at grails.util.BuildSettings.getDefaultTestDependencies(BuildSettings.groovy:582)
at grails.util.BuildSettings.getTestDependencies(BuildSettings.groovy:563)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
... 6 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact xerces:xercesImpl:jar:2.9.1 from/to mavenCentral (https://repo1.maven.org/maven2/): Range Not Satisfiable (416)
at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
... 8 more
Caused by: org.apache.http.client.HttpResponseException: Range Not Satisfiable (416)
at org.eclipse.aether.transport.http.HttpTransporter.handleStatus(HttpTransporter.java:466)
at org.eclipse.aether.transport.http.HttpTransporter.execute(HttpTransporter.java:291)
at org.eclipse.aether.transport.http.HttpTransporter.implGet(HttpTransporter.java:243)
at org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(AbstractTransporter.java:59)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:447)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
... 13 more
最佳答案
问题已解决。只需删除缓存文件 ~/.m2/repositories 即可正常运行。
关于java - 由于依赖项 xerces :xercesImpl:jar:2. 9.1,Grails 运行应用程序失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60699468/
根据此处的建议:WAS 8.5: java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl incompati
当 xercesImpl.jar 作为库包含在内时,我无法在我的 NetBeans Web 应用程序中创建 Web 服务客户端。 使用 NetBeans 6.9 和 GlassFish 3.0.1:
我从Selenium Downloads page下载了selenium-java-2.0b3.zip 。我将其解压并将所有 .jar 添加到一个简单 Eclipse 项目的构建路径中: import
Gradle 依赖: dependencies { implementation 'org.springframework.boot:spring-boot-starter' comp
我正在尝试在 grails 2.5.0 中编译一个项目。当我运行 grails run-app 时,我收到以下错误: | Error Resolve error obtaining dependenc
我一直在绕圈子。我们正在使用 WebSphere Liberty、Eclipse 和 Maven。我收到了几个警告,例如 [警告] SRVE9967W:无法在 jar 文件文件中找到 list 类路径
我确信我不是第一个遇到这种冲突的人。 我继承的代码执行以下操作: org.w3c.dom.Document dom; // declaration javax.xml.validation.Schem
当我将 xercesImpl-2.9.1 添加到我的 Maven 项目的 pom xml-apis-1.3.04.jar 时,它作为 xercesImpl-2.9.1 的编译范围依赖项进入我的项目程序
我是一名优秀的程序员,十分优秀!