Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在运行 Pentaho 报告。问题是所有图像都设置为 localhost:8080 等,所以我无法查看图像。你能告诉我这个房产在哪里可以买到吗
与此相关的设置在您的 web.xml 文件中称为“base-url”。将此更改为公共 IP 或域名。所有内容生成器都使用 base-url 来创建指向其他文件的链接。
确保您仅通过已在此处配置的公共 IP/名称访问服务器 - 否则您可能会遇到安全层问题,因为它依赖 cookie 来验证您自己,因此它可能会阻止您在出现时看到该内容未登录。