Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » newbie can't get tutorial to work from eclipse
newbie can't get tutorial to work from eclipse [message #181079] Fri, 06 October 2006 21:13 Go to next message
Eclipse User
Originally posted by: rschumeyer.ieee.org

I tried the WTP tutorial

WTP Tutorials – Building and Running a Web Application

at

http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html

Everything seems ok until the end when I try to navigate to

http://localhost:8080/tutorial/snoop

according to the instructions.

I always get a 404 error, both from the internal web browser and an
external one.

I'm pretty sure I made the project correctly, because I can close
eclipse, deploy it with ant, and it works. (I just added a build.xml
and a build.properties file)

Now the tutorial is almost two years old, and I am using the latest
versions of eclipse (3.2.1) and wtp (I believe 1.1.1 ?). Perhaps some
of the information is out of date?

I think my problem is that I have no idea how to deploy and run the
application from within eclipse.

Can someone point me to a recent tutorial that works?
Re: newbie can't get tutorial to work from eclipse [message #181086 is a reply to message #181079] Fri, 06 October 2006 21:25 Go to previous messageGo to next message
Eclipse User
Originally posted by: rschumeyer.ieee.org

Aha! I did not realize you have to select the servelt first, and then
attempt "run as." That worked much better.

Rick Schumeyer wrote:
> I tried the WTP tutorial
>
> WTP Tutorials – Building and Running a Web Application
>
> at
>
> http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html
>
>
> Everything seems ok until the end when I try to navigate to
>
> http://localhost:8080/tutorial/snoop
>
> according to the instructions.
>
> I always get a 404 error, both from the internal web browser and an
> external one.
>
> I'm pretty sure I made the project correctly, because I can close
> eclipse, deploy it with ant, and it works. (I just added a build.xml
> and a build.properties file)
>
> Now the tutorial is almost two years old, and I am using the latest
> versions of eclipse (3.2.1) and wtp (I believe 1.1.1 ?). Perhaps some
> of the information is out of date?
>
> I think my problem is that I have no idea how to deploy and run the
> application from within eclipse.
>
> Can someone point me to a recent tutorial that works?
Re: newbie can't get tutorial to work from eclipse [message #181114 is a reply to message #181086] Sun, 08 October 2006 02:01 Go to previous message
David Williams is currently offline David Williams
Messages: 696
Registered: July 2009
Senior Member
On Fri, 06 Oct 2006 21:25:14 -0400, Rick Schumeyer <rschumeyer@ieee.org>
wrote:

> Aha! I did not realize you have to select the servelt first, and then
> attempt "run as." That worked much better.
>

Its been a long time since I personally have looked at that tutorial (sorry
to admit that) ... but this gives me a good chance to remind readers of
this
newsgroup of a great way to contribute to WTP .... and that is to
provide "patches" to the tutorials, to either improve them or provide
corrections. Or ... what the heck, provide completely new ones!
I believe you can even use the Eclipse Wiki, if you'd like to make it
a "collaborative effort".
Previous Topic:Importing external jars
Next Topic:multibyte character set
Goto Forum:
  


Current Time: Mon Jul 28 00:16:26 EDT 2014

Powered by FUDForum. Page generated in 0.01579 seconds