Fixing two problems: event annotation process declared in appointments module, and the duplicate processing of web application contexts