Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Servlet Faces SErvlet is not available
Servlet Faces SErvlet is not available [message #196301] Thu, 12 July 2007 13:51 Go to next message
Eclipse UserFriend
Originally posted by: Ben.Sisson.ccci.org

In the tutorial "WTP Tutorials - JavaServer Faces Tools Tutorial", when I
run the login.jsp I get the following message: "Servlet Faces Servlet is
not available". Description: The reuqested resource (Servlet Faces
SErvlet is not avaialable) is not available. I'm not sure what I'm
missing in the tutorial and any help would be appreciated.

Thanks,
Ben
Re: Servlet Faces SErvlet is not available [message #196344 is a reply to message #196301] Thu, 12 July 2007 14:02 Go to previous messageGo to next message
Angel Vera is currently offline Angel VeraFriend
Messages: 63
Registered: July 2009
Member

Is your project targeting a runtime? Project (right click) -> Properties ->
Targeted Runtime

Ben.Sisson@ccci.org (Ben) wrote in news:e5af23e2c792c9141c8df3116e8dc826$1
@www.eclipse.org:

> utorial and any help would be appreciated.
>


Regards,
--
Angel Vera
WTP Server Tools Developer
Re: Servlet Faces SErvlet is not available [message #196368 is a reply to message #196344] Thu, 12 July 2007 14:15 Go to previous message
Eclipse UserFriend
Originally posted by: Ben.Sisson.ccci.org

The issue was in the properties section of the project. I can't explain
why it wasn't selected but under properties->J2EE Module Dependencies the
SUN-RI libary was not selected. It was visisble but not selected. Also,
under properties->Java Build Path->Order and Export the same libary,
SUN-RI, was present but not selected. I selected both of these and that
eliminated the meessabe.

However, now I receive a new message when I start the project: "The
requested resource(/JSFTutorial/login.faces) is not available. Having
looked around it appears that it seeks this path using the web.xml
<url-pattern>*.faces</url-pattern> parameter. This was pulled fromt the
tutorial as is but I also tried the default patter supplied when creating
the project <url-pattern>/faces/*</url-pattern> and I get the same message
with just an added directory layer. Any help on this would be greatly
apprecaited.
Previous Topic:Beginner Help: Europa and Preview Server
Next Topic:WTP 2.0 and Tomcat instance
Goto Forum:
  


Current Time: Mon Nov 24 06:54:20 GMT 2014

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

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