|Servlet class files not included in exported war [message #227679]
||Wed, 11 February 2009 15:25
| Rich Scott
Registered: July 2009
I have a dynamic web project that I have been running using an embedded |
tomcat server. It is running well and I tried to export it to a war file
so that I could deploy it. The resulting war did not include any class
files. It contained jars for all dependent modules in the lib director,
the classes directory contained empty directories for each package that
contained classes. I am using Ganymede 3.4.1 with WST 3.0.3 added.
I created all of the servlets using "new->class" rather than
"new->other->web->servlet" so I tried adding a new servlet through that
mechanism. Its class file is included in the war. I could re-add all of
the servlets using the servlet path and I suspect that will take care of
those. However, there a supporting POJO classes in the project that are
required, which I think will still be left behind.
Is there a better/alternative way to get the servlet classes included?
What do I need to do to include the support classes in the jar?
Thanks for you help
Powered by FUDForum
. Page generated in 0.04372 seconds