Home > Back-end >  Idea2019.3 import springCloud project all annotations, can't find the package
Idea2019.3 import springCloud project all annotations, can't find the package

Time:09-23

For help, idea2019.3 import springCloud project all annotations, can not find a package, don't identify resource files, have you tried online way, all not line, separate spring boot project can be identified, including multiple modules of spring can also identify the boot project, just don't recognize the spring cloud project, has been in the network looking for 3 to fill the answer, the following phenomenon



Manually specify the package, all annotations, project code that's right, has encountered several projects that


CodePudding user response:

Led package problem. Look at your maven

CodePudding user response:

You look like gradle that this project but the gradle under each module configuration file, not the file or the idea did not identify the words will not solve the problem of dependence, also will explode red
Project is others words is best directly open the other party to provide project rather than import

CodePudding user response:

refer to the second floor dmankill response:
you look like gradle that this project but the gradle under each module configuration file, not the file or the idea did not identify the words will not solve the problem of dependence, also will explode red
Project is others words is best directly open the other party to provide project rather than import


That's right, is really a gradle project, I had been using maven, also is the first time contact gradle project, the project address: https://gitee.com/xubinux/xbin-store-cloud? _from=gitee_search, but I'm importing maven is the same, I took several distributed malls open source projects, maven, whether in the import or directly open is full annotations to red, including @ SpringBootApplication, many people say online guide package problem, but I don't feel may not even guide the annotations

CodePudding user response:

reference 1st floor luckyZQC response:
guide package, take a look at your maven


Sleep to not guide package problems, a single springboot project is no problem, if it is a guide package problem, can't even @ SpringBootApplication annotations guide is not enough, so also can't be all annotations guide

CodePudding user response:

You don't guide in package, note how can find

CodePudding user response:

refer to 6th floor luckyZQC response:
package didn't lead you into, note how can find

The key is to guide again, whether some reimport or manually import, all useless ah, say you said package didn't guide in several packages didn't guide in my letter, it is impossible to all packages don't go in

CodePudding user response:

. So I said look at your maven repository on

CodePudding user response:

refer to the eighth floor luckyZQC response:
... So I said look at your maven repository on

As I said, a single springboot project no problem, so the library must be connected

CodePudding user response:

references 9 f mr_wang1234 response:
Quote: refer to the eighth floor luckyZQC response:

. So I said look at your maven repository on

As I said, a single springboot project no problem, so, the library must be connected

Have the idea to properly identify gradle file, my side open this project with version 2020.1 test everything is normal, just for the first time will be very slow, need to download the dependent package with gradle

CodePudding user response:





references to the tenth floor dmankill response:
Quote: references 9 f mr_wang1234 response:

Quote: refer to the eighth floor luckyZQC response:

. So I said look at your maven repository on

As I said, a single springboot project no problem, so, the library must be connected

Have the idea to properly identify gradle file, my side open this project with version 2020.1 test everything is normal, just for the first time will be very slow, need to download the dependent package with gradle


Gradle, local use need not installed with gradle environment variables, my first contact with gradle

CodePudding user response:

11 references mr_wang1234 response:
Quote: reference to the tenth floor dmankill response:

Quote: references 9 floor mr_wang1234 response:

Quote: refer to the eighth floor luckyZQC response:

. So I said look at your maven repository on

As I said, a single springboot project no problem, so, the library must be connected

Have the idea to properly identify gradle file, my side open this project with version 2020.1 test everything is normal, just for the first time will be very slow, need to download the dependent package with gradle


Local use need not install gradle, configuration gradle environment variables, and for the first time I contact gradle

Don't have to install, open the gradle engineering idea will automatically download gradle, but can be very slow

CodePudding user response:

refer to 12 floor dmankill reply:
Quote: reference 11 floor mr_wang1234 response:





The
Quote: reference to the tenth floor dmankill response:

Quote: references 9 floor mr_wang1234 response:

Quote: refer to the eighth floor luckyZQC response:

. So I said look at your maven repository on

As I said, a single springboot project no problem, so, the library must be connected

Have the idea to properly identify gradle file, my side open this project with version 2020.1 test everything is normal, just for the first time will be very slow, need to download the dependent package with gradle


Local use need not install gradle, configuration gradle environment variables, and for the first time I contact gradle

Don't have to install, open the gradle engineering idea will automatically download gradle, but can be very slow


I also in the download, 3 q

CodePudding user response:

null
  • Related