I have a REST web service built with Spring MVC, with annotation-based configuration and plus a web.xml in which org.springframework.web.context.support.AnnotationConfigWebApplicationContext
is specified to be used.
During startup of the application in the log file I see some of the lines 3 times. (Hibernate initialization - SchemaUpdate
, TableMetadata
etc..., then configWebApplicationContext
, then EhCacheManagerFactoryBean
, then requestMappingHandlerMapping
... and in this sequence 3 times).
The application starts with no errors and I can use the REST endpoints.
My concern is whether because of this my application will use more memory or cause some unpredicted behavior? Any insight is helpful.
Here's a screenshot of the application start-up captured by Spring Insight: