AppModule class uses the Pair implementation available in "org.apache.commons.math3.util.Pair". So please make sure to add all the the external libraries in the "JARs" Folder (https://github.com/Cloudslab/iFogSim/tree/main/jars) to your project when running.
Hope this helps.
Originally posted by @Samodhap in #10 (comment)