|
|
|
@ -1,12 +1,13 @@
|
|
|
|
|
package com.docus.server;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
|
|
|
|
|
import java.util.Properties;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Slf4j
|
|
|
|
|
//@EnableFeignClients(basePackages = ("com.feign"))
|
|
|
|
@ -15,6 +16,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
@MapperScan("com.docus.server.**.mapper")
|
|
|
|
|
public class AppRunBootstrap {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
Properties props = System.getProperties();
|
|
|
|
|
props.setProperty("org.apache.cxf.stax.allowInsecureParser", "1");
|
|
|
|
|
props.setProperty("UseSunHttpHandler", "true");
|
|
|
|
|
System.setProperty("javax.xml.parsers.DocumentBuilderFactory","com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
|
|
|
|
|
SpringApplication.run(AppRunBootstrap.class,args);
|
|
|
|
|
}
|
|
|
|
|