spring security No WebApplicationContext found

后端 未结 1 625
梦如初夏
梦如初夏 2021-01-17 10:53

I am new to spring security

I have web.xml




        
相关标签:
1条回答
  • 2021-01-17 11:34

    You haven't declared the root webapp context - you've added the contextConfigLocation, but not the listener that uses it:

    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    
    0 讨论(0)
提交回复
热议问题