Could not resolve placeholder 'foo' in value "${foo}" 解决方法

2023-11-07

"D:\Program Files\Java\jdk1.8.0_101\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50162,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=50161 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\LENOVO\.IntelliJIdea2017.2\system\groovyHotSwap\gragent.jar -Dfile.encoding=UTF-8 -classpath "D:\Program Files\Java\jdk1.8.0_101\jre\lib\charsets.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\deploy.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\access-bridge-64.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\cldrdata.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\dnsns.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\jaccess.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\jfxrt.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\localedata.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\nashorn.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunec.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunjce_provider.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunmscapi.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunpkcs11.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\zipfs.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\javaws.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\jce.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\jfr.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\jfxswt.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\jsse.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\management-agent.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\plugin.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\resources.jar;D:\Program Files\Java\jdk1.8.0_101\jre\lib\rt.jar;C:\work\24-springcloud-config-client\target\classes;D:\maven\tem\org\springframework\boot\spring-boot-starter-web\2.1.1.RELEASE\spring-boot-starter-web-2.1.1.RELEASE.jar;D:\maven\tem\org\springframework\boot\spring-boot-starter\2.1.1.RELEASE\spring-boot-starter-2.1.1.RELEASE.jar;D:\maven\tem\org\springframework\boot\spring-boot\2.1.1.RELEASE\spring-boot-2.1.1.RELEASE.jar;D:\maven\tem\org\springframework\boot\spring-boot-autoconfigure\2.1.1.RELEASE\spring-boot-autoconfigure-2.1.1.RELEASE.jar;D:\maven\tem\org\springframework\boot\spring-boot-starter-logging\2.1.1.RELEASE\spring-boot-starter-logging-2.1.1.RELEASE.jar;D:\maven\tem\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\maven\tem\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\maven\tem\org\apache\logging\log4j\log4j-to-slf4j\2.11.1\log4j-to-slf4j-2.11.1.jar;D:\maven\tem\org\apache\logging\log4j\log4j-api\2.11.1\log4j-api-2.11.1.jar;D:\maven\tem\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;D:\maven\tem\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\maven\tem\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;D:\maven\tem\org\springframework\boot\spring-boot-starter-json\2.1.1.RELEASE\spring-boot-starter-json-2.1.1.RELEASE.jar;D:\maven\tem\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.7\jackson-datatype-jdk8-2.9.7.jar;D:\maven\tem\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.7\jackson-datatype-jsr310-2.9.7.jar;D:\maven\tem\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.7\jackson-module-parameter-names-2.9.7.jar;D:\maven\tem\org\springframework\boot\spring-boot-starter-tomcat\2.1.1.RELEASE\spring-boot-starter-tomcat-2.1.1.RELEASE.jar;D:\maven\tem\org\apache\tomcat\embed\tomcat-embed-core\9.0.13\tomcat-embed-core-9.0.13.jar;D:\maven\tem\org\apache\tomcat\embed\tomcat-embed-el\9.0.13\tomcat-embed-el-9.0.13.jar;D:\maven\tem\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.13\tomcat-embed-websocket-9.0.13.jar;D:\maven\tem\org\hibernate\validator\hibernate-validator\6.0.13.Final\hibernate-validator-6.0.13.Final.jar;D:\maven\tem\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;D:\maven\tem\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;D:\maven\tem\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;D:\maven\tem\org\springframework\spring-web\5.1.3.RELEASE\spring-web-5.1.3.RELEASE.jar;D:\maven\tem\org\springframework\spring-beans\5.1.3.RELEASE\spring-beans-5.1.3.RELEASE.jar;D:\maven\tem\org\springframework\spring-webmvc\5.1.3.RELEASE\spring-webmvc-5.1.3.RELEASE.jar;D:\maven\tem\org\springframework\spring-aop\5.1.3.RELEASE\spring-aop-5.1.3.RELEASE.jar;D:\maven\tem\org\springframework\spring-context\5.1.3.RELEASE\spring-context-5.1.3.RELEASE.jar;D:\maven\tem\org\springframework\spring-expression\5.1.3.RELEASE\spring-expression-5.1.3.RELEASE.jar;D:\maven\tem\org\springframework\cloud\spring-cloud-starter\2.1.0.RC2\spring-cloud-starter-2.1.0.RC2.jar;D:\maven\tem\org\springframework\cloud\spring-cloud-context\2.1.0.RC2\spring-cloud-context-2.1.0.RC2.jar;D:\maven\tem\org\springframework\security\spring-security-crypto\5.1.2.RELEASE\spring-security-crypto-5.1.2.RELEASE.jar;D:\maven\tem\org\springframework\cloud\spring-cloud-commons\2.1.0.RC2\spring-cloud-commons-2.1.0.RC2.jar;D:\maven\tem\org\springframework\security\spring-security-rsa\1.0.7.RELEASE\spring-security-rsa-1.0.7.RELEASE.jar;D:\maven\tem\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;D:\maven\tem\org\bouncycastle\bcprov-jdk15on\1.60\bcprov-jdk15on-1.60.jar;D:\maven\tem\org\springframework\cloud\spring-cloud-config-client\2.1.0.RC2\spring-cloud-config-client-2.1.0.RC2.jar;D:\maven\tem\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;D:\maven\tem\com\fasterxml\jackson\core\jackson-databind\2.9.7\jackson-databind-2.9.7.jar;D:\maven\tem\com\fasterxml\jackson\core\jackson-core\2.9.7\jackson-core-2.9.7.jar;D:\maven\tem\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;D:\maven\tem\org\springframework\spring-core\5.1.3.RELEASE\spring-core-5.1.3.RELEASE.jar;D:\maven\tem\org\springframework\spring-jcl\5.1.3.RELEASE\spring-jcl-5.1.3.RELEASE.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.5\lib\idea_rt.jar" com.dotoyo.springcloud.Application
Connected to the target VM, address: '127.0.0.1:50162', transport: 'socket'
2018-12-18 14:14:26.287  INFO 6784 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$19787c24] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.1.RELEASE)

2018-12-18 14:14:26.553  INFO 6784 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:8888/
2018-12-18 14:14:28.351  INFO 6784 --- [           main] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=config-client, profiles=[dev2], label=master, version=00d32612a38898781bce791a4a845e60a7fbdb4e, state=null
2018-12-18 14:14:28.352  INFO 6784 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name='configService', propertySources=[MapPropertySource {name='configClient'}]}
2018-12-18 14:14:28.357  INFO 6784 --- [           main] com.dotoyo.springcloud.Application       : No active profile set, falling back to default profiles: default
2018-12-18 14:14:28.777  INFO 6784 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=4a1a0b1c-4d64-3418-9eda-9246b6b2fd56
2018-12-18 14:14:28.796  INFO 6784 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$19787c24] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-12-18 14:14:29.067  INFO 6784 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8890 (http)
2018-12-18 14:14:29.087  INFO 6784 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-12-18 14:14:29.087  INFO 6784 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/9.0.13
2018-12-18 14:14:29.093  INFO 6784 --- [           main] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\Program Files\Java\jdk1.8.0_101\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;D:\maven\apache-maven-3.2.5\bin;D:\nginx-1.11.2;C:\Program Files\nodejs\;D:\subversion\bin;C:\Git\cmd;D:\ant\apache-ant-1.10.5-bin\apache-ant-1.10.5\bin;Z:\gradle-4.10-rc-1\bin;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;C:\Users\LENOVO\AppData\Roaming\npm;C:\Program Files\Microsoft VS Code\bin;C:\Users\LENOVO\AppData\Local\Programs\Fiddler;.]
2018-12-18 14:14:29.212  INFO 6784 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2018-12-18 14:14:29.212  INFO 6784 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 840 ms
2018-12-18 14:14:29.263  WARN 6784 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'application': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'foo' in value "${foo}"
2018-12-18 14:14:29.263  INFO 6784 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2018-12-18 14:14:29.275  INFO 6784 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2018-12-18 14:14:29.287 ERROR 6784 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'application': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'foo' in value "${foo}"
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:380) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1378) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:575) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) ~[spring-context-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) ~[spring-context-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.1.RELEASE.jar:2.1.1.RELEASE]
	at com.dotoyo.springcloud.Application.main(Application.java:17) [classes/:na]
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'foo' in value "${foo}"
	at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172) ~[spring-core-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) ~[spring-core-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237) ~[spring-core-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211) ~[spring-core-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) ~[spring-context-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:851) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1185) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1164) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374) ~[spring-beans-5.1.3.RELEASE.jar:5.1.3.RELEASE]
	... 17 common frames omitted

Disconnected from the target VM, address: '127.0.0.1:50162', transport: 'socket'

Process finished with exit code 1

 

 

发生上述异常原因,是配置bootstrap.properties文件;项目启动时,动态获取了配置中心的属性,profile+spring.application.name+lable确定了配置文件,所以看看config-server发布的配置文件,和 config-client是否对应上了;

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Could not resolve placeholder 'foo' in value "${foo}" 解决方法 的相关文章

随机推荐

  • 《暗黑世界》《烽烟OL》服务器端零基础架设图文教程!

    欢迎来9秒 www 9miao com python基础环境搭建 window下环境变量设置 设置后可以方便的使用python命令行 以及python路径下的Script工具 1 python的安装路径 2 python script 工具
  • roc-rk3588s-pc镜像 增加 rtl8188eu驱动

    在调试过程 得到天启厂家戴工的大力帮助 写在最前面表示感谢 硬件 1 firefly单板 roc rk3588s pc 2 wifi硬件 comfast 软件 ubuntu 20 04 软件安装 1 从firefly官网下载linux he
  • 想在线编程么,这几个在线代码编辑器网站适合你

    今天给大家推荐几个可以在线编程的网站 对于大部分开发者可能会不屑使用在线的网站 认为在自己电脑安装环境不是很简单的事情么 但是你很有可能临时需要一台电脑去测试一段简单的代码 也有可能想要分享一段代码给别人 也有可能你想要学习很多语言 又不想
  • 更改wsl中系统的安装位置

    wsl默认安装位置是C盘 众所周知C盘总是不够用的 所以才有了把wsl的系统迁移到其它位置的需求 官网文档 首先查看所有分发版本 wsl l all v 列出已安装的Linux发行版 wsl list verbose 导出分发版为tar文件
  • NGUI扩展之 图片置灰

    需求置灰 在属性 面板添加一个小功能 置灰属性 设计思路很简单 就是通过勾选或者不勾选 实现置灰 或者不置灰 包括对scroview的置灰等等 效果预览 代码分析 实际上 在NGUI中 所有需要渲染的 物体 都继承自 wight 而编辑器
  • uni-app开发微信小程序修改微信原生组件样式不生效(踩坑)

    在子组件中使用微信原生组件 通过在子组件内通过局部样式修改微信原生组件样式 发现在父组件中显示时修改的样式并不生效 例如
  • 【旋转字符串的四种方法】

    目录 前言 一 题目描述 二 题目解析 一 依次左旋 二 创建中间数组 三 三次倒置 四 接长数组 总结 前言 来源 力扣 LeetCode 旋转字符串 一 题目描述 题目描述 字符串的左旋转操作是把字符串前面的若干个字符转移到字符串的尾部
  • 全网最全Python项目体系练习500例(附源代码),练完可就业系列

    1 有一个jsonline格式的文件file txt大小约为10K 2 补充缺失的代码 3 输入日期 判断这一天是这一年的第几天 4 打乱一个排好序的list对象alist 5 现有字典 d a 24 g 52 i 12 k 33 请按va
  • Python 控制台 窗口 布局乱了

    使用的过程中不小心手贱 移动了窗口 把窗口独立出来了 看着比较别扭 点击左上角debug按键后 会在左下角出来如下图片 选择中间三个方块按键 恢复布局 之前乱了的窗口 就变成初始化状态了
  • QGIS 栅格数据裁剪(扣除)

    利用QGIS 以矢量数据范围来扣除栅格数据中的区域 其实也就是赋0值 首先 安装Easy Raster Splitter 插件 准备好矢量数据和栅格数据 打开Easy Raster Splitter 插件 Method 选择 Extract
  • 实时追踪科研动态丨谷歌、马克斯·普朗克光科学研究所等机构精选新论文

    作为科研人员 每天需要检索和浏览大量的学术文献 以获取最新的科技进展和研究成果 然而 传统的检索和阅读方式已经无法满足科研人的需求 AMiner AI 一款集检索 阅读 知识问答于一体的文献知识工具 帮助你快提高检索 阅读论文效率 获取最新
  • ABAP程序修改提示不是原始系统解决方法

    SE03修改原始系统
  • 使用corr()计算相关系数

    import pandas as pd catering sale data catering sale all xls data pd read excel catering sale index col u 日期 print data
  • AntV G6鼠标移入、单击、双击节点,获取节点信息

    如下图所示 对节点常用的事件如下图所示 主要代码 鼠标进入节点 this graph on node mouseenter e gt const nodeItem e item 获取鼠标进入的节点元素对象 console log 鼠标移入
  • 搭建前后端完整结构

    文章目录 一 搭建后端完整结构 1 后端结构说明 1 1 后端作用 1 2 代码结构 1 3 后端测试要求 1 4 编辑 UserController 1 5 编辑UserService UserServiceImpl 1 6 页面展示效果
  • 聚合函数与窗口函数

    聚合函数 回答一 聚合函数 Aggregate Functions 是SQL中的函数 用于对一组数据进行计算 并返回单个结果 聚合函数通常用于统计和汇总数据 包括计算总和 平均值 计数 最大值和最小值等 以下是一些常见的聚合函数 SUM 计
  • myQsort()排序函数

    题目说明 实现一个函数myQsort 可以对Int char 字符串或者其他类型进行排序的函数 提示函数只需要提供排序方法 比较方法通过函数指针 让用户自定义 示例代码 include
  • 100天精通Python(爬虫篇)——第44天:常用爬虫requests模块基础+代码实战

    文章目录 一 request模块大总结 1 下载安装 2 常用属性或方法 3 response text和response content的区别 4 发送带headers参数请求 5 发送带参数请求 6 在headers参数中携带cooki
  • [Linux] linux系统安装git

    目录 前言 一 git的安装方式 二 git 安装流程 2 1 解压下载的压缩包 三 配置Git 3 1 配置git名字和邮箱 3 2 查看名字和邮箱 四 总结 前言 Git是一种分布式版本控制系统 广泛用于软件开发和版本管理 它可以跟踪文
  • Could not resolve placeholder 'foo' in value "${foo}" 解决方法

    D Program Files Java jdk1 8 0 101 bin java agentlib jdwp transport dt socket address 127 0 0 1 50162 suspend y server n