Bonjour,

J'ai suivi le tutoriel suivant pour faire mes tests d'intégration : Automated integration testing with Selenium, Maven and Jetty.

Et quand je lance la commande
J'ai le message suivant :
D:\NetBeansProjects\integration-testing-post>mvn integration-test
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.tsl.example:integration-testing-post:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:maven-jetty-plugin is missing. @ line 64, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 98, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 133, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Example of integration testing 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ integration-testing-post ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ integration-testing-post ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ integration-testing-post ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\NetBeansProjects\integration-testing-post\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ integration-testing-post ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ integration-testing-post ---
[INFO] Surefire report directory: D:\NetBeansProjects\integration-testing-post\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.tsl.example.cars.model.CarTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-war-plugin:2.2:war (default-war) @ integration-testing-post ---

[INFO] Packaging webapp
[INFO] Assembling webapp [integration-testing-post] in [D:\NetBeansProjects\integration-testing-post\target\integration-testing-post-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\NetBeansProjects\integration-testing-post\src\main\webapp]
[INFO] Webapp assembled in [470 msecs]
[INFO] Building war: D:\NetBeansProjects\integration-testing-post\target\integration-testing-post-1.0-SNAPSHOT.war
[INFO] WEB-INF\web.xml already added, skipping
[INFO]
[INFO] >>> maven-jetty-plugin:6.1.26:run (start-jetty) @ integration-testing-post >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ integration-testing-post ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ integration-testing-post ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ integration-testing-post ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\NetBeansProjects\integration-testing-post\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ integration-testing-post ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< maven-jetty-plugin:6.1.26:run (start-jetty) @ integration-testing-post <<<
[INFO]
[INFO] --- maven-jetty-plugin:6.1.26:run (start-jetty) @ integration-testing-post ---
[INFO] Configuring Jetty for project: Example of integration testing
[INFO] Webapp source directory = D:\NetBeansProjects\integration-testing-post\src\main\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = D:\NetBeansProjects\integration-testing-post\target\classes
[INFO] Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
[INFO] Context path = /integration-testing-post
[INFO] Tmp directory = determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = D:\NetBeansProjects\integration-testing-post\src\main\webapp\WEB-INF\web.xml
[INFO] Webapp directory = D:\NetBeansProjects\integration-testing-post\src\main\webapp
[INFO] Starting jetty 6.1.26 ...
[INFO] jetty-6.1.26
[INFO] No Transaction manager found - if your webapp requires one, please configure one.
[INFO] Initializing Spring FrameworkServlet 'dispatch'
INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'dispatch': initialization started
INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@7bf4bc:
display name [WebApplicationContext for namespace 'dispatch-servlet']; startup date [Mon Jan 06 12:19:05 EST 2014]; root of context hierarchy
INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/dispatch-servlet.xml]
INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@7bf4bc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1bf4e25
INFO org.springframework.beans.factory.support.DefaultListableBeanFactory -
Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1bf4e25: defining beans [carController,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,jspViewResolver,org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter#0]; root of factory hierarchy
INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'dispatch': initialization completed in 568 ms
[INFO] Started SelectChannelConnector@0.0.0.0:9080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 5 seconds.
[INFO]
[INFO] --- selenium-maven-plugin:1.0.1:start-server (start) @ integration-testing-post ---
Launching Selenium Server
Waiting for Selenium Server...
[INFO] Redirecting output to: D:\NetBeansProjects\integration-testing-post\target\selenium\server.log
[INFO] User extensions: D:\NetBeansProjects\integration-testing-post\target\selenium\user-extensions.js
Selenium Server started
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (integration-tests) @ integration-testing-post ---
[INFO] Surefire report directory: D:\NetBeansProjects\integration-testing-post\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.398s
[INFO] Finished at: Mon Jan 06 12:19:08 EST 2014
[INFO] Final Memory: 13M/31M
[INFO] ------------------------------------------------------------------------
[INFO] Shutdown hook executing
[INFO] Stopped SelectChannelConnector@0.0.0.0:9080
[INFO] Destroying Spring FrameworkServlet 'dispatch'
INFO org.springframework.web.context.support.XmlWebApplicationContext - Closing org.springframework.web.context.support.XmlWebApplicationContext@7bf4bc: display name [WebApplicationContext for namespace 'dispatch-servlet']; startup date [Mon Jan 06 12:19:05 EST 2014]; root of context hierarchy
INFO org.springframework.beans.factory.support.DefaultListableBeanFactory -
Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1bf4e25: defining beans [carController,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,jspViewResolver,org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter#0]; root of factory hierarchy
[WARNING] failed jsp: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
[WARNING] failed ServletHandler@19e4438: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
[WARNING] failed SecurityHandler@190eca6: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
[WARNING] failed SessionHandler@1a0c4a4: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
[WARNING] failed org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@16f2fc1{/integration-testing-post,D:\NetBeansProjects\integration-testing-post\src\main\webapp}: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
[WARNING] failed ContextHandlerCollection@1cdf821: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
[WARNING] failed HandlerCollection@15d438e: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
[WARNING] failed Server@11cbbd3: java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
Exception in thread "Shutdown" java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspApplicationContextImpl
at org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:411)
at org.mortbay.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:318)
at org.mortbay.jetty.servlet.ServletHolder.doStop(ServletHolder.java:289)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandler.java:185)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandler.java:125)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:592)
at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:537)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStop(Jetty6PluginWebAppContext.java:123)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
at org.mortbay.jetty.Server.doStop(Server.java:283)
at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:561)
Caused by: java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspApplicationContextImpl
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
... 24 more
J'ai vu qu'il y avait ceci
[WARNING] failed jsp: java.lang.NoClassDefFoundError:
mais je ne comprend pas pourquoi.

Quelqu'un saurait-il m'indiquer d'où peut venir le problème ?

Merci d'avance pour votre aide.