Failed to load ApplicationContext from Unit Test: FileNotFound

前端 未结 9 1049
夕颜
夕颜 2021-02-01 14:44

I am creating a Maven Spring project, which includes MVC, Data and Security. My Spring applicationContext-*.xml files are located at \\src\\main\\resources\\spring\\

My

9条回答
  •  走了就别回头了
    2021-02-01 14:53

    The problem is insufficient memory to load context.

    Try to set VM options:

    -da -Xmx2048m -Xms1024m -XX:MaxPermSize=2048m
    

提交回复
热议问题