Aaron,
If this is a runtime error, please include at least some of the log file surrounding this error.
Do you have a script defined in cas config?
You may need to include:
implementation "org.apereo.cas:cas-server-core-scripting"
You should not need ${project.'cas.version'} with the dependency lines.
You could also move to 7.2
Ray