问题描述
- java.lang.NoSuchMethodError
- 启动weblogic报错信息如下:
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'transactionManager' defined in file [D:WorkspacesMyEclipse 8.5salesV2
.0Current_1061_C00_20140806webappWEB-INFclassesspringapplicationContext-hib
ernate.xml]: Initialization of bean failed; nested exception is org.springframew
ork.beans.factory.BeanCreationException: Error creating bean with name 'dataSour
ce' defined in file [D:WorkspacesMyEclipse 8.5salesV2.0Current_1061_C00_20140
806webappWEB-INFclassesspringdataAccessContext-hibernate.xml]: Instantiatio
n of bean failed; nested exception is java.lang.NoSuchMethodError: org.apache.lo
g4j.LogManager.getLoggerRepository()Lorg/apache/log4j/spi/LoggerRepository;
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
Truncated. see log file for complete stacktrace
这是属于什么问题啊?
时间: 2024-10-30 21:12:06