Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.5k views
in Technique[技术] by (71.8m points)

跨项目读取Spring配置文件的一个问题?

RT,有一个屎山项目的二次开发需求,现在情况是老系统分为两个project(称为A和B),互相依赖
其中B项目的某个模块的web.xml所需要的配置文件放在A项目的不同模块中,导致完全没法读取,启动项目就报IO异常
请问各位大佬有没有办法解决这个问题?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

检查看看打包引入进去了否


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...