Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to test web application made using Eclipse Web Tools Project??  RSS feed

 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am learning to use Eclipse 3.1.2 SDK.
I have used a tutorial to make a sample web application for customer orders.

Now I have made the respective classes.

But in that tutorial it is not given how to test the application from the eclipse.

My Webserver is Apache Tomcat 4.0.1 & i am using j2se 1.4.0 .

Also when i am editing the web.xml file build by the eclipse it is giving me the following message on the console tab:

Buildfile: C:\Eclipse\Jiggi\.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdoclet\tempAnt.xml
init:
webdoclet:

BUILD FAILED
C:\Eclipse\Jiggi\.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdoclet\tempAnt.xml:56: taskdef class xdoclet.modules.web.WebDocletTask cannot be found

Total time: 2 seconds


What's this & when i am editing this file & adding some new elements to this web.xml it takes a lot of time??

What is happening??

So please solve my doubts mentioned above & let me know how to test my web application from the Eclipse??
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the IDE/Build Tools forum.
 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody please help me???
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jignesh,
Is WebDocletTask in your classpath?
 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne,


I don't have any idea regarding the webdoclets.What are they & what u are telling to put in the classpath & how it is related to my problem??
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jignesh,
xdoclet.modules.web.WebDocletTask cannot be found

I don't know what WebDoclet is either, but it came from the error message.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!