Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7622641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:30:13+00:00 2026-05-31T04:30:13+00:00

I found the similar question here but it doesn’t helping me anymore. However i

  • 0

I found the similar question here but it doesn’t helping me anymore. However i am facing the same problem. While running my application i get the followine error:

Warning: The page /template/common.xhtml declares namespace http://primefaces.org/ui and uses the tag p:panel , but no TagLibrary associated to namespace.

Below is a snippet of my index.xhtml :

<ui:composition template="/template/common.xhtml"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui">

    <ui:define name="profile">    

And this is how my common.xhtml file looks (not putting the whole content, just namespaces and 1-2 lines) :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui">
<h:head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Welcome to my website</title>
    <h:outputStylesheet library="css" name="default.css" />
</h:head>
<h:body>
    <div id="header" style="margin: auto; width: 80%;">
        <p:panel>

As described by BalusC at here, one must define xmlns=”http://www.w3.org/1999/xhtml&#8221;. I am doing the same. i.e. second line of index.xhtml file is doing the same. but still i am getting error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:30:15+00:00Added an answer on May 31, 2026 at 4:30 am

    The PrimeFaces 3.x JAR file is missing in your webapp’s /WEB-INF/lib folder. Download and drop it in there. Or, if you’re using PrimeFaces 2.x, then you should be using the following XML namespace instead:

    xmlns:p="http://primefaces.prime.com.tr/ui"
    

    That other question which you’re linking to isn’t talking about <p:xxx> tags, but about plain HTML tags like <title>, <div> and so on. It’s just the coincidence that in case of that other question the <input> is been placed inside a <p:panel>.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found a similar question about this but aimed at Debian here . However
I can't resolve this issue, I found a similar question here but: setting the
I found this similar question here , but this is really old. Was it
I've found a similar question here , but I'm looking for more general solutions.
I found a similar question here, but didn't help me. I basically have apache
I found a few questions similar to this one here on SO, but none
I found this on Google, click here , which someone asked a similar question,
I've found a similar question on stack overflow, but it didn't really answer the
I found a Question similar to my problem( Regular Expression For URL Query )
This question sounds similar to many posed here, but it's obnoxiously different. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.