java.lang.IllegalStateException: No Scope registered for scope 'session'

后端 未结 1 756
灰色年华
灰色年华 2021-01-29 03:36

I\'m getting started with Spring and I want to create a fairly simple webapp.

First I have a my web.xml

   
        <         


        
相关标签:
1条回答
  • 2021-01-29 03:51

    You could try replacing the ClassPathXmlApplicationContext with XmlWebApplicationContext, may be? Since session is a web related scope.

    0 讨论(0)
提交回复
热议问题