You set up your workspace to look like a deployed WAR to a point.

You should not have a ...workspace/.../WEB-INF/lib

What happens is that the JARs end up on the classpath twice: Once because
they are on Eclipse's project classpath, then a second time when Jetty
creates a class loader for the WAR.

Keep your app's dependencies out of the context folder. Just make sure Maven
or Ant builds a WAR that contains them.

On 10/29/06, Bill Holloway <[EMAIL PROTECTED]> wrote:

Apologies if this is already covered.  Probabaly is, but when I run
the jetty launcher in eclipse,  I get

Unable to initialize application servlet: Error: Module hivemind is
duplicated!  Definition in

jar:file:/Users/texomaleo/eclipse/workspace/mindbites_site_jetty/context/WEB-INF/lib/hivemind-
1.1.1.jar!/META-INF/hivemodule.xml
has been ignored in favor of existing definition from

jar:file:/Users/texomaleo/eclipse/workspace/mindbites_site_jetty/context/WEB-INF/lib/hivemind-
1.1.1.jar!/META-INF/hivemodule.xml.

Any ideas?
Thanks in advance, bill

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to