{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/7196","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/7196/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/7196/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/7196/events","html_url":"https://github.com/spring-projects/spring-boot/issues/7196","id":184288379,"number":7196,"title":"Unable to start my spring boot project, please help!! ( spring-boot ) ","user":{"login":"shyamsundarn","id":22964261,"avatar_url":"https://avatars3.githubusercontent.com/u/22964261?v=3","gravatar_id":"","url":"https://api.github.com/users/shyamsundarn","html_url":"https://github.com/shyamsundarn","followers_url":"https://api.github.com/users/shyamsundarn/followers","following_url":"https://api.github.com/users/shyamsundarn/following{/other_user}","gists_url":"https://api.github.com/users/shyamsundarn/gists{/gist_id}","starred_url":"https://api.github.com/users/shyamsundarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shyamsundarn/subscriptions","organizations_url":"https://api.github.com/users/shyamsundarn/orgs","repos_url":"https://api.github.com/users/shyamsundarn/repos","events_url":"https://api.github.com/users/shyamsundarn/events{/privacy}","received_events_url":"https://api.github.com/users/shyamsundarn/received_events","type":"User","site_admin":false},"labels":[{"id":131738784,"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/for:%20stackoverflow","name":"for: stackoverflow","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-10-20T17:13:41Z","updated_at":"2017-05-09T19:30:06Z","closed_at":"2016-10-20T17:30:22Z","body":"Question\n\n@spring-boot\n@spring-issuemaster \n\nUnable to start my spring boot project, please help!!\n\nBug report\n\nMy primary class\n\n``` java\npackage com.hellokoding.springboot;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.EnableAutoConfiguration;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\nimport org.springframework.boot.builder.SpringApplicationBuilder;\nimport org.springframework.boot.context.web.SpringBootServletInitializer;\nimport org.springframework.context.annotation.ComponentScan;\n\n@SpringBootApplication\n@EnableAutoConfiguration\n@ComponentScan\npublic class WebApplication extends SpringBootServletInitializer {\n\n    @Override\n    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {\n        return application.sources(WebApplication.class);\n    }\n\n    public static void main(String[] args) throws Exception {\n        SpringApplication.run(WebApplication.class, args);\n    }\n}\n```\n\nError from Console\n\n```\nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J: Found binding in [jar:file:/C:/Users/a535761/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J: Found binding in [jar:file:/C:/Users/a535761/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]\n\n  .   ____          _            __ _ _\n /\\\\ / ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\n( ( )\\___ | '_ | '_| | '_ \\/ _` | \\ \\ \\ \\\n \\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\n  '  |____| .__|_| |_|_| |_\\__, | / / / /\n =========|_|==============|___/=/_/_/_/\n :: Spring Boot ::        (v1.3.5.RELEASE)\n\n2016-10-20 12:05:57.696  INFO 8388 --- [           main] c.hellokoding.springboot.WebApplication  : Starting WebApplication on VDIGP030317 with PID 8388 (C:\\Users\\a535761\\IBM\\rationalsdp\\workspace\\spring-boot-starter-parent\\target\\classes started by a535761 in C:\\Users\\a535761\\IBM\\rationalsdp\\workspace\\spring-boot-starter-parent)\n2016-10-20 12:05:57.712  INFO 8388 --- [           main] c.hellokoding.springboot.WebApplication  : No active profile set, falling back to default profiles: default\n2016-10-20 12:05:57.853  INFO 8388 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@239cbb93: startup date [Thu Oct 20 12:05:57 CDT 2016]; root of context hierarchy\n2016-10-20 12:05:59.617  WARN 8388 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceExceptionTranslationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/dao/PersistenceExceptionTranslationAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor]: Factory method 'persistenceExceptionTranslationPostProcessor' threw exception; nested exception is java.lang.NoSuchMethodError: org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.setProxyTargetClass(Z)V\n2016-10-20 12:05:59.633 ERROR 8388 --- [           main] o.s.boot.SpringApplication               : Application startup failed\n\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceExceptionTranslationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/dao/PersistenceExceptionTranslationAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor]: Factory method 'persistenceExceptionTranslationPostProcessor' threw exception; nested exception is java.lang.NoSuchMethodError: org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.setProxyTargetClass(Z)V\n    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:228) ~[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687) ~[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523) ~[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]\n    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]\n    at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]\n    at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]\n    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]\n    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) [spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]\n    at com.hellokoding.springboot.WebApplication.main(WebApplication.java:21) [classes/:na]\nCaused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor]: Factory method 'persistenceExceptionTranslationPostProcessor' threw exception; nested exception is java.lang.NoSuchMethodError: org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.setProxyTargetClass(Z)V\n    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    ... 18 common frames omitted\nCaused by: java.lang.NoSuchMethodError: org/springframework/dao/annotation/PersistenceExceptionTranslationPostProcessor.setProxyTargetClass(Z)V\n    at org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration.persistenceExceptionTranslationPostProcessor(PersistenceExceptionTranslationAutoConfiguration.java:41) ~[spring-boot-autoconfigure-1.3.5.RELEASE.jar:1.3.5.RELEASE]\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0]\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) ~[na:1.7.0]\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[na:1.7.0]\n    at java.lang.reflect.Method.invoke(Method.java:613) ~[na:2.6 (10-24-2012)]\n    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]\n    ... 19 common frames omitted\n\n2016-10-20 12:05:59.649  INFO 8388 --- [           main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [file:/C:/Users/a535761/IBM/rationalsdp/workspace/spring-boot-starter-parent/target/classes/, file:/C:/APPS/IBM/IMShared/plugins/org.junit_3.8.2.v3_8_2_v20100427-1100/junit.jar, file:/C:/Users/a535761/IBM/rationalsdp/workspace/spring-boot-starter-parent/src/lib/guava-r05.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/boot/spring-boot-starter-web/1.3.5.RELEASE/spring-boot-starter-web-1.3.5.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/boot/spring-boot-starter/1.3.5.RELEASE/spring-boot-starter-1.3.5.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/boot/spring-boot/1.3.5.RELEASE/spring-boot-1.3.5.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.3.5.RELEASE/spring-boot-autoconfigure-1.3.5.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.3.5.RELEASE/spring-boot-starter-logging-1.3.5.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar, file:/C:/Users/a535761/.m2/repository/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar, file:/C:/Users/a535761/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.21/jcl-over-slf4j-1.7.21.jar, file:/C:/Users/a535761/.m2/repository/org/slf4j/jul-to-slf4j/1.7.21/jul-to-slf4j-1.7.21.jar, file:/C:/Users/a535761/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.21/log4j-over-slf4j-1.7.21.jar, file:/C:/Users/a535761/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/boot/spring-boot-starter-validation/1.3.5.RELEASE/spring-boot-starter-validation-1.3.5.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar, file:/C:/Users/a535761/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar, file:/C:/Users/a535761/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar, file:/C:/Users/a535761/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar, file:/C:/Users/a535761/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.6/jackson-databind-2.6.6.jar, file:/C:/Users/a535761/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.6/jackson-annotations-2.6.6.jar, file:/C:/Users/a535761/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-web/4.2.6.RELEASE/spring-web-4.2.6.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-aop/4.2.6.RELEASE/spring-aop-4.2.6.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-webmvc/4.2.6.RELEASE/spring-webmvc-4.2.6.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-expression/4.2.6.RELEASE/spring-expression-4.2.6.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/1.3.5.RELEASE/spring-boot-starter-tomcat-1.3.5.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.0.33/tomcat-embed-core-8.0.33.jar, file:/C:/Users/a535761/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.0.33/tomcat-embed-el-8.0.33.jar, file:/C:/Users/a535761/.m2/repository/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.33/tomcat-embed-logging-juli-8.0.33.jar, file:/C:/Users/a535761/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.0.33/tomcat-embed-websocket-8.0.33.jar, file:/C:/Users/a535761/.m2/repository/org/apache/tomcat/embed/tomcat-embed-jasper/8.0.33/tomcat-embed-jasper-8.0.33.jar, file:/C:/Users/a535761/.m2/repository/org/eclipse/jdt/core/compiler/ecj/4.5/ecj-4.5.jar, file:/C:/Users/a535761/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar, file:/C:/Users/a535761/.m2/repository/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar, file:/C:/Users/a535761/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-dao/2.0.8/spring-dao-2.0.8.jar, file:/C:/Users/a535761/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/C:/Users/a535761/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar, file:/C:/Users/a535761/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar, file:/C:/Users/a535761/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar, file:/C:/Users/a535761/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-beans/4.2.6.RELEASE/spring-beans-4.2.6.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-context/4.2.6.RELEASE/spring-context-4.2.6.RELEASE.jar, file:/C:/Users/a535761/.m2/repository/org/springframework/spring-core/4.2.6.RELEASE/spring-core-4.2.6.RELEASE.jar]\n```\n\npom.xml data:\n\n``` xml\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\n    <modelVersion>4.0.0</modelVersion>\n    <artifactId>hello-springboot</artifactId>\n    <name>hello-springboot</name>\n    <description>hello-springboot</description>\n    <packaging>war</packaging>\n    <parent>\n        <groupId>org.springframework.boot</groupId>\n        <artifactId>spring-boot-starter-parent</artifactId>\n        <version>1.3.5.RELEASE</version>\n    </parent>\n\n    <properties>\n        <java.version>1.7</java.version>\n    </properties>\n\n    <dependencies>\n\n\n        <dependency>\n            <groupId>org.springframework.boot</groupId>\n            <artifactId>spring-boot-starter-web</artifactId>\n        </dependency>\n\n        <dependency>\n            <groupId>org.springframework.boot</groupId>\n            <artifactId>spring-boot-starter-tomcat</artifactId>\n            <scope>provided</scope>\n        </dependency>\n\n        <dependency>\n            <groupId>org.apache.tomcat.embed</groupId>\n            <artifactId>tomcat-embed-jasper</artifactId>\n            <scope>provided</scope>\n        </dependency>\n\n\n   <dependency>\n       <groupId>org.slf4j</groupId>\n       <artifactId>slf4j-log4j12</artifactId>\n       <version>1.7.5</version>\n   </dependency>\n\n        <dependency>\n    <groupId>org.springframework</groupId>\n    <artifactId>spring-dao</artifactId>\n    <version>2.0.8</version>\n</dependency>\n\n    </dependencies>\n    <build>\n        <plugins>\n            <plugin>\n                <groupId>org.springframework.boot</groupId>\n                <artifactId>spring-boot-maven-plugin</artifactId>\n            </plugin>\n        </plugins>\n    </build>\n</project>\n```\n"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/300276253","html_url":"https://github.com/spring-projects/spring-boot/issues/7196#issuecomment-300276253","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/7196","id":300276253,"user":{"login":"Rapter1990","id":19342017,"avatar_url":"https://avatars2.githubusercontent.com/u/19342017?v=3","gravatar_id":"","url":"https://api.github.com/users/Rapter1990","html_url":"https://github.com/Rapter1990","followers_url":"https://api.github.com/users/Rapter1990/followers","following_url":"https://api.github.com/users/Rapter1990/following{/other_user}","gists_url":"https://api.github.com/users/Rapter1990/gists{/gist_id}","starred_url":"https://api.github.com/users/Rapter1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rapter1990/subscriptions","organizations_url":"https://api.github.com/users/Rapter1990/orgs","repos_url":"https://api.github.com/users/Rapter1990/repos","events_url":"https://api.github.com/users/Rapter1990/events{/privacy}","received_events_url":"https://api.github.com/users/Rapter1990/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T19:30:06Z","updated_at":"2017-05-09T19:30:06Z","body":"The version problem is said , I already knew but Can you say what compatible dependency is used in pom.xml . "}}
{"actor":{"display_login":"Rapter1990"}}