简体   繁体   中英

Dependencies not downloaded in Spring Tool Suite

I am creating a Spring Starter Project using Spring Tool Suite. I selected JPA, Web and Derby Database dependencies. When my new project is created the src folder displays a "?" mark as shown in the screenshot. What am I missing? Why the question mark?

在此处输入图片说明

Note that there's an entry called "Maven Dependencies" right above those folders. Maven doesn't download dependencies into your project, it puts them in your local repository (generally ~/.m2/repository ).

The question marks have nothing to do with dependencies--they're Eclipse's indication that you haven't added those entries to source control. (Contrast with the mvnw and POM entries, which have a stylized disk pack to show they are in source control.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM