Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Create Dynamic Web Project with Java Server Faces on WIldFly server?
Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1757913] Tue, 21 March 2017 15:05 Go to next message
Eclipse UserFriend
I can create, deploy and run a simple project with a .jsp where I combine java and html.

However, I cannot wrap my head around using simple tags like <f:view>.
Whatever I do, the taglibs
<%@ taglib ...>
are flagged with "Can not find the tag library descriptor..." errors, and subsequent use of tags yield an "Unknown tag <f:view>" error.

I have found lots of old issues with tag libraries, which could be resolved by adding the right library to the project, but nothing more recent (running eclipse neon), so I guess I am overlooking something real basic. Any help is appreciated...
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1757916 is a reply to message #1757913] Tue, 21 March 2017 15:55 Go to previous messageGo to next message
Eclipse UserFriend
The first question is whether your page runs anyway, with the project correctly targeting and compiling against WildFly (instead of something different like the built-in "J2EE Preview"). Then, if so, it comes to why the JSF library is not being found within Eclipse. So, does the page run?
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1757918 is a reply to message #1757916] Tue, 21 March 2017 16:02 Go to previous messageGo to next message
Eclipse UserFriend
As I mentioned, I can run my project. It runs on server, outside eclipse.
That is, the project runs without tags added, just java and html.

[Updated on: Tue, 21 March 2017 16:04] by Moderator

Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1757922 is a reply to message #1757918] Tue, 21 March 2017 16:49 Go to previous messageGo to next message
Eclipse UserFriend
The interesting part, for this question, is what happens with the tags added.
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1757924 is a reply to message #1757922] Tue, 21 March 2017 17:14 Go to previous messageGo to next message
Eclipse UserFriend
Nitin Dahyabhai wrote on Tue, 21 March 2017 20:49
The interesting part, for this question, is what happens with the tags added.


It gives the errors mentioned above, the project cannot be built.
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1757931 is a reply to message #1757924] Tue, 21 March 2017 18:22 Go to previous messageGo to next message
Eclipse UserFriend
Are you unable to launch it regardless? Is there any configuration you're supposed to do to enable JSF on WildFly?
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1758080 is a reply to message #1757931] Thu, 23 March 2017 07:01 Go to previous messageGo to next message
Eclipse UserFriend
Nitin Dahyabhai wrote on Tue, 21 March 2017 22:22
Are you unable to launch it regardless? Is there any configuration you're supposed to do to enable JSF on WildFly?


I cannot compile, build or deploy the .jsp file; the server is running. I don't think Wildfly needs to be tweaked to enable JSF.

I can easily reproduce the problem:
1. Create Dynamic Web Project, targetting WIldfly 10.x runtime, enable JavaServer Faces facet
2. Add .jsp file (the default template gives you a <f:view> tag
3. Open the newly created .jsp file: the taglibs are marked as error.

I would appreciate if someone out there could try this one for me to check whether it works...
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1758123 is a reply to message #1758080] Thu, 23 March 2017 13:46 Go to previous messageGo to next message
Eclipse UserFriend
I just found out that using Glassfish instead of Wildfly gives me exactly the same errors.
I guess the problem does not depend on the application server used.
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1758124 is a reply to message #1758123] Thu, 23 March 2017 13:48 Go to previous messageGo to next message
Eclipse UserFriend
Could someone out there running Ubuntu check whether the above works, and let me know about versions of eclipse and server?
Re: Create Dynamic Web Project with Java Server Faces on WIldFly server? [message #1758275 is a reply to message #1758124] Sun, 26 March 2017 16:13 Go to previous message
Eclipse UserFriend
Finally got this sorted out: I did a complete reinstall of eclipse and tools, and this finally started to make sense.
Looks like eclipse got screwed up in silence.
Previous Topic:Eclipse EE Neon No Server tab in Java Perspective
Next Topic:Questions on servers?
Goto Forum:
  


Current Time: Fri Nov 07 00:33:50 EST 2025

Powered by FUDForum. Page generated in 0.04422 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top