Spring boot executable JAR package JSP is not executable

There is a bug in the spring boot packaging plug-in, which makes it impossible to access the JSP page after packaging the executable JAR package. Currently, only 1.4.2 can be packaged normally. If it cannot be accessed after it is published as an executable jar package, first confirm the version of the packaging plug-in.

<plugin>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-maven-plugin</artifactId>

      <!--版本--><version>1.4.2.RELEASE</version>
      

</plugin>

 

Reference: https://blog.csdn.net/chichuhanga/article/details/78716027

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325985881&siteId=291194637