Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Eclipse cannot find the tag library descriptors for JSFcore and html taglibs

Hi Cam,

Thanks for your suggestions on the matter.

CAMERON.BATEMAN@xxxxxxxxxx wrote:
As far as I understand the problem, the Glassfish server has the JSF
libs at runtime, but they are not included in the classpath of your Web
project targeted on the Glassfish runtime. The latter is responsibility
of the Glassfish server adapter that you have downloaded. It is not
develop in the WTP project and you should report the problem to the

Ensure that your Glassfish server runtime is on the classpath.  When you select your JSF runtime to be "Server Supplied", JSF tools assumes that you have a server classpath container on your classpath.  Unfortunately, there is currently no check for this on the JSF side, although there should be.

You should be able to resolve in one of two ways:

- right-click on Project->Properties->Target Runtimes and check the box for Glassfish runtime.  This should put the Glassfish container on the classpath and, if it's correctly configured, will put the JSF libraries on the cp as well.

As I mentioned in my previous response, I suspect it is not correctly configured due to a bug in the glassfish eclipse plugin: https://glassfishplugins.dev.java.net/issues/show_bug.cgi?id=40

The good news is that it's already been fixed, but not pushed out in a release yet. Meanwhile, the relevant jars (even from the glassfish installation) can be added as external jars to the project's build path.

Rochelle


- (*hackier*) you could also find a copy of the JSF libraries and put them in JavaEE Module Dependencies, but ensure that the deploy flag is not checked.  This way, the classes will be in the design time cp, but at runtime, your server libs will be used.


--Cam
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top