Commit cb5b6e7b authored by Quxl's avatar Quxl

x

parent 8f8bab56
......@@ -4,6 +4,8 @@ import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.util.TimeZone;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
......@@ -15,11 +17,13 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableTransactionManagement
public class SapServiceApplication {
private static Log logger = LogFactory.getLog(SapServiceApplication.class);
private static ApplicationContext applicationContext;
public static void main(String[] args) throws KeyManagementException, NoSuchAlgorithmException {
logger.info("JAVA_HOME = " + System.getProperty("java.home"));
System.setProperty("java.io.tmpdir", "temp");
System.out.println(System.getProperty("java.home"));
TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
applicationContext = SpringApplication.run(SapServiceApplication.class, args);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment