Could not open ServletContext resource

后端 未结 8 928
情歌与酒
情歌与酒 2020-12-05 02:16

This is quite similar question to one older but the solution did not work for me.

I have a WAR package.

In web.xml



        
8条回答
  •  鱼传尺愫
    2020-12-05 02:49

    Try to use classpath*: prefix instead.

    http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/resources.html#resources-classpath-wildcards

    Also please try to deploy exploded war, to ensure that all files are there.

提交回复
热议问题