@@ -0,0 +1,746 @@
+package com.sahana.inventory.user.configuration;%0A%0Aimport javax.servlet.Filter;%0A%0Aimport org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;%0A%0Apublic class AppInitializer extends AbstractAnnotationConfigDispatcherServletInitializer %7B%0A %0A    @Override%0A    protected Class%3C?%3E%5B%5D getRootConfigClasses() %7B%0A        return new Class%5B%5D %7B AppConfiguration.class %7D;%0A    %7D%0A  %0A    @Override%0A    protected Class%3C?%3E%5B%5D getServletConfigClasses() %7B%0A        return null;%0A    %7D%0A  %0A    @Override%0A    protected String%5B%5D getServletMappings() %7B%0A        return new String%5B%5D %7B %22/%22 %7D;%0A    %7D%0A    %0A    @Override%0A    protected Filter%5B%5D getServletFilters() %7B%0A    %09Filter %5B%5D singleton = %7B new CORSFilter() %7D;%0A    %09return singleton;%0A%09%7D%0A %0A%7D%0A

Create AppInitializer.java