Divide Spring configuration across multiple projects

后端 未结 1 474
伪装坚强ぢ
伪装坚强ぢ 2021-02-06 04:42

we have quite a few projects that use the same codebase (backend code). Just the frontend tends to be different. We decided that the best approach would be to seperate backend a

相关标签:
1条回答
  • 2021-02-06 05:33

    Since the spring bean configuration files are in the classpath, you need to add the prefix claspath to the resource location:

    <import resource="classpath:spring/Database.xml"/>
    <import resource="classpath:spring/Services.xml"/>
    <import resource="classpath:spring/Frontend.xml"/>
    
    0 讨论(0)
提交回复
热议问题