solve the problem of registering restful apis where rest related classes are in a jar file

solve the problem by ignore those classes with dollar sign ($) in `ReflectUtil.scala`