spirng服务项目启动

public static void main(String[] args) {
        // TODO Auto-generated method stub
        //System.setProperty("LogDir", "E:/froad-Points/logs/");
        System.setProperty("LogDir", "c:/var/log/applogs/froad-points/");
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext(    "classpath*:content/*/*.xml");
           
        applicationContext.registerShutdownHook();
    }

你可能感兴趣的:(SPI)