Bonjour,
J'essaie de lancer l'exemple du chapitre 4 téléchargé sur mergere.com et j'ai l'erreur suivante :
des idées ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61 C:\Documents and Settings\eric\Mes documents\Howto MAVEN 2\Code_Ch04\daytrader\web>mvn jetty6:run [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'jetty6'. [INFO] ---------------------------------------------------------------------------- [INFO] Building DayTrader :: Web Application [INFO] task-segment: [jetty6:run] [INFO] ---------------------------------------------------------------------------- [INFO] Preparing jetty6:run [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [jetty6:run] [INFO] Configuring Jetty for project: DayTrader :: Web Application [INFO] Webapp source directory = C:\Documents and Settings\eric\Mes documents\Howto MAVEN 2\Code_Ch0 4\daytrader\web\src\main\webapp [INFO] web.xml file = C:\Documents and Settings\eric\Mes documents\Howto MAVEN 2\Code_Ch04\daytrader \web\src\main\webapp\WEB-INF\web.xml [INFO] Classes = C:\Documents and Settings\eric\Mes documents\Howto MAVEN 2\Code_Ch04\daytrader\web\ target\classes [INFO] Using JSP2.0 for non-jdk1.5 runtime 0 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@e51b2c via org.mortbay.log.Sl f4jLog [INFO] Context path = /daytrader-web [INFO] Tmp directory = C:\Documents and Settings\eric\Mes documents\Howto MAVEN 2\Code_Ch04\daytrade r\web\target\work [INFO] Web defaults = jetty default [INFO] Webapp directory = C:\Documents and Settings\eric\Mes documents\Howto MAVEN 2\Code_Ch04\daytr ader\web\src\main\webapp [INFO] Starting jetty 6.0.0beta17 ... 219 [main] INFO org.mortbay.log - jetty 6.0.0beta17 [INFO] Classpath = file:/C:/Documents%20and%20Settings/eric/Mes%20documents/Howto%20MAVEN%202/Code_C h04/daytrader/web/src/main/webapp/WEB-INF/classes/,file:/C:/Documents%20and%20Settings/eric/.m2/repo sitory/org/apache/geronimo/samples/daytrader/daytrader-wsappclient/1.0/daytrader-wsappclient-1.0.jar ,file:/C:/Documents%20and%20Settings/eric/.m2/repository/org/apache/geronimo/samples/daytrader/daytr ader-ejb/1.0/daytrader-ejb-1.0.jar,file:/C:/Documents%20and%20Settings/eric/Mes%20documents/Howto%20 MAVEN%202/Code_Ch04/daytrader/web/target/classes/ 438 [main] WARN org.mortbay.log - failed OrdersAlertFilter 454 [main] WARN org.mortbay.log - failed ContextHandler@1f6f27b{/daytrader-web,file:/C:/Documents%20 and%20Settings/eric/Mes%20documents/Howto%20MAVEN%202/Code_Ch04/daytrader/web/src/main/webapp/} 454 [main] WARN org.mortbay.log - failed ContextHandlerCollection@718242 454 [main] WARN org.mortbay.log - failed HandlerCollection@1ec58a 500 [main] INFO org.mortbay.log - Started SelectChannelConnector @ 0.0.0.0:8080 500 [main] WARN org.mortbay.log - failed Server@8c5ea2 [INFO] Jetty server exiting. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failure Embedded error: class org.apache.geronimo.samples.daytrader.web.OrdersAlertFilter is not a javax.ser vlet.Filter [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Tue Sep 05 13:20:36 CEST 2006 [INFO] Final Memory: 5M/10M [INFO] ------------------------------------------------------------------------ 610 [Shutdown] INFO org.mortbay.log - Shutdown hook executing 610 [Shutdown] INFO org.mortbay.log - Shutdown hook complete
merci d'avance
Partager