当前位置:网站首页>Window runs gradle build ----- stacktrace. Exception occurs when the file framework-4.3.0.build-snapshot-schema.zip is not found
Window runs gradle build ----- stacktrace. Exception occurs when the file framework-4.3.0.build-snapshot-schema.zip is not found
2022-07-23 11:43:00 【Youth without fame】
Reprint http://stackoverflow.com/questions/34916981/build-spring-framework-source-code-encounter-an-error
edit build.gradle file
Replace with
task schemaZip(type: Zip) {
group = "Distribution"
baseName = "spring-framework"
classifier = "schema"
description = "Builds -${classifier} archive containing all " +
"XSDs for deployment at http://springframework.org/schema."
duplicatesStrategy 'exclude'
moduleProjects.each { subproject ->
def Properties schemas = new Properties();
subproject.sourceSets.main.resources.find {
it.path.endsWith("META-INF\\spring.schemas")
}?.withInputStream { schemas.load(it) }
for (def key : schemas.keySet()) {
def shortName = key.replaceAll(/http.*schema.(.*).spring-.*/, '$1')
assert shortName != key
File xsdFile = subproject.sourceSets.main.resources.find {
it.path.endsWith(schemas.get(key).replaceAll('\\/','\\\\'))
}
assert xsdFile != null
into (shortName) {
from xsdFile.path
}
}
}
}
Then re execute the command
边栏推荐
- Fed Brad: last week's employment report showed that the U.S. economy is robust and can withstand higher interest rates
- notepad++背景颜色调整选项中文释义
- General Query & paging code
- 用户连续登陆(允许中断)查询sql
- Using dynamic programming to solve the longest growing subsequence problem
- [metric] use Prometheus to monitor flink1.13org.apache.flink.metrics
- 数字藏品系统开发:企业布局元宇宙数字藏品
- NFT交易平台数字藏品系统|开发定制
- 第六届“蓝帽杯”全国大学生网络安全技能大赛-初赛Writeup
- NFT数字藏品开发:数字藏品在未来究竟有哪些可能的应用场景?
猜你喜欢

渗透测试基础

NFT数字藏品系统开发,数字藏品的发展趋势

NepCTF 2022 MISC <签到题>(极限套娃)
![[deployment] cluster deployment and startup of presto-server-0.261.tar.gz](/img/37/1185b2321b003a7793c8c37891008c.png)
[deployment] cluster deployment and startup of presto-server-0.261.tar.gz

NFT digital collection development: Jingdong "Qida bear takes you to the capital" tourism package

Custom MVC (Part 1)

Dynamically set the theme color of the card

數倉4.0筆記——業務數據采集

Upload lab level 1-4

利用动态规划解决最长增长子序列问题
随机推荐
xtu-ctf Challenges-Reverse 1、2
kubesphere HA install (二)
SQL realizes the user statistics of continuous login for more than 7 days
文件上传漏洞常见绕过方式
Fed Brad: last week's employment report showed that the U.S. economy is robust and can withstand higher interest rates
User defined MVC usage & addition, deletion, modification and query
Yarn容量调度器设置
自定义MVC的使用&增删改查
NFT数字藏品系统开发:深圳晚报《美好时光遨游记》数字藏品上线秒磬
Using dynamic programming to solve the longest growing subsequence problem
Web Component-自定義元素的生命周期
MySQL functions & views & import and export
Two sorting and one random data fetching of stored procedures
自定义MVC(上)
Dynamically set the theme color of the card
DVWA学习笔记
中间人攻击arp欺骗及与beef-xss联动
Man in the middle attacks ARP Spoofing and its linkage with beef XSS
Points for attention when using El table to lazy load tree tables
NepCTF2022 Writeup