My initializer class
public class HomeServlet extends AbstractAnnotationConfigDispatcherServletInitializer{ @Override protected Class>
My friend encountered the same problem. The problem was that the correct package name was not set for the class. AAAAnd clean the project before packaging!!!
Here is the code on GitHub