Spring Tool Source (STS) - 编译我的第一个项目时出现问题

发布于 2024-11-26 09:35:40 字数 726 浏览 11 评论 0原文

我一直在尝试使用 STS 2.7.1 RELEASE 创建全新的基于 Java Roo 的项目。我选择使用 Roo 和 Maven 作为默认设置,并在从“项目”菜单更新所有 Maven 依赖项后(因此解决了由于 pom.xml 文件中 STS 自动定义的依赖项缺失而导致的初始错误),我仍然遇到以下 JSP 问题:

ErrorCMDocument_load_exception=An error occurred while loading document {0} with publicId {1}

在名为: load-scripts.tagx 的资源中

问题出在文件 load-script.tagx 中的以下两行:

<link rel="stylesheet" type="text/css" href="${tundra_url}"><!-- required for FF3 and Opera --></link>
<link rel="stylesheet" type="text/css" media="screen" href="${roo_css_url}"><!-- required for FF3 and Opera --></link>

我不确定是否存在任何配置问题或其他问题..有人会吗能够建议一些解决方案?

非常感谢和最诚挚的问候

I have been trying to create brand new Java Roo based project using STS 2.7.1 RELEASE. I choose to use Roo and Maven as default setting and after updating all the Maven dependencies from the Project menu (hence resolving the initial errors due to the missing dependendices defined automatically by STS in pom.xml file) I remain with the following JSP problem:

ErrorCMDocument_load_exception=An error occurred while loading document {0} with publicId {1}

in resource called: load-scripts.tagx

The problem is with the following two lines in the file load-script.tagx:

<link rel="stylesheet" type="text/css" href="${tundra_url}"><!-- required for FF3 and Opera --></link>
<link rel="stylesheet" type="text/css" media="screen" href="${roo_css_url}"><!-- required for FF3 and Opera --></link>

I am not sure if there is any configuration problem or what else.. would anyone be able to suggest some solution?

Many thanks and Best Regards

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

随波逐流 2024-12-03 09:35:40

请参阅 此帖子来自 Spring Roo 论坛

您可以找到临时解决方案(帖子于 2011 年 7 月 19 日 04:38 PM)

See this POST from the Spring Roo forum

You can find a temporary solution (POST at July 19th, 2011 04:38 PM)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文