maven項目新建服務器啓動異常

maven項目新建服務器啓動時發生如下異常:

Related cause:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'db-0-url': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [db-0-url] is not bound in this Context. Unable to find [db-0-url].

Caused by: javax.naming.NameNotFoundException: Name [db-0-url] is not bound in this Context. Unable to find [db-0-url].
這中異常是因爲沒有配置tomcat中的tomcat-context.xml,tomcat-server.xml這兩個文件。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章