将下面的代码放到你的源代码目录下再次启动项目即可,亲测有效。
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.conf
将下面的代码放到你的源代码目录下再次启动项目即可,亲测有效。
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.conf