标签: file tomcat grails web-deployment filenotfoundexception
我有这行代码在我的本地机器上运行良好,但是当我部署到tomcat时,我得到了java.io.FileNotFoundException。这是代码:
def file = new File("data/TransactionTypes.xml") ;