gpt4 book ai didi

gradle - cas-gradle-overlay-template-master gradle bootrun错误

转载 作者:行者123 更新时间:2023-12-03 04:21:42 26 4
gpt4 key购买 nike

dependencies {
compile "org.apereo.cas:cas-server-webapp-tomcat:${project.'cas.version'}@war"
if (!project.hasProperty('bootiful')) {
// Other dependencies may be listed here...
} else {
println "Running CAS in Bootiful mode; all dependencies except the CAS web application are ignored."
}
}

这gradle bootrun成功
dependencies {
compile "org.apereo.cas:cas-server-webapp-tomcat:${project.'cas.version'}@war"
if (!project.hasProperty('bootiful')) {
compile "org.apereo.cas:cas-server-support-jdbc:${project.'cas.version'}"
compile "org.apereo.cas:cas-server-support-jdbc-drivers:${project.'cas.version'}"
// Other dependencies may be listed here...
} else {
println "Running CAS in Bootiful mode; all dependencies except the CAS web application are ignored."
}
}

此错误信息
gradle scans

如果不更改代码,该代码将正常工作。

但是,任何依赖都是错误的。

最佳答案

从项目的自述文件中:

Be careful with this method of deployment. bootRun is not designed to work with already executable WAR artifacts such that CAS server web application. YMMV. Today, uses of this mode ONLY work when there is NO OTHER dependency added to the build script and the cas-server-webapp is the only present module.

关于gradle - cas-gradle-overlay-template-master gradle bootrun错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50082988/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com