亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Spring 應用程序無法在 Java 1.7 中加載

Spring 應用程序無法在 Java 1.7 中加載

慕容708150 2022-06-23 15:55:33
我們最近將 web sphere 從 8.5 遷移到 8.5.5.14,將 java 從 1.6 遷移到 1.7。我的 spring 應用程序適用于 java 1.6。當我嘗試在 Java 1.7 中進行部署時,它會在服務器啟動時引發以下異常。不知道有什么問題。任何人都可以請幫忙。我只是從日志中發布錯誤詳細信息...>     [2/16/19 12:24:30:148 EST] 00000065 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new> session context for application key default_hostapps/TMS>     [2/16/19 12:24:34:707 EST] 00000065 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message -> [TMSEAR#TMS.war]:.No Spring WebApplicationInitializer types detected> on classpath>     [2/16/19 12:24:34:908 EST] 00000065 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message -> [TMSEAR#TMS.war]:.Initializing Spring FrameworkServlet 'mydispatcher'>     [2/16/19 12:24:34:909 EST] 00000065 DispatcherSer I org.springframework.web.servlet.FrameworkServlet initServletBean> FrameworkServlet 'mydispatcher': initialization started>     [2/16/19 12:24:34:930 EST] 00000065 XmlWebApplica I org.springframework.context.support.AbstractApplicationContext> prepareRefresh Refreshing WebApplicationContext for namespace> 'mydispatcher-servlet': startup date [Sat Feb 16 12:24:34 EST 2019];> root of context hierarchy>     [2/16/19 12:24:34:975 EST] 00000065 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader> loadBeanDefinitions Loading XML bean definitions from ServletContext> resource [/WEB-INF/config/dispatcher-servlet.xml]>     [2/16/19 12:24:35:220 EST] 00000065 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory> registerBeanDefinition Overriding bean definition for bean> 'timesheetSubmitRemainderTask': replacing [Generic bean: class> [com.tms.scheduleTasks.TimesheetSubmitRemainderTask]; scope=singleton;> abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;> autowireCandidate=true; primary=false; factoryBeanName=null;> factoryMethodName=null; initMethodName=null; destroyMethodName=null;> defined in file
查看完整描述

1 回答

?
慕虎7371278

TA貢獻1802條經驗 獲得超4個贊

您需要確保您的類路徑中至少存在以下依賴項之一:


<dependency>

     <groupId>ch.qos.logback</groupId>

     <artifactId>logback-core</artifactId>

     <version>1.2.3</version> 

 </dependency>



<dependency>

    <groupId>ch.qos.logback</groupId>

    <artifactId>logback-core</artifactId>

    <version>1.2.3</version>

</dependency>

您可以選擇與其他依賴項兼容的版本。


查看完整回答
反對 回復 2022-06-23
  • 1 回答
  • 0 關注
  • 122 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號