阿金想当大佬 2021-06-30 19:45 采纳率: 37.5%
浏览 15

请教一下weblogIc服务器 启动运行时报错怎么解决,报错信息如下


<2021-6-30 下午07时39分32秒 CST> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter. Class: com.opensymphony.xwork2.spring.SpringObjectFactory File: SpringObjectFactory.java Method: getClassInstance Line: 243 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:243:-1 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:504) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:374) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) Truncated. see log file for complete stacktrace Caused By: java.lang.NullPointerException at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:243) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:608) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:578) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:534) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:295) Truncated. see log file for complete stacktrace

<2021-6-30 下午07时39分32秒 CST> <Servlet: "InitServlet" failed to preload on startup in Web application: "CSManager2_war_exploded". org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in class path resource [spring/components/applicationContext-quartz.xml]: Cannot resolve reference to bean 'cronSendJtCommReceiveDataTrigger' while setting bean property 'triggers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cronSendJtCommReceiveDataTrigger' defined in class path resource [spring/components/applicationContext-quartz.xml]: Cannot resolve reference to bean 'sendJtCommReceiveDataJob' while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sendJtCommReceiveDataJob' defined in class path resource [spring/components/applicationContext-quartz.xml]: Cannot resolve reference to bean 'sendJtCommReceiveData' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\applicationContext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\dataAccessContext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:254) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:266) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:132) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cronSendJtCommReceiveDataTrigger' defined in class path resource [spring/components/applicationContext-quartz.xml]: Cannot resolve reference to bean 'sendJtCommReceiveDataJob' while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sendJtCommReceiveDataJob' defined in class path resource [spring/components/applicationContext-quartz.xml]: Cannot resolve reference to bean 'sendJtCommReceiveData' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\applicationContext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\dataAccessContext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:254) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sendJtCommReceiveDataJob' defined in class path resource [spring/components/applicationContext-quartz.xml]: Cannot resolve reference to bean 'sendJtCommReceiveData' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\applicationContext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\dataAccessContext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:254) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\applicationContext-hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\dataAccessContext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:254) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\svnwenjian\1-SourceCode\Java\branches\CSM_20210628_V5.1\CSM\webapp\WEB-INF\classes\artifacts\CSManager2_war_exploded\WEB-INF\classes\spring\dataAccessContext-hibernate.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1032) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242) Truncated. see log file for complete stacktrace Caused By: javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180) at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:143) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426) at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45) Truncated. see log file for complete stacktrace

<2021-6-30 下午07时39分33秒 CST> <Failure occurred in the execution of deployment request with ID "13946409924800" for task "0". Error is: "weblogic.application.ModuleException: javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource'" weblogic.application.ModuleException: javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:216) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:211) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) Truncated. see log file for complete stacktrace Caused By: javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180) at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:143) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426) at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45) Truncated. see log file for complete stacktrace

<2021-6-30 下午07时39分33秒 CST> <Encountered an exception while attempting to commit the 1 task for the application "CSManager2_war_exploded".> <2021-6-30 下午07时39分33秒 CST> <Failures were detected while initiating deploy task for application "CSManager2_war_exploded".> <2021-6-30 下午07时39分33秒 CST> <Stack trace for message 149004 weblogic.application.ModuleException: javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:216) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:211) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) Truncated. see log file for complete stacktrace Caused By: javax.naming.NameNotFoundException: While trying to look up comp/env/piccCsmDataSource in /app/webapp/CSManager2_war_exploded/234503269.; remaining name 'comp/env/piccCsmDataSource' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180) at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:143) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426) at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45) Truncated. see log file for complete stacktrace

[2021-06-30 07:39:33,787] Artifact CSManager2:war exploded: Error during artifact deployment. See server log for details.

  • 写回答

1条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2022-09-07 17:54
    关注
    不知道你这个问题是否已经解决, 如果还没有解决的话:

    如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 以帮助更多的人 ^-^
    评论

报告相同问题?

悬赏问题

  • ¥15 Coze智能助手搭建过程中的问题请教
  • ¥15 12864只亮屏 不显示汉字
  • ¥20 三极管1000倍放大电路
  • ¥15 vscode报错如何解决
  • ¥15 前端vue CryptoJS Aes CBC加密后端java解密
  • ¥15 python随机森林对两个excel表格读取,shap报错
  • ¥15 基于STM32心率血氧监测(OLED显示)相关代码运行成功后烧录成功OLED显示屏不显示的原因是什么
  • ¥100 X轴为分离变量(因子变量),如何控制X轴每个分类变量的长度。
  • ¥30 求给定范围的全体素数p的(p-2)/p的连乘积值
  • ¥15 VFP如何使用阿里TTS实现文字转语音?