查找：

    private NashornScriptEngine getPortalScript(String scriptName) {
        String scriptPath = "portal/" + scriptName + ".js";
        NashornScriptEngine iv = scripts.get(scriptPath);
        if (iv != null) {
            return iv;
        }

修改：

    private NashornScriptEngine getPortalScript(String scriptName) {
        String scriptPath = "portal/" + scriptName + ".js";
        System.err.println("Error entering Portalscript: " + scriptName + ".js" );
        NashornScriptEngine iv = scripts.get(scriptPath);
        if (iv != null) {
            return iv;
        }

