When I had the build failures, the version of maven was 3.5. I’ve changed maven versions in an attempt to fix the problem and the current maven version is 3.1.0.
Does it work fine in tomcat?
What is in the logs?
You could either back port these changes https://issues.openmrs.org/browse/TRUNK-4800 to the 1.9.x branch, or simply revert to MySQL 5.6
Downgraded mysql to 5.6. Works now in tomcat.