解决问题:如果devtool作为jar包给其他应用依赖的时候,通过FileInputStream的方式无法读取模版,需Class.getResouceAsStream方式才能正确使用。
bugfix: If other application use devtool module as a jar dependency,it does not work cause it will throw exception like "java.io.FileNotFoundException: **/devtoolls.jar!//sometemplate.tpl".So I review the code then solve this problem,please read the pull request for more details.