First experience of springboot stepped pit papers

        Remember before the time frame set up SSH, and what a pain. Now springboot popular, they also want to experience the experience, not the experience I do not know, the whole experience is a pit. Originally a simple matter, the official website to download maven project, import gets the job done, the results for various reasons, has a variety of error. Put the problems encountered under record it

 

  • myeclipse 10 does not support jdk 1.8 of

 

  • By start.spring official website of springboot production version is 2.1.10 maven project, is required jdk1.8 version; version of maven is also required, see the correspondence between the version: https: //blog.csdn.net/wangqing84411433/article/ details / 90634603

 

  • maven repository wanted to change the country, why should so many walls, it does not mean that knowledge without borders

 

  • If the machine is jdk1.7 version, then the version put down on spring-boot-starter-parent thing.

 

  • If the pom file what no error, but the project still have a fork, you can update maven dependencies look, check the update

 

  • Web.xml contextConfigLocation changed in the <param-value> classpath:. *** xml </ param-value> to, the following occurs if the error

 

 

  • tomcat corresponding jdk version, maven project corresponding jdk, jre version to be consistent

 

  Up to now still do not get, uncle, has been reported:

 

Guess you like

Origin www.cnblogs.com/shilimaixiang/p/11921772.html