Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Problem with FirstJSFApp Tutorial
Problem with FirstJSFApp Tutorial [message #470896] Mon, 30 January 2006 16:55 Go to next message
Ted Fritsch is currently offline Ted FritschFriend
Messages: 4
Registered: July 2009
Junior Member
Greetings,

I am trying to work through the JSF tutorial for WTP and am running into
some issues. I am unable to deploy and run my JSP on a server - when I
try to right click on the login.jsp and select 'Run on Server', I get the
following error:

No launchable artifact could be found in the selection.

It seems like some sort of project configuration issue, but I am unable to
determine the cause. I beleive that I have set up my environment as
described in the tutorial (except I am using a 1.5 jdk, instead of 1.4),
and am using the following environment:

Windows XP Pro
Eclipse 3.1.1
JDK 1.5.0_01
WTP 1.0
JSF Tools Milestone 1
Apache Tomcat 5.5
JSF RI 1.1_01
jakarta-taglibs-standard-1.1.2

I am able to launch JSPs in other dynamic web projects, so it seems to be
related to something JSF. I have tried deleting and re-adding the project
from the server, and even deleteing and re-adding the Tomcat server
itself, but with no success.

Any thoughts anyone? Thanks in advance...

Ted Fritsch
Re: Problem with FirstJSFApp Tutorial [message #470897 is a reply to message #470896] Mon, 30 January 2006 21:20 Go to previous messageGo to next message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Hi Ted,

I suspect that you are having this problem because you have not placed the
login.jsp page someplace inside the WebContent folder.

Unfortunately this message is being thrown from the class
org.eclipse.wst.server.ui.internal.actions.RunOnServerAction Delegate and I
am unable to provide a more meaningful message. You may want to file a bug
against the wst.server component on this.

Regards,
Gerry Kessler
WTP JSF Tools Team

"Ted Fritsch" <tedfritsch@yahoo.com> wrote in message
news:6c0c4e1b39c0fa5b3e30d635fef90b1b$1@www.eclipse.org...
> Greetings,
>
> I am trying to work through the JSF tutorial for WTP and am running into
> some issues. I am unable to deploy and run my JSP on a server - when I
> try to right click on the login.jsp and select 'Run on Server', I get the
> following error:
>
> No launchable artifact could be found in the selection.
>
> It seems like some sort of project configuration issue, but I am unable to
> determine the cause. I beleive that I have set up my environment as
> described in the tutorial (except I am using a 1.5 jdk, instead of 1.4),
> and am using the following environment:
>
> Windows XP Pro
> Eclipse 3.1.1
> JDK 1.5.0_01
> WTP 1.0
> JSF Tools Milestone 1 Apache Tomcat 5.5 JSF RI 1.1_01
> jakarta-taglibs-standard-1.1.2
>
> I am able to launch JSPs in other dynamic web projects, so it seems to be
> related to something JSF. I have tried deleting and re-adding the project
> from the server, and even deleteing and re-adding the Tomcat server
> itself, but with no success.
>
> Any thoughts anyone? Thanks in advance...
>
> Ted Fritsch
>
Re: Problem with FirstJSFApp Tutorial [message #470898 is a reply to message #470897] Tue, 31 January 2006 18:48 Go to previous messageGo to next message
Ted Fritsch is currently offline Ted FritschFriend
Messages: 4
Registered: July 2009
Junior Member
Yes - that was it. Thanks for pointing out my simple error - I just
assumed that the JSP wizard would put it into the WebContent folder. I
guess I'm used to developing with WSAD, where that is the default
behavior. In fact, I don't think that it will let you put them anywhere
else...

Not sure if that warrants a bug report or not - but a more helpful error
message would be nice. Maybe it makes sense to modify the JSP wizard to
default it there as well? What do you guys think?

Thanks again for the prompt reply,
Ted
Re: Problem with FirstJSFApp Tutorial [message #470899 is a reply to message #470898] Wed, 01 February 2006 04:40 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Tue, 31 Jan 2006 13:48:39 -0500, Ted Fritsch <tedfritsch@yahoo.com> wrote:


>
> Not sure if that warrants a bug report or not - but a more helpful error
> message would be nice. Maybe it makes sense to modify the JSP wizard to
> default it there as well? What do you guys think?
>

Well, I'm not on the JSF project per se, but ... sounds like a good bug report to me! :)
Re: Problem with FirstJSFApp Tutorial [message #581851 is a reply to message #470896] Mon, 30 January 2006 21:20 Go to previous message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Hi Ted,

I suspect that you are having this problem because you have not placed the
login.jsp page someplace inside the WebContent folder.

Unfortunately this message is being thrown from the class
org.eclipse.wst.server.ui.internal.actions.RunOnServerAction Delegate and I
am unable to provide a more meaningful message. You may want to file a bug
against the wst.server component on this.

Regards,
Gerry Kessler
WTP JSF Tools Team

"Ted Fritsch" <tedfritsch@yahoo.com> wrote in message
news:6c0c4e1b39c0fa5b3e30d635fef90b1b$1@www.eclipse.org...
> Greetings,
>
> I am trying to work through the JSF tutorial for WTP and am running into
> some issues. I am unable to deploy and run my JSP on a server - when I
> try to right click on the login.jsp and select 'Run on Server', I get the
> following error:
>
> No launchable artifact could be found in the selection.
>
> It seems like some sort of project configuration issue, but I am unable to
> determine the cause. I beleive that I have set up my environment as
> described in the tutorial (except I am using a 1.5 jdk, instead of 1.4),
> and am using the following environment:
>
> Windows XP Pro
> Eclipse 3.1.1
> JDK 1.5.0_01
> WTP 1.0
> JSF Tools Milestone 1 Apache Tomcat 5.5 JSF RI 1.1_01
> jakarta-taglibs-standard-1.1.2
>
> I am able to launch JSPs in other dynamic web projects, so it seems to be
> related to something JSF. I have tried deleting and re-adding the project
> from the server, and even deleteing and re-adding the Tomcat server
> itself, but with no success.
>
> Any thoughts anyone? Thanks in advance...
>
> Ted Fritsch
>
Re: Problem with FirstJSFApp Tutorial [message #581867 is a reply to message #470897] Tue, 31 January 2006 18:48 Go to previous message
Ted Fritsch is currently offline Ted FritschFriend
Messages: 4
Registered: July 2009
Junior Member
Yes - that was it. Thanks for pointing out my simple error - I just
assumed that the JSP wizard would put it into the WebContent folder. I
guess I'm used to developing with WSAD, where that is the default
behavior. In fact, I don't think that it will let you put them anywhere
else...

Not sure if that warrants a bug report or not - but a more helpful error
message would be nice. Maybe it makes sense to modify the JSP wizard to
default it there as well? What do you guys think?

Thanks again for the prompt reply,
Ted
Re: Problem with FirstJSFApp Tutorial [message #581891 is a reply to message #470898] Wed, 01 February 2006 04:40 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Tue, 31 Jan 2006 13:48:39 -0500, Ted Fritsch <tedfritsch@yahoo.com> wrote:


>
> Not sure if that warrants a bug report or not - but a more helpful error
> message would be nice. Maybe it makes sense to modify the JSP wizard to
> default it there as well? What do you guys think?
>

Well, I'm not on the JSF project per se, but ... sounds like a good bug report to me! :)
Previous Topic:Problem with FirstJSFApp Tutorial
Next Topic:How can I contribute to this project?
Goto Forum:
  


Current Time: Thu Apr 25 01:20:53 GMT 2024

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

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

Back to the top