Spring context from within a jar file

前端 未结 4 1648
無奈伤痛
無奈伤痛 2021-02-05 17:01

I\'m developing a desktop application in java using spring and hibernate. I want to package it as a executable jar but I\'m having problems loading the context configuration XML

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-05 17:21

    Provided your jar is in classpath; you can import bean definitions from jars using import

    
    

提交回复
热议问题