Tuesday, May 15, 2007

... is not a registered tag in that namespace?

Today JDeveloper broke my project. I don't know what exactly happened, but putting an ADF Faces tag inside a page resulted in JSP compilation errors, e.g.:

Error: http://xmlns.oracle.com/adf/faces:panelPage is not a registered tag in that namespace.


After a few minutes of trying different things I opened the web.xml file and found the problem:

<taglib>
<taglib-uri>
http://java.sun.com/jsf/core
</taglib-uri>
<taglib-location>
/WEB-INF/lib/jsf-impl.jar
</taglib-location>
</taglib>
<taglib>
<taglib-uri>
http://xmlns.oracle.com/adf/faces
</taglib-uri>
<taglib-location>
/WEB-INF/lib/adf-faces-impl.jar
</taglib-location>
</taglib>
<taglib>
<taglib-uri>
http://xmlns.oracle.com/adf/faces/html
</taglib-uri>
<taglib-location>
/WEB-INF/lib/adf-faces-impl.jar
</taglib-location>
</taglib>


Now that was confusing... Removing that piece of code helped. But how did it appear here? JDev only knows...

One OT to mention here: the code you see above was escaped (to be displayed properly by Blogger) using a very simple and effective tool I've come across recently. Check out Dietmar Aust's blog.

1 comments:

Anonymous said...

Hi
acne accutane
No prescription!
Accutane is one among the various types of Vitamin A out there and helps in decreasing the quantity of oil that the oil glands present in your skin often release, which in result leads to cystic ache, in general.
[url=http://eloquentfashion.com/]order accutane[/url]
The odds are that your ache continues to get better without any additional medication but if you still suffer from acne after your resting period is completely over, you’ll probably require undergoing the next level of Accutane.
http://eloquentfashion.com/ - accutane drug
Alcoholic products are something that you should stay far from while you’re going through this therapy.