整合 spring mvc 根容器和子容器 public class TestWebInitializer extends AbstractAnnotationConfigDispatcherServletInitializer { //根容器 @Override protected Class<?>[] getRootConfigClasses() { return new Class<?>[]{TestRootConfig.class}; } //子容器 @Override p
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release. 是因为在子线程中刷新了UI 解决方法是将刷新ui的操作放到主线程