Home > Back-end >  Across projects read the Spring configuration file of a problem
Across projects read the Spring configuration file of a problem

Time:11-17

RT, there is A shit mountain secondary development needs of the project, now it is the old system is divided into two project (called A and B), depend on each other
A module of the web of B of these projects. The XML configuration files needed to put in A different modules of the project, the project lead to completely unable to read, started to IO exception
Excuse me, is there any way to solve this problem?




CodePudding user response:

B in pom is added to a dependence, is added to scan out a configuration file in a project, now the company's infrastructure is so play, by the second party bags, packaging infrastructure, and then project references

CodePudding user response:

reference 1st floor Farmermark993 response:
b in pom is added to a dependence, is added to scan out a configuration file in a project, now the company's infrastructure is so play, through two parties package, encapsulating infrastructure and project reference

Thank you bosses give directions, pom inside patch will take effect after the
Also want to trouble the bosses, I configure the local tomcat startup, but incredibly automatically after the launch a 302 redirect to the address of the online system, browser and type localhost: port found tomcat didn't start, who can help me with what's going on
  • Related