Category Archives: How to Fix

Python installation problem: error: Command erred out with exit status 1:

Try to run this command from the system terminal. Make sure that you use the correct version of ‘PIP’ installed for your Python interpreter located at “C: \ Users \ \ PycharmProjects \ pythonProject \ 123 venv \ Scripts \ python exe. ‘

this problem occurs because the Python version installed is relatively new and there is no PIP for the corresponding version. The solution is to install the older version. The author installed version 3.9, and the problem of installing version 3.8 is solved.

New fields in hive table and modification of field comments

hive table new field, modify field comment

(1) create test table:

use mart_flow_test;

create table if not exists mart_flow_test.detail_flow_test

(

union_id string comment ‘device unique id’

) comment ‘test table’

partitioned by (

partition_date string comment ‘log generation date’

) stored as orc;

(2) new field: use mart_flow_test;

alter table detail_flow_test add columns(original_union_id string);

(3) modification comment: use mart_flow_test;

alter table detail_flow_conversion_base_raw change column original_union_id original_union_id string COMMENT’ original device unique id ‘;

How to search files or folders in Ubuntu

1. Whereis + filename

is used to search the program name. The search results are limited to binary files (parameter -b), man description files (parameter -m), and source code files (parameter -s). If the parameters are omitted, all information is returned.



2. The find/name + filename

find is in the specified directory through the search, if the directory using/means in all directories to find, find way to find the file is expensive, the speed is a little slower.



3. Locate + filename
Linux will record all the files in the system in a database file. The method of using locate+ file name will find the target in the database maintained by Linux system. Compared with the way of find command to traverse the disk to find, this method is much more efficient.


The problem with

is that the database files are not updated in real time and are typically updated weekly, so the results found with the locate command may not be accurate. You can of course update the database with the updatedb command before using locate to ensure that the results are correct.


4. Which + executable file name

wh0 ich 0 ich

0.

.


, so basic function is to look for executable files in the directory set by the environment variable $PATH.


Android:More than one file was found with OS independent path ‘res/values/values.xml

More than one file was found with OS independent path ‘res/values/values.xml
More than one file was found with OS independent path ‘res/values/values.xml

analysis question:
1. First, according to the error report diary: this is due to the same name of the resource file is repeated, so the system compilation time can not identify which file to load; 2. Then, follow the train of thought, go to the global search to see if your own resource file or the jar, aar or resource file used for guidance has more than one resource file with diary error; 3. After searching, it was found that multiple files with the same name did exist in the imported aar package:

4. So now that the cause of the problem has been identified, the problem is how to solve it.

According to the advice of most people on the Internet, there are mainly the following kinds:
1. Find the corresponding resource file and change the name (this method depends on the size of the project, the number of conflicting files, or only one or two resource files, find out and change the following, o; However, if there are too many conflicting files, this method is not recommended); 2. Exclude files or directories from APK, act on APK, and do not filter aar and jar contents:

...
android{
    packagingOptions {
        exclude 'res/values/values.xml'
        exclude 'libs/loginsdk1.0.4-release.aar/res/values/values.xml'
    }
}
...

exclude is the path of the file to be filtered. This method is straightforward, simple, and the method most people use.
3. Similar to method 2: packagingOptions USES pickFirst, matches to multiple identical files, and extracts only the first. APK only, files in AAR and JAR cannot be filtered.
for example:

...
android{
    packagingOptions {
//        pickFirst 'res/values/values.xml'
//        pickFirst 'AndroidManifest.xml'
    }
    }
    ...

4. However, when we are referenced by the three parties jar packages or aar resource file, can’t modify repeatedly named resource file, at the same time, although the same name, but the file content is different, several methods obviously cannot solve the problem, therefore, at this time, we can bold guess: since packagingOptions configuration items can filter files, extract, etc., will it be all right if we can be repeated by identifying the complete name of a resource file, and then let the system to extract, or, we can also make duplicate naming files to merge?And, along the way of thinking, I baidu about gradle configuration items packagingOptions instructions
gradle configuration items packagingOptions instructions
from this post, so he found a solution:
the merge, will match the files are added to the APK, contrary to some pickFirst, will merge all files
so, combine the duplicate files:

android{
    packagingOptions {
        merge 'res/values/values.xml'
        merge 'AndroidManifest.xml'
        merge 'res/drawable/login_bg.xml'
        merge 'R.txt'
        merge 'classes.jar'
    }
    }

finally, compile, pass.

:
sometimes encounter problems, according to the online most people encounter similar problems and offer you the train of thought, if not solve, can follow the same train of thought to further try, maybe problem solved, such as: from gradle configuration items packagingOptions use of filtering, extracting, if still can’t solve problems, you can follow the train of thought, guess packagingOptions whether there will be other use method, to try, maybe can solve problem. Of course, I don’t know if using this Merg will cause any other problems. I also welcome your advice. thank you

Vue3 uses webpack bundle analyzer to analyze package files

1, install
NPM install -- save-dev webpack-bundle-analyzer
2, configure
vue.config.js

// 引入分析包文件
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;

	// 开发生产共同配置
    config.plugins.push(
      new BundleAnalyzerPlugin({
        analyzerMode: 'server',
        analyzerHost: '127.0.0.1',
        analyzerPort: 8888,
        reportFilename: 'report.html',
        defaultSizes: 'parsed',
        openAnalyzer: true,
        generateStatsFile: false,
        statsFilename: 'stats.json',
        statsOptions: null,
        logLevel: 'info'
      })
    )

3, add

to scripts in package.json file

"analyz": "NODE_ENV=production npm_config_report=true npm run build"

4, just run, he will automatically open the analysis page

Java String.split () special character processing

introduction

  • JDK 1.8

    split function

    notice that the split function takes a regular expression as an argument. The split function is defined as:

    /**
     * Splits this string around matches of the given <a
     * href="../util/regex/Pattern.html#sum">regular expression</a>.
     *
     * <p> This method works as if by invoking the two-argument {@link
     * #split(String, int) split} method with the given expression and a limit
     * argument of zero.  Trailing empty strings are therefore not included in
     * the resulting array.
     *
     * <p> The string {@code "boo:and:foo"}, for example, yields the following
     * results with these expressions:
     *
     * <blockquote><table cellpadding=1 cellspacing=0 summary="Split examples showing regex and result">
     * <tr>
     *  <th>Regex</th>
     *  <th>Result</th>
     * </tr>
     * <tr><td align=center>:</td>
     *     <td>{@code { "boo", "and", "foo" }}</td></tr>
     * <tr><td align=center>o</td>
     *     <td>{@code { "b", "", ":and:f" }}</td></tr>
     * </table></blockquote>
     *
     *
     * @param  regex
     *         the delimiting regular expression
     *
     * @return  the array of strings computed by splitting this string
     *          around matches of the given regular expression
     *
     * @throws  PatternSyntaxException
     *          if the regular expression's syntax is invalid
     *
     * @see java.util.regex.Pattern
     *
     * @since 1.4
     * @spec JSR-51
     */
    public String[] split(String regex) { ... }
    

    special symbol processing

    The

    split function takes a regular expression as an argument, so special processing is required when the special symbol of the regular expression is used as a delimiter.

    For example, . is a wildcard in regular expressions, and matches any single character except for line breaks (\n, \r).

    can be handled in two ways for special symbols:

    • escaped. For example, \.
    • put it in brackets. For example, the [.]
      Example

      String[] s1 = "a.b.c".split("\\.");
      System.out.println(Arrays.asList(s1)); //[a, b, c]
      
      String[] s2 = "a.b.c".split("[.]");
      System.out.println(Arrays.asList(s2)); //[a, b, c]
      

      Reference

      https://www.runoob.com/regexp/regexp-metachar.html

Error: java.lang.IllegalArgumentExcept :Property ‘sqlSessionFactory‘ or ‘sqlSessionTemplate‘ are required

conclusion: there was an error when the blogger was manually adding jar packages to the maven repository. The error was resolved by removing the dependent folder.

today to upload in ali cloud vod video, there is a jar package ali did not open source, need to manually introduced, when I was in the jar package is added to the maven, jar package name wrong, lead to the name of the folder and jar package name do not match, and then in the evening, there is a module was first started, to start the other modules, so the error, and then stop and then restart the start up of module, also not line, so I think it’s not code, after a search, see some people say that the JDK jar package might be the problem, I also touched the JDK and thought I had touched maven. Sure enough, once deleted, it was normal


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eduChapterMapper' defined in file [F:\wmjava\guli_school\target\classes\com\wm\eduService\mapper\EduChapterMapper.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
	... 33 common frames omitted
Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
	at org.springframework.util.Assert.notNull(Assert.java:201)
	at org.mybatis.spring.support.SqlSessionDaoSupport.checkDaoConfig(SqlSessionDaoSupport.java:122)
	at org.mybatis.spring.mapper.MapperFactoryBean.checkDaoConfig(MapperFactoryBean.java:73)
	at org.springframework.dao.support.DaoSupport.afterPropertiesSet(DaoSupport.java:44)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790)
	... 43 common frames omitted

Translate() and maketrans() methods of string in Python

Explained

use translate to replace specific characters in a string, such as 12345 for aeiou. Using translate requires the maketrans method to build the replacement table
note: python2’s maketrans method needs to be imported, whereas python3 is built in. In python3, using the syntax of python2 to import: ImportError: cannot import name ‘maketrans’

str.maketrans()

python document interpretation

Help on built-in function maketrans in str:

str.maketrans = maketrans(...)
    Return a translation table usable for str.translate().

    If there is only one argument, it must be a dictionary mapping Unicode
    ordinals (integers) or characters to Unicode ordinals, strings or None.
    Character keys will be then converted to ordinals.
    If there are two arguments, they must be strings of equal length, and
    in the resulting dictionary, each character in x will be mapped to the
    character at the same position in y. If there is a third argument, it
    must be a string, whose characters will be mapped to None in the result.

str.translate()

python document interpretation

Help on method_descriptor in str:

str.translate = translate(self, table, /)
    Replace each character in the string using the given translation table.
    
      table
        Translation table, which must be a mapping of Unicode ordinals to
        Unicode ordinals, strings, or None.
        
The table must implement lookup/indexing via __getitem__, for instance a
    dictionary or list.  If this operation raises LookupError, the character is
    left untouched.  Characters mapped to None are deleted.

Example

replace aeiou with 12345


trantab = str.maketrans("aeiou", "12345")

print ("EXAMPLE:aeiou".translate(trantab))

Output

is

EXAMPLE:12345

Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block collection

Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\LANCE_SYSTEM_TOOLS\Tools\After_Tools\JetBrains\IntelliJIDEA2020.1.1\lib\idea_rt.jar=4156:D:\LANCE_SYSTEM_TOOLS\Tools\After_Tools\JetBrains\IntelliJIDEA2020.1.1\bin -Dfile.encoding=UTF-8 -classpath D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\charsets.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\deploy.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\access-bridge-64.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\cldrdata.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\dnsns.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\jaccess.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\jfxrt.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\localedata.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\nashorn.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\sunec.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\sunjce_provider.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\sunmscapi.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\sunpkcs11.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\ext\zipfs.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\javaws.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\jce.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\jfr.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\jfxswt.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\jsse.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\management-agent.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\plugin.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\resources.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Java\Java_1.8.0_131\jre\lib\rt.jar;E:\Java\IDEA\SpringCloud\cloud-gateway\target\classes;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-starter-gateway\2.2.3.RELEASE\spring-cloud-starter-gateway-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-starter\2.2.3.RELEASE\spring-cloud-starter-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-context\2.2.3.RELEASE\spring-cloud-context-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\security\spring-security-crypto\5.3.2.RELEASE\spring-security-crypto-5.3.2.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-commons\2.2.3.RELEASE\spring-cloud-commons-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\security\spring-security-rsa\1.0.9.RELEASE\spring-security-rsa-1.0.9.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\bouncycastle\bcpkix-jdk15on\1.64\bcpkix-jdk15on-1.64.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-gateway-core\2.2.3.RELEASE\spring-cloud-gateway-core-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter-validation\2.3.0.RELEASE\spring-boot-starter-validation-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\hibernate\validator\hibernate-validator\6.1.5.Final\hibernate-validator-6.1.5.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\projectreactor\addons\reactor-extra\3.3.3.RELEASE\reactor-extra-3.3.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\projectreactor\reactor-core\3.3.5.RELEASE\reactor-core-3.3.5.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter-webflux\2.3.0.RELEASE\spring-boot-starter-webflux-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter-json\2.3.0.RELEASE\spring-boot-starter-json-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.0\jackson-datatype-jdk8-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.0\jackson-datatype-jsr310-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.0\jackson-module-parameter-names-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter-reactor-netty\2.3.0.RELEASE\spring-boot-starter-reactor-netty-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\projectreactor\netty\reactor-netty\0.9.7.RELEASE\reactor-netty-0.9.7.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-codec-http\4.1.49.Final\netty-codec-http-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-common\4.1.49.Final\netty-common-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-buffer\4.1.49.Final\netty-buffer-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-transport\4.1.49.Final\netty-transport-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-codec\4.1.49.Final\netty-codec-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-codec-http2\4.1.49.Final\netty-codec-http2-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-handler\4.1.49.Final\netty-handler-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-resolver\4.1.49.Final\netty-resolver-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-handler-proxy\4.1.49.Final\netty-handler-proxy-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-codec-socks\4.1.49.Final\netty-codec-socks-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-transport-native-epoll\4.1.49.Final\netty-transport-native-epoll-4.1.49.Final-linux-x86_64.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\netty\netty-transport-native-unix-common\4.1.49.Final\netty-transport-native-unix-common-4.1.49.Final.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-web\5.2.6.RELEASE\spring-web-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-beans\5.2.6.RELEASE\spring-beans-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-webflux\5.2.6.RELEASE\spring-webflux-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\synchronoss\cloud\nio-multipart-parser\1.1.0\nio-multipart-parser-1.1.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\synchronoss\cloud\nio-stream-storage\1.1.3\nio-stream-storage-1.1.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\2.2.3.RELEASE\spring-cloud-starter-netflix-eureka-client-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-netflix-hystrix\2.2.3.RELEASE\spring-cloud-netflix-hystrix-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-autoconfigure\2.3.0.RELEASE\spring-boot-autoconfigure-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter-aop\2.3.0.RELEASE\spring-boot-starter-aop-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-aop\5.2.6.RELEASE\spring-aop-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.2.3.RELEASE\spring-cloud-netflix-eureka-client-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\eureka\eureka-client\1.9.21\eureka-client-1.9.21.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\joda-time\joda-time\2.3\joda-time-2.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\google\guava\guava\29.0-android\guava-29.0-android.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\checkerframework\checker-compat-qual\2.5.5\checker-compat-qual-2.5.5.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\apache\httpcomponents\httpclient\4.5.12\httpclient-4.5.12.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\commons-codec\commons-codec\1.14\commons-codec-1.14.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\commons-configuration\commons-configuration\1.10\commons-configuration-1.10.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.11.0\jackson-annotations-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\core\jackson-core\2.11.0\jackson-core-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\core\jackson-databind\2.11.0\jackson-databind-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.11.0\jackson-dataformat-xml-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.11.0\jackson-module-jaxb-annotations-2.11.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\codehaus\woodstox\stax2-api\4.2\stax2-api-4.2.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\fasterxml\woodstox\woodstox-core\5.3.0\woodstox-core-5.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\eureka\eureka-core\1.9.21\eureka-core-1.9.21.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.2.3.RELEASE\spring-cloud-starter-netflix-archaius-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-netflix-ribbon\2.2.3.RELEASE\spring-cloud-netflix-ribbon-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-netflix-archaius\2.2.3.RELEASE\spring-cloud-netflix-archaius-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.2.3.RELEASE\spring-cloud-starter-netflix-ribbon-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-starter-loadbalancer\2.2.3.RELEASE\spring-cloud-starter-loadbalancer-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\cloud\spring-cloud-loadbalancer\2.2.3.RELEASE\spring-cloud-loadbalancer-2.2.3.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter-cache\2.3.0.RELEASE\spring-boot-starter-cache-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-context-support\5.2.6.RELEASE\spring-context-support-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\stoyanr\evictor\1.0.0\evictor-1.0.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\netflix\ribbon\ribbon-eureka\2.3.0\ribbon-eureka-2.3.0.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\com\thoughtworks\xstream\xstream\1.4.11.1\xstream-1.4.11.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter\2.3.0.RELEASE\spring-boot-starter-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot\2.3.0.RELEASE\spring-boot-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-context\5.2.6.RELEASE\spring-context-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-expression\5.2.6.RELEASE\spring-expression-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\boot\spring-boot-starter-logging\2.3.0.RELEASE\spring-boot-starter-logging-2.3.0.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\apache\logging\log4j\log4j-to-slf4j\2.13.2\log4j-to-slf4j-2.13.2.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\apache\logging\log4j\log4j-api\2.13.2\log4j-api-2.13.2.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-core\5.2.6.RELEASE\spring-core-5.2.6.RELEASE.jar;D:\LANCE_SYSTEM_TOOLS\Configuration\Maven\repository\org\springframework\spring-jcl\5.2.6.RELEASE\spring-jcl-5.2.6.RELEASE.jar com.springboot.CloudGatewayApplication
2020-06-07 11:12:17.927 ERROR 14380 --- [           main] o.s.boot.SpringApplication               : Application run failed

java.lang.IllegalStateException: Failed to load property source from 'file:/E:/Java/IDEA/SpringCloud/cloud-gateway/target/classes/application.yml' (classpath:/application.yml)
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:554) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadForFileExtension(ConfigFileApplicationListener.java:499) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:469) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$null$7(ConfigFileApplicationListener.java:448) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_131]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$load$8(ConfigFileApplicationListener.java:448) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_131]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:445) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.lambda$load$0(ConfigFileApplicationListener.java:348) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.FilteredPropertySource.apply(FilteredPropertySource.java:54) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:336) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:226) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:210) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:200) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:188) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:80) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:345) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at com.springboot.CloudGatewayApplication.main(CloudGatewayApplication.java:15) [classes/:na]
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block collection
 in 'reader', line 7, column 9:
            - id: CLOUD-PROVIDER-MOVIE     # ... 
            ^
expected <block end>, but found '?'
 in 'reader', line 8, column 9:
            uri: http://localhost:9000   # 配 ... 
            ^

	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:516) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:208) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:95) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.constructor.BaseConstructor.getData(BaseConstructor.java:134) ~[snakeyaml-1.26.jar:na]
	at org.yaml.snakeyaml.Yaml$1.next(Yaml.java:494) ~[snakeyaml-1.26.jar:na]
	at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:160) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:134) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE]
	at org.springframework.boot.env.OriginTrackedYamlLoader.load(OriginTrackedYamlLoader.java:75) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:50) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadDocuments(ConfigFileApplicationListener.java:608) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:524) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
	... 25 common frames omitted


Process finished with exit code 1

solution :

  1. check whether the node directory level in the yml configuration file checks

against its

  • YAML, yml online editor (validator)
  • Debian using networking to restart the network can not start the solution of network card

    cause: > today’s work required to configure a DNS server for the wireless terminal configuration host test (of course, you can buy a wireless router that can match host, please skip it). Then I set up a DNS server with debian7.5. Every time I configure and restart networking ( service networking restart), the network card could not be started and then there was no way. I went to ifup eth0 to start my network card, but I don’t know why it is like this. Before, ubuntu can be restarted directly. So services networking restart comes again
    try to find a way, first in the computer room to see, there is an alarm, but the server room does not take a browser, can not be copied. Start the network card first. Then go back to your office and get the log with the following command, and search for it all at once

    service networking restart >>log.txt &&ifup eth0

    Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces … (warning).

    Reconfiguring network interfaces… Reloading /etc/samba/smb.conf: smbd only.

    done.

    the answer is

    in the first Google post

    http://am-blog.no-ip.org/BlogEngine/post/2013/12/26/Networking-restart-is-deprecated-because-it-may-not-enable-again-some-interfaces.aspx

    The reason is that/etc/init.d/networking uses the program “ifup-a”. This starts only network interfaces that are marked with “auto”.

    This means that the previous command to restart the network is equivalent to using ifup-a, but only starts network devices with auto fields in interfaces by default. The solution is to add the eth0 field as




    try it again, done.