package com.kexue.skills; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.context.event.EventListener; import org.springframework.scheduling.annotation.EnableScheduling; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.net.InetAddress; import java.net.UnknownHostException; @SpringBootApplication @MapperScan(basePackages = "com.kexue.skills.mapper") @EnableAspectJAutoProxy @EnableScheduling public class SkillsApp { public static void main(String[] args) { SpringApplication.run(SkillsApp.class, args); } }