Bonjour,
Je voudrais sécuriser mon appli web avec spring-sécurity
Lorsque j'inclu la librairie dans mon pom.xml à l'exécution j'ai l'erreur suivante
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75 2009-06-17 15:19:54,108 INFO [http-8080-1] ContextLoader - Root WebApplicationContext: initialization started 2009-06-17 15:19:54,134 ERROR [http-8080-1] ContextLoader - Context initialization failed java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.makeAccessible(Ljava/lang/reflect/Constructor;)V at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:95) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:74) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:249) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:824) at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:350) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) 2009-06-17 15:19:54,654 INFO [http-8080-1] ContextLoader - Root WebApplicationContext: initialization started 2009-06-17 15:19:54,681 ERROR [http-8080-1] ContextLoader - Context initialization failed java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.makeAccessible(Ljava/lang/reflect/Constructor;)V at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:95) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:74) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:249) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1247) at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) 17 juin 2009 15:19:54 org.apache.catalina.core.StandardContext start GRAVE: Error listenerStart 17 juin 2009 15:19:54 org.apache.catalina.core.StandardContext start GRAVE: Erreur de d�marrage du contexte [/archivage-arkhineo-console] suite aux erreurs pr�c�dentes 17 juin 2009 15:19:54 org.apache.catalina.core.StandardContext start GRAVE: Error listenerStart s
Si j'ai bien compris j'ai un conflit de librairie spring
Voici la liste des libraires que j'ai dans mon projet
Les jar en doublons sont des jar importé directement par
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 aopalliance-1.0.jar server-1.0.13-SNAPSHOT.jar utils-1.0.13-SNAPSHOT.jar asm-1.5.3.jar bcprov-1.33.jar bctsp-1.33.jar cglib-2.1_3.jar commons-codec-1.2.jar commons-codec-1.3.jar commons-collections-3.2.jar commons-httpclient-3.1.jar commons-logging-1.1.1.jar ejb-2.1.jar jms-1.1.jar jstl-1.2.jar log4j-1.2.14.jar ojdbc-1.4.jar spring-aop-2.0.8.jar spring-aop-2.5.4.jar spring-beans-2.0.8.jar spring-beans-2.5.4.jar spring-context-2.0.8.jar spring-context-2.5.4.jar spring-context-support-2.5.4.jar spring-core-2.0.8.jar spring-core-2.5.4.jar spring-jdbc-2.5.4.jar spring-security-core-2.0.4.jar spring-support-2.0.8.jar spring-tx-2.5.4.jar spring-web-2.5.4.jar spring-webmvc-2.5.4.jar xalan-2.6.0.jar xml-apis-1.0.b2.jar xmlsec-1.2.1.jar xpp3_min-1.1.4c.jar xstream-1.3.jar
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 server-1.0.13-SNAPSHOT.jar utils-1.0.13-SNAPSHOT.jar
Si vous pouvez m'aider
Merci d'avance
Partager