|
|
|
@ -16,7 +16,7 @@ import org.springframework.web.WebApplicationInitializer;
|
|
|
|
|
@EnableCaching
|
|
|
|
|
@EnableAsync
|
|
|
|
|
@ComponentScan(basePackages= {"cn.jlw","com.ibeetl.admin","com.ibeetl.jlw"})
|
|
|
|
|
@ServletComponentScan(basePackages = "cn.jlw.filter")
|
|
|
|
|
@ServletComponentScan(basePackages = {"cn.jlw.cors", "cn.jlw.filter"})
|
|
|
|
|
public class WebApplication extends SpringBootServletInitializer implements WebApplicationInitializer {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
@ -29,4 +29,5 @@ public class WebApplication extends SpringBootServletInitializer implements WebA
|
|
|
|
|
factory.addConnectorCustomizers(connector -> connector.setProperty("relaxedQueryChars", "|{}[]\\"));
|
|
|
|
|
return factory;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|