You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
563 B

package com.xm;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.stereotype.Component;
@SpringCloudApplication
@EnableRedisHttpSession
@ComponentScan(basePackages={"com.mdp"})
public class XmApplication {
public static void main(String[] args) {
SpringApplication.run(XmApplication.class,args);
}
}