Scala + Play get resource Path

// runnermap is the file name in resources
getClass.getClassLoader.getResource("runnermap").getPath
原文地址:https://www.cnblogs.com/yunfeiqi/p/6795844.html