Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <packaging>war</packaging>
  2.  
  3. <dependency>
  4. <groupId>org.springframework.boot</groupId>
  5. <artifactId>spring-boot-starter-web</artifactId>
  6. <exclusions>
  7. <exclusion>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-tomcat</artifactId>
  10. </exclusion>
  11. </exclusions>
  12. </dependency>
  13.  
  14. <dependency>
  15. <groupId>javax.servlet</groupId>
  16. <artifactId>javax.servlet-api</artifactId>
  17. <scope>provided</scope>
  18. </dependency>
  19.  
  20. @SpringBootApplication
  21. public class AppApplication extends SpringBootServletInitializer {
  22. public static void main(String[] args) {
  23. SpringApplication.run(AppApplication.class, args);
  24. }
  25.  
  26. @Override
  27. protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
  28. return application.sources(AppApplication.class).web(true);
  29. }
  30. }
  31.  
  32. javax.naming.NameNotFoundException: Name
  33. [xxx.xxx.xxx.CustomerFilterSecurityInterceptor/customerInvocationSecurityMetadataSource]
  34. is not bound in this Context. Unable to find [xxx.xxx.xxx.filter.CustomerFilterSecurityInterceptor].
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement