When I execute the test class, I got the following exception ............ java.lang.RuntimeException: Failure starting Jetty instance: org.mortbay.util.MultiException[java.lang.SecurityException: sealing violation: package org.mortbay.jetty.servlet is sealed] ........... I have two Jetty in my eclipse Maven Dependencies, 5.1.10 and 6.0.1 . It seems that the Tapestry test needs org.mortbay.jetty.servlet.DefaultServlet and this package is contained in Jetty 6. But when the test started, test case start jetty 5 service. So it throw this exception.
My Maven repository looks like this, -------- <dependency> <groupId>org.apache.tapestry</groupId> <artifactId>tapestry-core</artifactId> <version>${tapestry-release-version}</version> </dependency> <dependency> <groupId>org.apache.tapestry</groupId> <artifactId>tapestry-test</artifactId> <version>${tapestry-release-version}</version> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>5.1</version> <classifier>jdk15</classifier> <scope>test</scope> </dependency> <dependency> <groupId>tomcat</groupId> <artifactId>jasper</artifactId> <version>3.3.2</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>tomcat</groupId> <artifactId>core_util</artifactId> <version>3.3.2</version> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.1</version> </dependency> <dependency> <groupId>tomcat</groupId> <artifactId>tomcat-util</artifactId> <version>5.5.23</version> </dependency> <dependency> <groupId>jetty</groupId> <artifactId>jetty</artifactId> <version>6.0.0beta6</version> </dependency> ---------- Is there something wrong with my dependencies? How can remove jetty 5 from my maven dependencies? regard, Thank you -- View this message in context: http://www.nabble.com/Exception-while-executing-Integration-Test-Case-tp16656758p16656758.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]