Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 157280 - JBoss plugin does not add JSF API
JBoss plugin does not add JSF API
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: JBoss
All All
: P2 (vote)
Assigned To: issues@serverplugins
Depends on:
  Show dependency treegraph
Reported: 2009-01-21 22:32 UTC by danpfe
Modified: 2009-03-27 22:30 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description danpfe 2009-01-21 22:32:50 UTC
The latest version of the pre-release JBoss plugin (the one which is scheduled for Netbeans 6.5 patch 2) does not add
the JSF API located in {conf.dir}/deploy/jbossweb.sar/jsf-libs to the server library's classpath. Since JBoss 5 is a
fully JEE5-compliant server I believe the plugin should do that.
Comment 1 danpfe 2009-01-21 22:35:54 UTC
I forgot to add: This is definitely not a show-stopper, it just feels like something is "missing". A temporary
workaround is to add the JSF APIs manually to the project's classpath.
Comment 2 gimbal 2009-03-27 22:30:16 UTC
actually it is not only JSF, but also JPA cannot be used. The following jars should at least be added to the classpath
for JBoss 5:


(probably more are needed, but these will make compilation of JPA code work).

Workaround for the current plugin:

copy all these jars to the <server>/lib directory. This will make the netbeans JBoss plugin add the jars to the server
runtime library so they are available at compile time. If you copy to a server that is already part of your project,
close and restart netbeans to make it update the project classpath.

The only thing I am not able to make a workaround for yet is a client application: you are only allowed to choose J2EE
1.4 and not J2EE 5 :( Strangely the ejb and war projects are J2EE 5 projects, just not any client project I create :s

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo