I want to package a spring-boot application as jar, and I do so with mvn package
.
This produces a jar which does not contain any /WEB-INF/jsp
To create a runnable JAR with Spring Boot, use the spring-boot-maven-plugin in your pom.xml
org.springframework.boot
spring-boot-maven-plugin
Maybe you want to have a look at my example application http://info.michael-simons.eu/2014/02/20/developing-a-web-application-with-spring-boot-angularjs-and-java-8/ (Source is on GitHub, App is live and runs from a JAR).
One thing that you should note: JSP from JAR doesn't work due to some embedded Tomcat problems. I'm using Thymeleaf. If you need JSP, stay with the WAR deployment.