Giter Site home page Giter Site logo

老哥我是新手。下载下来的项目怎么不会运行呀,都是灰色的,是不是什么依赖没下载全? about spring-boot-demo HOT 5 CLOSED

xkcoding avatar xkcoding commented on May 2, 2024
老哥我是新手。下载下来的项目怎么不会运行呀,都是灰色的,是不是什么依赖没下载全?

from spring-boot-demo.

Comments (5)

zihang5127 avatar zihang5127 commented on May 2, 2024 1

右键pom.xml 应该有个maven add什么的, 你这个还不是maven项目。

from spring-boot-demo.

zj-dreamly avatar zj-dreamly commented on May 2, 2024 1

如果你IDEA装过maven的话,右边导航点maven,点加号,找到pom.xml,ok就行了

from spring-boot-demo.

xkcoding avatar xkcoding commented on May 2, 2024

maven 依赖下不下来吗?
如果是依赖下不下来,请先检查是否已经被 IDEA 认为是 maven 项目

如果不是 maven 项目
image

如果是 maven 项目
可以将 maven 的源改为阿里云的,加快依赖下载速度

from spring-boot-demo.

aLLLiyyy avatar aLLLiyyy commented on May 2, 2024

不行呀,提示Unable to import maven project: See logs for details,看下日志有一大堆,也不知道哪里问题。

  1. No implementation for org.apache.maven.model.path.PathTranslator was bound.
    while locating org.apache.maven.model.path.PathTranslator
    for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.pathTranslator(Unknown Source)
    at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)

  2. No implementation for org.apache.maven.model.path.UrlNormalizer was bound.
    while locating org.apache.maven.model.path.UrlNormalizer
    for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.urlNormalizer(Unknown Source)
    at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)

2 errors
java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors:

from spring-boot-demo.

aLLLiyyy avatar aLLLiyyy commented on May 2, 2024

如果你IDEA装过maven的话,右边导航点maven,点加号,找到pom.xml,ok就行了

你有联系方式没帮我看看怎么回事

from spring-boot-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.