zoukankan      html  css  js  c++  java
  • github导入springboot maven项目

    1、在GitHub里force喜欢的项目,获取GitHub项目地址,eclipse---import---project from git---clone uri---next---finish,项目下载完后右键项目import---existing maven projects变成maven项目,有的项目parent要configure---convert to maven project;

    2、每个子项目要maven clean 和maven install,报jre or jdk错误时,要把jre换成jdk,如下图

    报org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'helloWorldSpringBoot': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'name' in value "${name}"

    错误时,解决办法:parent项目convert to maven project ,然后maven clean 和 maven install。

    3、数据库配置改了后启动项目

  • 相关阅读:
    【心情】codeforces涨分啦!
    redis
    rabbitmq
    lucene
    MongoDB
    负载均衡
    分布式存储
    Memcache
    websocket
    Remoting
  • 原文地址:https://www.cnblogs.com/mjbrian/p/9327621.html
Copyright © 2011-2022 走看看