该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

2018-07-10 15:36:34 [localhost-startStop-1] - [ERROR] Context initialization failed

org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in URL [jar:file:/D:/worktools/Tomcat/apache-tomcat-7.0.88/wtpwebapps/build_web/WEB-INF/lib/base-1.0.0-SNAPSHOT.jar!/spring/dataAccessContext-jdbc.xml]: Could not resolve placeholder 'jndiName' in string value "${jndiName}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'jndiName' in string value "${jndiName}"

at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)

at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223)

at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:669)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)

at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)

at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)

at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5157)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5680)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1702)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1692)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'jndiName' in string value "${jndiName}"

at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:173)

at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:125)

at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:258)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82)

at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:206)

... 17 more

七月 10, 2018 3:36:34 下午 org.apache.catalina.core.StandardContext listenerStart

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in URL [jar:file:/D:/worktools/Tomcat/apache-tomcat-7.0.88/wtpwebapps/build_web/WEB-INF/lib/base-1.0.0-SNAPSHOT.jar!/spring/dataAccessContext-jdbc.xml]: Could not resolve placeholder 'jndiName' in string value "${jndiName}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'jndiName' in string value "${jndiName}"

at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)

at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223)

at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:669)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)

at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)

at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)

at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5157)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5680)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1702)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1692)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'jndiName' in string value "${jndiName}"

at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:173)

at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:125)

at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:258)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141)

at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82)

at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:206)

... 17 more

启动之后报这个错误,网上找了一大堆解决不了,哪位大神帮忙看一下

拱猪java_有没有大神帮忙解决一下这个项目启动报错的问题相关推荐

  1. 拱猪java,有没有大神帮忙解决一下这个项目启动报错的问题

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 2018-07-10 15:36:34 [localhost-startStop-1] - [ERROR] Context initialization ...

  2. ubuntu14.04扩展屏幕后,打开matlab就死机。求大神帮忙解决!!!万分感谢

    ubuntu14.04扩展屏幕后,打开matlab就死机.求大神帮忙解决!!!万分感谢

  3. matlab里trim函数,matlab 中trim函数总出现Index exceeds matrix dimensions,求大神帮忙解决...

    运行一个trim函数,可是总是错误 Index exceeds matrix dimensions. Error in trim>trim_alg (line 164) gg=[x(ix)-x0 ...

  4. wps里的茶色字体怎么设置_《excel颜色筛选》 WPS2019的EXCEL整行填充一种颜色保存后关闭再打开就变成两种深浅不同的颜色是怎么回事呢?请大神帮忙解决...

    WPS2019的EXCEL整行填充一种颜色保存后关闭再打开就变成两种深浅不同的颜色是怎么回事呢?请大神帮忙解决 格式刷提取那个单元格格式复制后颜色,保存后打开也的吗? 还有你可以右键单元格后下两种的图 ...

  5. aoc显示器开机显示计算机,_求各路大神帮忙解决,配置如下 电脑开机AOC显示器显示无信号,每次都要重新拔了再插才有画面_...

    网友求助:_求各路大神帮忙解决,配置如下 电脑开机AOC显示器显示无信号,每次都要重新拔了再插才有画面_ 问题求各路大神帮忙解决,配置如下 电脑开机AOC显示器显示无信号,每次都要重新拔了再插才有画面 ...

  6. java 控制台刷屏 dll_Java刷屏问题,下面是我编的代码,请大神帮忙解决下,谢谢...

    importjava.awt.*;importjavax.swing.*;importjava.awt.event.*;publicclassjiemianextendsJFrame{JButtonz ...

  7. 声卡突然听不到监听_初次玩外置声卡监听与录音 遇到些问题 恳请大神帮忙解决...

    先上两张图片 是我入的外置icon声卡的前后面板图 11111_副本.jpg (83.24 KB, 下载次数: 2) 2016-5-30 12:30 上传 22222_副本.jpg (66.2 KB, ...

  8. 求助,大神们可不可以帮我看看这个报错

    求大神帮我解答一下,我卡了一天了 TCGAbiolinks:::getProjectSummary("TCGA-DLBC")DLBC_query <- GDCquery(pr ...

  9. matlab数值很小出错,求大神帮忙解决一下,用MATLAB求解动力学数据总是出错~ - 计算模拟 - 小木虫 - 学术 科研 互动社区...

    CODE: function KineticsEst5 % 动力学ODE方程模型的参数估计 % % % % The variables y here are y(1)=xB, y(2)=xoNB, y ...

最新文章

  1. IDEA 格式化代码Reform Code快捷键无效
  2. 分布式系统中只有两个难题
  3. Linux常用命令及技巧4
  4. 无法从“const char [10]”转换为“char *”
  5. JSON与JAVA数据的相互转换(基本应用)
  6. window 下分linux分区,如何在windows9x下访问linux分区
  7. msdn画圆弧函数_精确之美——用TikZ画硬盘示意图
  8. 用string存取二进制数据
  9. 工资10000元,应该交多少税?
  10. mac怎么查node版本_Node.js 微服务实践:基于容器的一站式命令行工具链
  11. Java多线程学习(二)
  12. [转]跟我一起写Makefile系列
  13. 游戏开发之动态创建对象及构造函数、析构函数的执行(C++基础)
  14. 干货----003----乱码解决方法
  15. (丝滑版)Python使用Opencv画一个哆啦A梦(动态),并制作成可执行文件.exe
  16. html5 drag api
  17. 前端知识学习——html
  18. PAP认证、CHAP认证
  19. 软件相关的小问题记录
  20. leetcode ---- 三数之和

热门文章

  1. 在keil工程中删除编译文件的方法
  2. 案例:使用vue开发微信机器人聊天(附完整源码)
  3. 使用笔记本电脑需要注意的问题
  4. java侧边栏_DrawerLayoutDemo【侧边栏(侧滑菜单)简单实现】
  5. MYSQL POST型注入详解
  6. 2002飞越海峡活动策划方案
  7. 华为云服务-微服务部署后的WEB服务日常如何运维
  8. Javascript(es2016) import和require用法和区别
  9. python+django健身房教练预约管理系统
  10. 流动微管反应器的精密压力控制解决方案