Spring Configuration

前端 未结 5 1260
情深已故
情深已故 2020-12-14 09:48

I\'ve been reading up on Spring and it keeps talking about the spring configuration data you need, but where do you put this xml file? and what do you save it as? I can\'t s

5条回答
  •  不思量自难忘°
    2020-12-14 10:34

    Well, if there is an "official" name at all, then I guess it should come from the Spring guys themselves. And Spring's tool of choice to set up conformant Spring projects is Roo, looking there we find SRC_MAIN_RESOURCES/META-INF/spring/applicationContext.xml (with SRC_MAIN_RESOURCES being a placehiolder for src/main/resources in a Maven2 project).

提交回复
热议问题