weblogic 与项目jar冲突解决方案 ITsm部署
Posted 风之子手
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了weblogic 与项目jar冲突解决方案 ITsm部署相关的知识,希望对你有一定的参考价值。
部署时出现找不到类itims*****IMOType 时删除 2个fvsd-res-ws-1.0.ja,itims-fvsd-res-sync.jar jar包 里面的DeviceInfoPortTypeImpl.class
2、jndl 配置数据源
1、在weblogic 后台配置数据源
2、在applicantionContext-dao.xml 配置jndi数据源
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName"> <value>jndi/fvsd</value> </property> </bean>
1、 将antlr-2.7.6.jar、commons-lang-2.6.jar两个jar包复制到domains/wldomain/lib目录下:
antlr-2.7.6.jar需自行从网上下载;
commons-lang-2.6.jar可以使用产品自带的,在WEB-INF/lib目录下。
注:antlr-2.7.6是hibernate3.0依赖的jar包,和weblogic自带的2.7.1版本包冲突;
weblog自带的commons-lang版本为2.1,产品无法使用,仍然是版本问题。
2、 打开放在set CLASSPATH=%SAVE_CLASSPATH%之后
set TMPCPAHT=C:\\Oracle\\Middleware\\user_projects\\domains\\fvsd\\lib
set CLASSPATH=%TMPCPAHT%\\antlr-2.7.6.jar;%TMPCPAHT%\\commons-lang-2.6.jar;%CLASSPATH%
3、重启
不替换提示的错误信息
sun> <AdminServer> <[ACTIVE] ExecuteThread: \'0\' for queue: \'weblogic.kernel.Default (self-tuning)\'> <<anonymous>> <> <> <1495635510536> <BEA-000000> <Initializing Spring root WebApplicationContext> ####<2017-5-24 下午10时18分52秒 CST> <Warning> <HTTP> <sun> <AdminServer> <[ACTIVE] ExecuteThread: \'0\' for queue: \'weblogic.kernel.Default (self-tuning)\'> <<WLS Kernel>> <> <> <1495635532471> <BEA-101162> <User defined listener com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'dataSource\' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0\': Cannot create inner bean \'(inner bean)\' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property \'transactionInterceptor\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'(inner bean)#1\': Cannot resolve reference to bean \'transactionManager\' while setting bean property \'transactionManager\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'transactionManager\' defined in class path resource [applicationContext-dao.xml]: Cannot resolve reference to bean \'sessionFactory\' while setting bean property \'sessionFactory\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'sessionFactory\' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: JobSession.findFailedJobs, JobSession.getFirstDueJob, TaskMgmtSession.findPooledTaskInstancesByActorId, GraphSession.findActiveNodesByProcessInstance, GraphSession.NumberOfActiveProcessInstances, JobSession.findExclusiveJobs, JobSession.getFirstDueJobExcludingMonitoredJobs, GraphSession.findLatestProcessDefinitionQuery, GraphSession.findTokensForProcessVersionInNode, GraphSession.findAllRunningProcessInstancesWithProcessName, JobSession.findRepeatingTimersByName, TaskMgmtSession.findTaskForNode, TaskMgmtSession.findOpenTasksOfProcessInstance, TaskMgmtSession.findTaskInstancesByProcessInstance, GraphSession.findAllProcessInstancesWithProcessName, TaskMgmtSession.findTaskInstancesByIds, GraphSession.findAllProcessDefinitions, GraphSession.findAllProcessInstanceIdsForDefinition, GraphSession.findReferencingProcessStates, GraphSession.findProcessDefinitionByNameAndVersion, JobSession.findJobsWithOverdueLockTime, GraphSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstances, JobSession.deleteTimersByName, GraphSession.findLogsForProcessInstance, JobSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstancesForDefinition, GraphSession.findAllRunningProcessInstances, GraphSession.findLatestProcessDefinitions, JobSession.resumeJobs, TaskMgmtSession.findTaskInstancesByActorId, TaskMgmtSession.findTaskInstancesByTokenId, GraphSession.findTaskInstancesForProcessInstance, TaskMgmtSession.findTaskInstancesByActorIds, LoggingSession.findLogsByToken, GraphSession.findTokensForProcessInNode, JobSession.getFirstAcquirableJob, GraphSession.findAllProcessDefinitionVersions, GraphSession.findAllSwimlaneNames, GraphSession.calculateAverageTimeByNode, GraphSession.findProcessInstanceByKey, JobSession.findRepeatingTimersForProcessInstance, GraphSession.AllProcessNames, JobSession.countDeletableJobsForProcessInstance, TaskMgmtSession.findPooledTaskInstancesByActorIds, JobSession.suspendJobs, GraphSession.NumberOfDeployedProcesses, JobSession.findJobsByToken, GraphSession.findSubProcessInstances. org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'dataSource\' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0\': Cannot create inner bean \'(inner bean)\' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property \'transactionInterceptor\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'(inner bean)#1\': Cannot resolve reference to bean \'transactionManager\' while setting bean property \'transactionManager\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'transactionManager\' defined in class path resource [applicationContext-dao.xml]: Cannot resolve reference to bean \'sessionFactory\' while setting bean property \'sessionFactory\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'sessionFactory\' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: JobSession.findFailedJobs, JobSession.getFirstDueJob, TaskMgmtSession.findPooledTaskInstancesByActorId, GraphSession.findActiveNodesByProcessInstance, GraphSession.NumberOfActiveProcessInstances, JobSession.findExclusiveJobs, JobSession.getFirstDueJobExcludingMonitoredJobs, GraphSession.findLatestProcessDefinitionQuery, GraphSession.findTokensForProcessVersionInNode, GraphSession.findAllRunningProcessInstancesWithProcessName, JobSession.findRepeatingTimersByName, TaskMgmtSession.findTaskForNode, TaskMgmtSession.findOpenTasksOfProcessInstance, TaskMgmtSession.findTaskInstancesByProcessInstance, GraphSession.findAllProcessInstancesWithProcessName, TaskMgmtSession.findTaskInstancesByIds, GraphSession.findAllProcessDefinitions, GraphSession.findAllProcessInstanceIdsForDefinition, GraphSession.findReferencingProcessStates, GraphSession.findProcessDefinitionByNameAndVersion, JobSession.findJobsWithOverdueLockTime, GraphSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstances, JobSession.deleteTimersByName, GraphSession.findLogsForProcessInstance, JobSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstancesForDefinition, GraphSession.findAllRunningProcessInstances, GraphSession.findLatestProcessDefinitions, JobSession.resumeJobs, TaskMgmtSession.findTaskInstancesByActorId, TaskMgmtSession.findTaskInstancesByTokenId, GraphSession.findTaskInstancesForProcessInstance, TaskMgmtSession.findTaskInstancesByActorIds, LoggingSession.findLogsByToken, GraphSession.findTokensForProcessInNode, JobSession.getFirstAcquirableJob, GraphSession.findAllProcessDefinitionVersions, GraphSession.findAllSwimlaneNames, GraphSession.calculateAverageTimeByNode, GraphSession.findProcessInstanceByKey, JobSession.findRepeatingTimersForProcessInstance, GraphSession.AllProcessNames, JobSession.countDeletableJobsForProcessInstance, TaskMgmtSession.findPooledTaskInstancesByActorIds, JobSession.suspendJobs, GraphSession.NumberOfDeployedProcesses, JobSession.findJobsByToken, GraphSession.findSubProcessInstances at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener.contextInitialized(Unknown Source) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0\': Cannot create inner bean \'(inner bean)\' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property \'transactionInterceptor\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'(inner bean)#1\': Cannot resolve reference to bean \'transactionManager\' while setting bean property \'transactionManager\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'transactionManager\' defined in class path resource [applicationContext-dao.xml]: Cannot resolve reference to bean \'sessionFactory\' while setting bean property \'sessionFactory\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'sessionFactory\' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: JobSession.findFailedJobs, JobSession.getFirstDueJob, TaskMgmtSession.findPooledTaskInstancesByActorId, GraphSession.findActiveNodesByProcessInstance, GraphSession.NumberOfActiveProcessInstances, JobSession.findExclusiveJobs, JobSession.getFirstDueJobExcludingMonitoredJobs, GraphSession.findLatestProcessDefinitionQuery, GraphSession.findTokensForProcessVersionInNode, GraphSession.findAllRunningProcessInstancesWithProcessName, JobSession.findRepeatingTimersByName, TaskMgmtSession.findTaskForNode, TaskMgmtSession.findOpenTasksOfProcessInstance, TaskMgmtSession.findTaskInstancesByProcessInstance, GraphSession.findAllProcessInstancesWithProcessName, TaskMgmtSession.findTaskInstancesByIds, GraphSession.findAllProcessDefinitions, GraphSession.findAllProcessInstanceIdsForDefinition, GraphSession.findReferencingProcessStates, GraphSession.findProcessDefinitionByNameAndVersion, JobSession.findJobsWithOverdueLockTime, GraphSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstances, JobSession.deleteTimersByName, GraphSession.findLogsForProcessInstance, JobSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstancesForDefinition, GraphSession.findAllRunningProcessInstances, GraphSession.findLatestProcessDefinitions, JobSession.resumeJobs, TaskMgmtSession.findTaskInstancesByActorId, TaskMgmtSession.findTaskInstancesByTokenId, GraphSession.findTaskInstancesForProcessInstance, TaskMgmtSession.findTaskInstancesByActorIds, LoggingSession.findLogsByToken, GraphSession.findTokensForProcessInNode, JobSession.getFirstAcquirableJob, GraphSession.findAllProcessDefinitionVersions, GraphSession.findAllSwimlaneNames, GraphSession.calculateAverageTimeByNode, GraphSession.findProcessInstanceByKey, JobSession.findRepeatingTimersForProcessInstance, GraphSession.AllProcessNames, JobSession.countDeletableJobsForProcessInstance, TaskMgmtSession.findPooledTaskInstancesByActorIds, JobSession.suspendJobs, GraphSession.NumberOfDeployedProcesses, JobSession.findJobsByToken, GraphSession.findSubProcessInstances at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:86) at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:100) at org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:84) at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:107) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:353) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1426) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener.contextInitialized(Unknown Source) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'(inner bean)#1\': Cannot resolve reference to bean \'transactionManager\' while setting bean property \'transactionManager\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'transactionManager\' defined in class path resource [applicationContext-dao.xml]: Cannot resolve reference to bean \'sessionFactory\' while setting bean property \'sessionFactory\'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'sessionFactory\' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: JobSession.findFailedJobs, JobSession.getFirstDueJob, TaskMgmtSession.findPooledTaskInstancesByActorId, GraphSession.findActiveNodesByProcessInstance, GraphSession.NumberOfActiveProcessInstances, JobSession.findExclusiveJobs, JobSession.getFirstDueJobExcludingMonitoredJobs, GraphSession.findLatestProcessDefinitionQuery, GraphSession.findTokensForProcessVersionInNode, GraphSession.findAllRunningProcessInstancesWithProcessName, JobSession.findRepeatingTimersByName, TaskMgmtSession.findTaskForNode, TaskMgmtSession.findOpenTasksOfProcessInstance, TaskMgmtSession.findTaskInstancesByProcessInstance, GraphSession.findAllProcessInstancesWithProcessName, TaskMgmtSession.findTaskInstancesByIds, GraphSession.findAllProcessDefinitions, GraphSession.findAllProcessInstanceIdsForDefinition, GraphSession.findReferencingProcessStates, GraphSession.findProcessDefinitionByNameAndVersion, JobSession.findJobsWithOverdueLockTime, GraphSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstances, JobSession.deleteTimersByName, GraphSession.findLogsForProcessInstance, JobSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstancesForDefinition, GraphSession.findAllRunningProcessInstances, GraphSession.findLatestProcessDefinitions, JobSession.resumeJobs, TaskMgmtSession.findTaskInstancesByActorId, TaskMgmtSession.findTaskInstancesByTokenId, GraphSession.findTaskInstancesForProcessInstance, TaskMgmtSession.findTaskInstancesByActorIds, LoggingSession.findLogsByToken, GraphSession.findTokensForProcessInNode, JobSession.getFirstAcquirableJob, GraphSession.findAllProcessDefinitionVersions, GraphSession.findAllSwimlaneNames, GraphSession.calculateAverageTimeByNode, GraphSession.findProcessInstanceByKey, JobSession.findRepeatingTimersForProcessInstance, GraphSession.AllProcessNames, JobSession.countDeletableJobsForProcessInstance, TaskMgmtSession.findPooledTaskInstancesByActorIds, JobSession.suspendJobs, GraphSession.NumberOfDeployedProcesses, JobSession.findJobsByToken, GraphSession.findSubProcessInstances at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:86) at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:100) at org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:84) at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:107) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:353) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1426) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener.contextInitialized(Unknown Source) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361) at weblogic.management.deploy.internal.DeploymentAdapter$weblogic12c部署遇到的问题和解决weblogic11g(10.3.6)部署war包时,解决jar包冲突的超简方案