So, I have been running my app locally in Tomcat with no problem. I am now moving to Jetty and Heroku with Neo4J. After making changes to the pom and Heroku stuff I can't run my app.
So that would mean I needed @DenyAll in my classpath, but I am not using it, didn't need it before. Maybe that jar is included in Tomcat.
Error creating bean with name 'graphDatabaseService' defined in URL [jar:file:/Users/bytor99999/Java/JavaProjects/EventGate/target/repo/com/perfectworldprogramming/eventgate/eventgate/0.1.0/eventgate-0.1.0.jar!/META-INF/spring/applicationContext-graph.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/annotation/security/DenyAll