我正在Linux环境中部署应用程序,必须成功安装tomcat和Oracle数据库,之后生成表并获得一个在Windows环境下可以正常工作的.war文件(模块)
我将其部署在/ tomcat / webapps下,并且正确配置了服务器xml
之后,我从tomcat Manager应用程序启动该应用程序,它对我说无法启动该应用程序
失败-无法启动上下文/休息室路径的应用程序
它向我显示我的应用程序记录此错误
日志
2019-02-25 15:04:47.120 [http-bio-8080-exec-32] ERROR osweb.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationConfig': Initialization of bean failed; nested exception is ..... at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:179) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE] at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:104) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE] at Caused by: javax.naming.NameNotFoundException: Le Nom jdbc/vimsDs n'est pas lié à ce Contexte at org.apache.naming.Naming