Skip to content

cthiebault/spring-boot-war-overlays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot & Maven war overlay

Project to show Spring Boot & Maven war overlay errors:
http://stackoverflow.com/questions/24025004/spring-boot-maven-war-overlay

This project has 2 war modules:

  • dependency-webapp: basic webapp serving just html (/dependency/index.html)
  • main-webapp: Spring Boot webapp (copied from Spring Guides gs-serving-web-content). This webapp has a dependency on dependency-webapp.

Run the webapp:

mvn install
cd main-webapp
mvn spring-boot:run

Go to

I'm not able to access HTML files from the war dependency...

Even if these HTML files are packaged in the war file:

main-webapp-0.1.0-SNAPSHOT.war

- dependency    (from dependency-webapp)
  \- index.html
- main          (from main-webapp)
  \- index.html
- META-INF
- WEB-INF
- index.html

About

Project to show Spring Boot & Maven war overlay errors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages