{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2347","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2347/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2347/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2347/events","html_url":"https://github.com/spring-projects/spring-boot/issues/2347","id":54171027,"number":2347,"title":"javax.transaction:javax.transaction-api-1.2 not compatible with Java 6","user":{"login":"thomseno","id":4829874,"avatar_url":"https://avatars.githubusercontent.com/u/4829874?v=3","gravatar_id":"","url":"https://api.github.com/users/thomseno","html_url":"https://github.com/thomseno","followers_url":"https://api.github.com/users/thomseno/followers","following_url":"https://api.github.com/users/thomseno/following{/other_user}","gists_url":"https://api.github.com/users/thomseno/gists{/gist_id}","starred_url":"https://api.github.com/users/thomseno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomseno/subscriptions","organizations_url":"https://api.github.com/users/thomseno/orgs","repos_url":"https://api.github.com/users/thomseno/repos","events_url":"https://api.github.com/users/thomseno/events{/privacy}","received_events_url":"https://api.github.com/users/thomseno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/waiting-for-feedback","name":"waiting-for-feedback","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-13T10:03:01Z","updated_at":"2015-01-14T19:44:57Z","closed_at":null,"body":"Updating JPA spring boot project to 1.2.1-RELEASE will cause a `java.lang.UnsupportedClassVersionError` when running with Java 6:\r\n```\r\nCaused by: java.lang.UnsupportedClassVersionError: javax/transaction/SystemException : Unsupported major.minor version 51.0\r\n\tat java.lang.ClassLoader.defineClass1(Native Method)\r\n\tat java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:621)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:283)\r\n\tat java.net.URLClassLoader.access$000(URLClassLoader.java:58)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:197)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:190)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:306)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:247)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:249)\r\n\tat org.jboss.logging.Logger$1.run(Logger.java:2252)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.jboss.logging.Logger.getMessageLogger(Logger.java:2227)\r\n\tat org.jboss.logging.Logger.getMessageLogger(Logger.java:2214)\r\n\tat org.hibernate.jpa.internal.HEMLogging.messageLogger(HEMLogging.java:45)\r\n\tat org.hibernate.jpa.internal.HEMLogging.messageLogger(HEMLogging.java:41)\r\n\tat org.hibernate.ejb.HibernatePersistence.<clinit>(HibernatePersistence.java:46)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:513)\r\n\tat java.lang.Class.newInstance0(Class.java:357)\r\n\tat java.lang.Class.newInstance(Class.java:310)\r\n\tat javax.persistence.spi.PersistenceProviderResolverHolder$PersistenceProviderResolverPerClassLoader$CachingPersistenceProviderResolver.getPersistenceProviders(PersistenceProviderResolverHolder.java:177)\r\n\tat javax.persistence.spi.PersistenceProviderResolverHolder$PersistenceProviderResolverPerClassLoader.getPersistenceProviders(PersistenceProviderResolverHolder.java:84)\r\n\tat javax.persistence.Persistence.getProviders(Persistence.java:69)\r\n\tat javax.persistence.Persistence.access$000(Persistence.java:23)\r\n\tat javax.persistence.Persistence$1.isLoaded(Persistence.java:109)\r\n\tat org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.java:56)\r\n\tat org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableResolver.java:137)\r\n\tat org.hibernate.validator.internal.engine.resolver.CachingTraversableResolverForSingleValidation.isReachable(CachingTraversableResolverForSingleValidation.java:46)\r\n\tat org.hibernate.validator.internal.engine.ValidatorImpl.isReachable(ValidatorImpl.java:1396)\r\n\tat org.hibernate.validator.internal.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:1381)\r\n\tat org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:542)\r\n\tat org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:487)\r\n\tat org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:451)\r\n\tat org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:403)\r\n\tat org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:206)\r\n\tat org.springframework.validation.beanvalidation.SpringValidatorAdapter.validate(SpringValidatorAdapter.java:92)\r\n\tat org.springframework.validation.DataBinder.validate(DataBinder.java:767)\r\n\tat org.springframework.boot.bind.PropertiesConfigurationFactory.validate(PropertiesConfigurationFactory.java:284)\r\n\tat org.springframework.boot.bind.PropertiesConfigurationFactory.doBindPropertiesToTarget(PropertiesConfigurationFactory.java:253)\r\n\tat org.springframework.boot.bind.PropertiesConfigurationFactory.bindPropertiesToTarget(PropertiesConfigurationFactory.java:225)\r\n\tat org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:296)\r\n\tat org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:250)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)\r\n\t... 47 common frames omitted\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/69978417","html_url":"https://github.com/spring-projects/spring-boot/issues/2347#issuecomment-69978417","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2347","id":69978417,"user":{"login":"snicoll","id":490484,"avatar_url":"https://avatars.githubusercontent.com/u/490484?v=3","gravatar_id":"","url":"https://api.github.com/users/snicoll","html_url":"https://github.com/snicoll","followers_url":"https://api.github.com/users/snicoll/followers","following_url":"https://api.github.com/users/snicoll/following{/other_user}","gists_url":"https://api.github.com/users/snicoll/gists{/gist_id}","starred_url":"https://api.github.com/users/snicoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snicoll/subscriptions","organizations_url":"https://api.github.com/users/snicoll/orgs","repos_url":"https://api.github.com/users/snicoll/repos","events_url":"https://api.github.com/users/snicoll/events{/privacy}","received_events_url":"https://api.github.com/users/snicoll/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T19:44:57Z","updated_at":"2015-01-14T19:44:57Z","body":"What a mess. I don't think we've chosen the wrong coordinates. The JBoss jar is really specific to hibernate. \r\n\r\nNot sure how we could fix that though. "}}