首页 > 解决方案 > 如何解决 jasper 1.8.0 对 Grails 4 的依赖?

问题描述

我已经成功安装jasper 1.8.0build.gradle. 但是,安装后,我收到此错误。

我的项目由 Grails 4 和 java 11 开发

错误:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootRun'.
> Could not resolve all files for configuration ':runtimeClasspath'.
   > Could not find org.grails.plugins:jasper:1.8.0.
     Searched in the following locations:
       - https://repo.grails.org/grails/core/org/grails/plugins/jasper/1.8.0/jasper-1.8.0.pom
       - https://repo.grails.org/grails/core/org/grails/plugins/jasper/1.8.0/jasper-1.8.0.jar
     Required by:
         project :
   > Could not find org.grails.plugins:jasper:1.8.0.
     Searched in the following locations:
       - https://repo.grails.org/grails/core/org/grails/plugins/jasper/1.8.0/jasper-1.8.0.pom
       - https://repo.grails.org/grails/core/org/grails/plugins/jasper/1.8.0/jasper-1.8.0.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 54s
Error |
Failed to start server (Use --stacktrace to see the full trace)

Process finished with exit code 1

标签: dependenciesjasper-reportsgrails-4

解决方案


推荐阅读