?
Solved

taglib error

Posted on 2009-12-30
7
Medium Priority
?
1,942 Views
Last Modified: 2013-11-24
hi,
i am getting the error given below with this my simple  page
page
<%@ page import = "com.aaa.bbb.enterprise.util.tagext.URLUtil"%>
<%@ taglib uri="http://www.aaa.com.tr/taglibs/jsp/extjs" prefix="ext" %>
<%@ taglib uri="http://www.aaa.com.tr/sitemesh-page" prefix="page"%>
<%
String text = "deneme17";
out.print(text);
%>


the problem is at <%@ taglib uri="http://www.aaa.com.tr/sitemesh-page" prefix="page"%> line.
i am working on weblogic 10.3. am i missing some jars or what is the problem?

thanks.



error
]] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /resources/decorators/decorator.jsp
decorator.jsp:3: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 uri="http://www.aaa.com.tr/sitemesh-page" prefix="page"%>
    ^----^
decorator.jsp:3: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 uri="http://www.aaa.com.tr/sitemesh-page" prefix="page"%>
    ^----^

      at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:221)
      at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:157)
      at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
      at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
      Truncated. see log file for complete stacktrace

<Dec 30, 2009 11:04:37 AM EET> <Error> <HTTP> <BEA-101107> <[Servle
0
Comment
Question by:komputer
  • 3
  • 2
  • 2
7 Comments
 
LVL 6

Expert Comment

by:arevuri
ID: 26144901
Check wether http://www.aaa.com.tr/sitemesh-page is valid uri for page taglibs.
0
 
LVL 6

Expert Comment

by:arevuri
ID: 26144910
if page taglibs are custom tag libs then define your custom tag lib in web.xml like below

<taglib>
<taglib-uri>/myTaglib</taglib-uri>
<taglib-location>/tlds/mytablibdef.tld</taglib-location>
<description>My Taglib</description>
</taglib>
 
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 6

Expert Comment

by:arevuri
ID: 26144918
For your example, I think you can remove <%@ taglib uri="http://www.aaa.com.tr/sitemesh-page" prefix="page"%> as you are not using page tags
0
 

Author Comment

by:komputer
ID: 26145614
hi arevuri,
my web.xml tag defination part is just like in below;

>>Check wether http://www.aaa.com.tr/sitemesh-page is valid uri for page taglibs.
how can i check, i am newbie about taglibs, all tld files in my local under web-inf.

web.xml

           <taglib>
              <taglib-uri>http://www.aaa.com.tr/sitemesh-page</taglib-uri>
              <taglib-location>/WEB-INF/sitemesh-page.tld</taglib-location>
          </taglib>
0
 
LVL 20

Expert Comment

by:a_b
ID: 26165148
Did you check the link I posted? You might be missing a jar file in your lib.
0
 

Accepted Solution

by:
komputer earned 0 total points
ID: 26348299
i have resolved the problem by changing the classpath
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month17 days, 8 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question