Announcement Announcement Module
Collapse
No announcement yet.
3.2.1 - AnnotationConfigWebApplicationContext.register gone? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3.2.1 - AnnotationConfigWebApplicationContext.register gone?

    I'm trying to update Spring from 3.2.0 to 3.2.1. I have a case where I create a AnnotationConfigWebApplicationContext then .register a @Configuration class. While register is still in the documentation, it fails, no register method seems to exist anymore.

    Whats the alternative here? I'm using embedded jetty which is why I'm not loading it the normal way in the web.xml.

    Thanks.

  • #2
    Solved by pulling in spring-web as a dependency. Previously I was only pulling in spring-context and spring-webmvc.

    Comment

    Working...
    X