Показаны сообщения с ярлыком Spring. Показать все сообщения
Показаны сообщения с ярлыком Spring. Показать все сообщения

Spring Boot Support in IntelliJ IDEA 14.1

No JTA UserTransaction available - specify either 'userTransaction' or 'userTransactionName' or 'transactionManager' or 'transactionManagerName'

Errors:

21:50:06,151 INFO  [STDOUT] 21:50:06,151 ERROR [ContextLoader] 
Context initialization failed org.springframework.beans.
factory.BeanCreationException: Error creating bean with name 
'txManager' defined in class path resource 
[oper-applicationContext.xml]: Invocation of init 
method failed; nested exception is java.lang.
IllegalStateException: No JTA UserTransaction 
available - specify either 'userTransaction' or 
'userTransactionName' or 'transactionManager' or 
'transactionManagerName'

ERROR [ContextLoader] Context initialization failed java.lang.NoSuchMethodError: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;

Error:

13:49:18,932 ERROR [ContextLoader] Context initialization failed
java.lang.NoSuchMethodError: org.springframework.context.support
.AbstractRefreshableConfigApplicationContext.getEnvironment()
Lorg/springframework/core/env/ConfigurableEnvironment;
    at org.springframework.web.context.support.
AbstractRefreshableWebApplicationContext
.getEnvironment(AbstractRefreshableWebApplicationContext.java:146)
    at org.springframework.web.context.support
.XmlWebApplicationContext.loadBeanDefinitions
(XmlWebApplicationContext.java:87)