Whitelabel Error Page There was an unexpected error (type=Not Found, status=404)

最近在做springboot项目的freemarker模板,当一切配置好运行时,什么都没有做呢,就先给我来了一个小惊喜。经过百度各种博客,发现普遍的3种情况: 第1种 Application启动类的位置不对.要将Application类放在最外侧,即包含所有子包,spring-boot会自动加载启动类所在包下及其子包下的所有组件 第2种 在springboot的配置文件:application.y
相关文章
相关标签/搜索