I have the following code fragment in two different projects.
It works in one project, but not the other. For the one where it fails, I can spell out each context file and things proceed as expected. Using "/WEB-INF/applicationContext*.xml" works fine in my web.xml.
servletContext = new MockServletContext("");
ServletContextListener contextListener = new ContextLoaderListener();
ServletContextEvent event = new ServletContextEvent(servletContext);
Any idea what could be causing this? Could there be a JAR or something in my classpath that prevents the Ant syntax from working?