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 178514

Summary: Facelets Template Generation not working with Maven Projects
Product: javaee Reporter: dheffelfinger <dheffelfinger>
Component: JSFAssignee: Alexey Butenko <alexeybutenko>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dheffelfinger, erisch, kganfield
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot

Description dheffelfinger 2009-12-11 14:21:38 UTC
Created a Maven Web Application through NB 6.8.

Right clicked on the project and selected: New | Facelets Template...

There is a warning at the bottom of the dialog:

"No Facelets Libraries Found"

"Next" and "Finish" buttons are grayed out.

The javaee-web-api-6.0.jar is listed as a project library. This JAR should have Facelets.

As a workaround, Facelets can be added as a dependency from the ibiblio Maven repository
Comment 1 dheffelfinger 2009-12-11 14:23:03 UTC
Created attachment 92447 [details]
Screenshot
Comment 2 dheffelfinger 2009-12-11 15:44:26 UTC
I just verified that the issue exists under Linux as well.

The workaround of adding a "provided" facelets dependency works under Linux.
Comment 3 Alexey Butenko 2010-04-14 13:11:29 UTC
the JAR have JSF API but not the implementation.
Facelets can be added in Project Properties by adding JSF framework with Facelets as preferred language.