NoClassDefFoundError: FindsByIosUIAutomation Upgraded from appium java client 7.0.0 to 7.2.0

Hi, I am currently using maven io.appium java client version 7.0.0 and it is working fine. (Java test automation framework)

I was going to upgrade to the latest verson 7.2.0 but when I updated my POM and then run the tests I get this error:

java.lang.NoClassDefFoundError: io/appium/java_client/FindsByIosUIAutomation

Anyone know what is causing this?