范文健康探索娱乐情感热点
投稿投诉
热点动态
科技财经
情感日志
励志美文
娱乐时尚
游戏搞笑
探索旅游
历史星座
健康养生
美丽育儿
范文作文
教案论文
国学影视

java。lang。IllegalArgumentException

  Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder "fileServerUrl" in value "${fileServerUrl}"
  (解决方案在最下方)
  org.springframework.beans.factory.BeanCreationException: Error creating bean with name "configProperties": Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder "basePath" in value "${basePath}"
  at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:405)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
  at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:895)
  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706)
  at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1727)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:288)
  at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:459)
  at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:408)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:288)
  at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
  at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
  at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
  at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
  at java.security.AccessController.doPrivileged(Native Method)
  at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
  at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
  at sun.rmi.transport.Transport$1.run(Transport.java:200)
  at sun.rmi.transport.Transport$1.run(Transport.java:197)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
  Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder "basePath" in value "${basePath}"
  at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:178)
  at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
  at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
  at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210)
  at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175)
  at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:912)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1226)
  at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
  at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130)
  at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
  ... 60 more
  原因
  在spring配置文件中使用了两次这个properties文件加载代码。
  标签提供了一种外在化参数配置的方式,但该标签在spring配置文件中只能存在一份。
  所以这就是报错了的原因,只能有一个标签。
  解决
  为每个标签添加ignore-unresolvable="true"属性。
  ignore-unresolvable:意思是是否忽略解析不到的属性,如果不忽略,找不到将抛出异常
  正确代码

为什么当我们人类想到宇宙,空间,纬度,死亡等事,仿佛有什么阻止我们容易的想下去?谢谢邀请!首先请注意这是个永远困惑人类的问题!何人能给我们破除困惑?我请出两个人,一位是最伟大的哲学家康德,另一位是伟大的思想家孔子。不要问康德是哪国人,就像不要问孔子是哪国人一样鱼油有没有降低血脂的功能?鱼油有没有降血脂功能?这个问题具有代表性,甚至可以延伸至鱼油是否可以预防心血管疾病。所以,可以说涉及鱼油的相关知识,近年来的认识更新比较快,今天张大夫集中来解答一下。首先,明确解答空间站依靠什么动力飞行?首先回答你的问题空间站飞行的动力,主要依靠第1次火箭发射产生的初速度为基础的惯性飞行,并依靠自身携带的少量燃料,定期做速度补偿和位置调整,校正运行轨道,以便保持一个相对匀速的,相对现在电厂待遇好吗,年薪可以拿到多少?本人就是电厂职工,集控值班猿一只。就职于北方某曾经是大型的火电厂。怎么说呢,我们厂以前也阔过,也算是全国数一数二的电厂了。现在也不算没落,一年也能给集团公司盈利十个亿。虽不算没落,归化不用,踢成这样,是真实水平吗?足协和国足是不是出问题了?国足现在的状况是谁来做教练都很难,而且是越来越差,中国足球就像是一个刚从驾校出来的新手驾驶员,跑高速走错了道,退也不是,进也不行。怎么办,再进驾校操炼也没用,就这脑子和水平,球员上按销量榜来买车,世界前五的车是哪些?世界最高峰是珠穆朗玛峰,但世界第二高第三高乃至前10名是哪些山峰,恐怕很多人就不知道了吧。同样,有很多人都知道全球单一车型销量最好的是丰田卡罗拉,但是排在全球销量第2名,第3名等等大众发动机不如日系吗?你有没有想过,当你还在计较着是德国车结实,还是日本车省油的时候,其实这两种车早已经在各个零部件之间紧密结合了。甚至,这其中还包括变速箱ECU芯片等核心零部件,甚至还包括了汽车钢板这丰田卡罗拉真的如有些人说得那么好吗?从2004年开始卡罗拉(花冠)就已经进入国内销售,算上今年也有16个年头了,卡罗拉的第十二代车型也于2019年在国内推出(目前国内卡罗拉在售款)。在国内这么些年卡罗拉留给国人的口碑为什么汽车现在被偷的概率越来越小?谢邀。的确,现在汽车被偷的概率越来越小,基本上城市里几乎不会发生,可能在一些偏远地区还有零星存在,多方面因素导致汽车被偷的事件越来越少。一就算车门开了,车不定一能偷走。以前很多电影大连有哪些地方是本地人不会去,外地人旅游经常去的景点?俄罗斯风情街肯定要排在第一位了吧!一条一公里不到的路俩边确实是俄罗斯风格建筑,也的确很有历史感,但是全部是商贩,你想看建筑很难看到,看到的都是卖纪念品的星海公园的沙滩那不叫沙滩全是喝白酒跟喝啤酒哪个对身体的伤害大?不是专业人士,但我对待酒局的态度豪饮伤身,微醺就好。共勉喝等量的还是白酒伤身。无论是什么酒喝过量都伤身呲牙这问题我知道的是,在不喝过量的情况下,也要分体质,有的适合喝白酒,有的适合
支付宝官方支付接口申请配置教程(如何开通支付宝支付接口)现如今,使用支付宝支付的用户越来越多,那么电脑端网站和手机端网站商户如何开通支付宝支付接口的呢?今天188创业网小编就来介绍下商家如何开通支付宝支付接口的,大家跟着我的步骤一步步来VR智慧党建和学校VR思政项目的主流产品介绍近期VR红色学习类的项目很多,毕竟我们的二十会议刚结束,从上到下的单位,机关,学校等都是需要好好学习的,毕竟我们从建党到现在一直有学习党史,学习历次重要会议的光荣传统,不断的学习,湖人队能够跟凯尔特人队打入加时赛,已经算是一种成功了北京时间12月14日,NBA常规赛,湖人队对阵凯尔特人队,作为联盟战绩第一的凯尔特人队,湖人队属于挑战的行列,开局虽然一度落后了20分,但是,在詹姆斯和戴维斯的带领下,下半场开启了詹姆斯丢绝杀!凯尔特人加时击败湖人,浓眉3712,塔图姆44分北京时间12月14日,NBA常规赛继续进行,凯尔特人依靠着加时赛的爆发,以122118击败湖人,结束两连败。前三节凯尔特人一直处于领先,湖人在第三节末和第四节初期,一波274强势反世界杯四强谁距离冠军更近?世界杯四强诞生,他们分别是克罗地亚阿根廷摩洛哥和法国,其中克罗地亚和摩洛哥来自同一个小组F组。到底谁离大力神杯更近一步呢?我们一点一点来分析先看世界排名。阿根廷和法国属于第一梯队,拒绝被击败的球队,随时准备一路走到最后作为世界上有近六分之一的人会观看的体育赛事,足球的魅力远不止行云流水的传接配合和充满想象的精彩进球。从集颜值与才华于一身的偶像球星,到久为人所传颂的风云故事,用一句话总结,即便你不詹姆斯谈浓眉他现在很难受我一点也不担心他的罚球!直播吧12月14日讯今日NBA常规赛,湖人加时118122惜败绿军,赛后詹姆斯接受了媒体采访。常规时间最后时刻,浓眉罚球线两罚不中被绿军拖入加时,最终输球。谈到浓眉本赛季关键时刻罚自然最新封面研究发现最古老DNA新民晚报讯(记者姜燕)自然(Nature)杂志发布的最新封面研究论文显示,研究团队分离出200万年前的环境DNA片段,而曾经发现的最古老DNA序列时间是120万年,几乎翻倍。图说自极限操作!阿丽亚娜5满载将3颗大型卫星送入同步转移轨道北京时间2022年12月14日0430,搭载MTGI1气象卫星和银河35银河36通信卫星等3颗卫星的阿丽亚娜5(Ariane5)和运载火箭,从法属圭亚那库鲁航天发射场发射升空,发射长春骄傲!夸父一号莱曼阿尔法太阳望远镜首图发布2022年10月9日,我国第一台莱曼阿尔法太阳望远镜(LST)随夸父一号卫星发射入轨。12月13号,也就是昨天,中国科学院国家空间科学中心公布了我国综合性太阳探测卫星夸父一号的首批云南天文台揭示太阳紫外暴形成机制太阳紫外暴,是太阳界面区成像光谱仪卫星(IRIS)近年最重要的新发现之一,也是太阳观测的又一前沿问题。记者从中国科学院云南天文台了解到,近期该台研究人员在太阳紫外暴理论研究方面获得