Create a Spring Boot application.
Disable tomcat embedded server and add javax.servlet dependency.
Create a neo4j configuration class.
Use Spring Boot to startup the webapp.