This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243089 - No library found for namespace http://primefaces.org/ui
Summary: No library found for namespace http://primefaces.org/ui
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 8.0
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 13:45 UTC by pggeldenhuys
Modified: 2014-07-21 13:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (176.62 KB, text/plain)
2014-03-20 13:45 UTC, pggeldenhuys
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pggeldenhuys 2014-03-20 13:45:20 UTC
Not picking up primefaces library in xhtml pages
For maven based primefaces 5.0-SNAPSHOT build (Works in netbeans dev build or in this build when I reference primefaces 4..0.9/4.0.10)
Note I do have the primefaces framework component selected/checked

I am building latest primefaces locally (It builds 100%)
Then in my pom:

<dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>5.0-SNAPSHOT</version>
        </dependency>

If I change to this is works:

<dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>4.0.9</version>
        </dependency>

Note this also happened in RC, but was fixed in dev build . . .

Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Mac OS X version 10.9.2 running on x86_64
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b70
Comment 1 pggeldenhuys 2014-03-20 13:45:28 UTC
Created attachment 146175 [details]
IDE log
Comment 2 Martin Fousek 2014-03-28 07:21:42 UTC
Sorry, I'm decreasing priority since the NetBeans 8.0 supports PrimeFaces in version 4 so far. Could you provide information about the Maven repository you are using?

I can't find Primefaces 5.0-SNAPSHOT as well as 4.0.9 in the central maven's or primefaces's repository. So I expect you are using your built artifacts (available thru local repository)?
Comment 3 Martin Fousek 2014-03-28 07:55:49 UTC
I can confirm the issue for locally built PrimeFaces 5.0-SNAPSHOT jar.
Comment 4 Martin Fousek 2014-03-28 08:04:03 UTC
Offline information from the reporter:
4.0.9 works well in the NB8.0
5.0.0 works well to him in the trunk, but I can't confirm that, I'm still getting the error with the locally build PrimeFaces 5.0-SNAPSHOT ... that needs to be investigated.
Comment 5 Martin Fousek 2014-05-16 06:37:02 UTC
Just for the record, PF5 from the MVN repository works well as well as PF5 .jar used in the Ant project.
Comment 6 Martin Fousek 2014-07-21 13:33:23 UTC
Hard to guess what was wrong before but I'm able to build PF5.0 as well as the latest PF5.1-SNAPSHOT and use it as a project library without any issue. Editor doesn't underline any line as wrong, the PF UI component is known. Tried out in my latest daily build (Build 20140721-abcadc4cc232).

Marking the issue as wontfix since PF5 wasn't officially supported inside NB8.0 and it works well in the current code base (NB8.0.1).