haaa, you're using the maven-plugin for xd2! Add <properties> <xdoclet.dependency>true</xdoclet.dependency> </properties> to the dependencies needed by the WebPlugin!
( @Jose, could you please state this in the maven-plugin doc? http://xdoclet.codehaus.org/maven-plugin/properties.html mentions the dependencies) HTH, greg On 29/06/05, Renato Duarte Soffiatto <[EMAIL PROTECTED]> wrote: > Yes, I'm using Maven. I simply attach xdoclet2 goal as a pregoal of > war:init: > <preGoal name="war:init"> > <attainGoal name="xdoclet2" /> > </preGoal> > > In the project.xml I have put: > <dependency> > <groupId>servletapi</groupId> > <artifactId>servlet-api</artifactId> > <version>2.4</version> > </dependency> > <dependency> > <groupId>jspapi</groupId> > <artifactId>jsp-api</artifactId> > <version>2.0</version> > </dependency> > > the second after the other e-mail. > > I don't know if it helps, but the WebUtils test if the servlet api is on > classpath by trying to load the javax.servlet.Servlet class with the > classloader of the current object > (getClass.getClassLoader().loadClass("javax.servlet.Sevlet")). Can't it > be a classloader issue? > > Grégory Joseph wrote: > > >Well, it clearly states the servlet api is not in your classpath. > >You mentionned a project.xml, so I assume you're using maven. Could > >you show your maven.xml goal which invokes xdoclet? > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > >from IBM. Find simple to follow Roadmaps, straightforward articles, > >informative Webcasts and more! Get everything you need to get up to > >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > >_______________________________________________ > >xdoclet-plugins-interest mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > xdoclet-plugins-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ xdoclet-plugins-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
