Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <packaging>war</packaging>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- @SpringBootApplication
- public class AppApplication extends SpringBootServletInitializer {
- public static void main(String[] args) {
- SpringApplication.run(AppApplication.class, args);
- }
- @Override
- protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
- return application.sources(AppApplication.class).web(true);
- }
- }
- javax.naming.NameNotFoundException: Name
- [xxx.xxx.xxx.CustomerFilterSecurityInterceptor/customerInvocationSecurityMetadataSource]
- is not bound in this Context. Unable to find [xxx.xxx.xxx.filter.CustomerFilterSecurityInterceptor].
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement