| | |
| | | |
| | | import com.product.core.spring.context.SpringBeanUtil; |
| | | import com.product.customer.service.CreateSignatureFile; |
| | | import com.product.file.util.PdfConcurrenceUtil; |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| | |
| | | RegistValidate.getInstance().registValidateParameter(); |
| | | boolean connFlat = DataSourceManager.getInstance().initClientConnectionPool(); |
| | | InitialLoad.runInitialization(); |
| | | PdfConcurrenceUtil.init(); |
| | | String rootPath = ResourceUtils.getURL("classpath:").getPath(); |
| | | Global.setPropertyValue("root.path", rootPath); |
| | | Global.setPropertyValue("jdk.home", System.getProperties().getProperty("java.home")); |
| | |
| | | } |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | SpringMVCContextHolder.getSystemLogger().error("System startup failed:"+e.getMessage()); |
| | | SpringMVCContextHolder.getSystemLogger().error("System startup failed, Please contact the administrator!"); |
| | | } |
| | | } |
| | | } |