The idea compilation project always prompts that the package cannot be found. Delete the dependency in ieda, update maven, and re import. Ensure that the local warehouse location is the location of the project dependency reference

Time:2022-8-2

The idea compilation project always prompts that the package cannot be found. Delete the dependency in ieda, update maven, and re import. Ensure that the local warehouse location is the location of the project dependency reference
https://blog.csdn.net/qq_36698385/article/details/119423197

Problem description

In idea, the code does not display any error prompt, but when compiling the code, it always prompts the error message that the package XXX does not exist, and the package exists in the dependency,mavenAlso repeatedly refreshed many times, the project also installed several times after clean, and the compilation still failed

 

terms of settlement

1. Select File – > project structure in idea

2. In the project structure interface, select libraries

3. Search and query non-existent packages

4. Select the package and delete it
​​​​​​​

5. Click OK or apply after deletion

6. Refresh and re import dependencies in maven, and the problem is solved

 

Recommended Today

Introduction to js decorator (introduction to ts decorator)

reference js decorator @Decorator Decorator – Ruan Yifeng TS Decorator(2): Metadata TS Documentation – Decorators hint TypeScript has fully implemented the decorator, and the js decorator is a syntax that is still in the proposal. If you use js instead of ts, you need to configure Babel to use it. The prerequisite knowledge you need […]