springboot jsp: isInvalidPath(ResourceHttpRequestHandler.java:638)] - Path with "WEB-INF" or "META-INF": [WEB-INF/ui/index.jsp]
非原创 emptycity 发表于:2021-12-06 14:13:39
  阅读 :109   收藏   编辑

错误信息

  • 访问页面出现404
  • console 出现:
springboot jsp: isInvalidPath(ResourceHttpRequestHandler.java:638)] - Path with "WEB-INF" or "META-INF": [WEB-INF/ui/index.jsp]
说解决办法

pom.xml文件添加依赖

<dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-jasper</artifactId>
  </dependency>