Basically I am a java developer & now I got a chance to work on Spark & I gone through basics of the Spark api like what is SparkConfig, SparkContaxt, RDD, SQLContax
To fix GraphFrame constructor issue try:
GraphFrame gf = GraphFrame.apply(verDF, edgeDF);