部署在 weblogic 11g 上时,无法通过此 URI -AjaxAnywhere 找到标记库

发布于 2024-11-29 02:34:20 字数 859 浏览 1 评论 0原文

当我在 weblogic 8.x 上部署示例 ajaxanywhere 应用程序时,它运行得很好。当我将其部署到 weblogic 11g 时,出现以下错误 示例

disp2.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@ taglib prefix="aa" uri="http://ajaxanywhere.sourceforge.net/" %>
^----^

应用程序可以从此处下载 http://sourceforge.net/projects/ajaxanywhere/files/AjaxAnywhere%20Demo%20WAR/1.2/ (我使用 1.2,但 1.2-rc3 有同样的问题)。

我尝试过...

  1. 从 jar 文件中提取 TLD 并将它们放在 web-inf 下并从 web.xml 引用它们

  2. 将 jstl1.0.6 添加到 lib 目录并将“首选 Web 类”放入 weblogic.xml 中。

仍然有同样的问题。如果我能确定问题所在,我愿意从源代码重建ajaxanywhere。我倾向于某种 JSTL 库不兼容。\

有什么想法吗?

When I deploy the sample ajaxanywhere application on weblogic 8.x it works great. When I deploy it to weblogic 11g I get the error below

disp2.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@ taglib prefix="aa" uri="http://ajaxanywhere.sourceforge.net/" %>
^----^

The sample app can be downloaded from here http://sourceforge.net/projects/ajaxanywhere/files/AjaxAnywhere%20Demo%20WAR/1.2/ (i used 1.2 but 1.2-rc3 has the same issue).

I have tried ...

  1. extracting the TLDs from the jar file and putting them under web-inf and referencing them from web.xml

  2. adding jstl1.0.6 to the lib directory and putting "prefer web classes" in weblogic.xml.

Still have the same issue. I am willing rebuild ajaxanywhere from source if I can determine what is wrong. I am leaning towards some sort of JSTL library incompatibility.\

Any thoughts?

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

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

发布评论

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

评论(1

扭转时空 2024-12-06 02:34:20

oracle 支持发现,如果从 URI 中删除尾部斜杠,它就可以工作。所以

URI=http://ajaxanywhere.sourceforge.net/ 

URI 应该是

URI=http://ajaxanywhere.sourceforge.net

oracle support found that if the trailing slash was removed from the URI it worked. so instead of

URI=http://ajaxanywhere.sourceforge.net/ 

the URI should be

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