Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | None | 0 0
  1. 14:52:00.724 [localhost-startStop-1] ERROR o.s.boot.SpringApplication - Application run failed
  2. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalStateException: @Order on WebSecurityConfigurers must be unique. Order of 100 was already used on com.solu.WebSecurityConfig$$EnhancerBySpringCGLIB$$f1729356@4a6b4564, so it cannot be used on com.solu.WebSecurityDevConfig$$EnhancerBySpringCGLIB$$c8de307b@29b2b179 too.
  3. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:376)
  4. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1336)
  5. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:572)
  6. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
  7. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  8. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
  9. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  10. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  11. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)
  12. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
  13. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:548)
  14. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  15. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
  16. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
  17. at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
  18. at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
  19. at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
  20. at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
  21. at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
  22. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5245)
  23. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  24. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
  25. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
  26. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
  27. at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
  28. at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
  29. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  30. at java.util.concurrent.FutureTask.run(Unknown Source)
  31. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  32. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  33. at java.lang.Thread.run(Unknown Source)
  34. Caused by: java.lang.IllegalStateException: @Order on WebSecurityConfigurers must be unique. Order of 100 was already used on com.solu.WebSecurityConfig$$EnhancerBySpringCGLIB$$f1729356@4a6b4564, so it cannot be used on com.solu.WebSecurityDevConfig$$EnhancerBySpringCGLIB$$c8de307b@29b2b179 too.
  35. at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(WebSecurityConfiguration.java:148)
  36. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  37. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  38. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  39. at java.lang.reflect.Method.invoke(Unknown Source)
  40. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:696)
  41. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
  42. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)
  43. ... 30 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement