The other solution is to replace the local warehouse with the Maven warehouse of idea
But I don’t want to change it. I’m afraid there will be any trouble in the future. So I see another solution: using MVN idea:idea Command
In fact, this method can solve the problem that the same kind of package cannot be imported
The solution is as follows:
1. I use terminal of idea directly. Of course, I can also use CMD, but I have to go to the location of the project (directory with POM file) first,
2. Use MVN idea:idea Command:
Finally, build success.
Then there is no error in guiding the package.
Read More:
- Idea Maven project uses package to package and report error (package does not exist)
- Idea error: (4, 28) Java: package com.alibaba.fastjson does not exist
- Maven compilation error: package does not exist jar package does not exist
- Idea error: (4, 46) Java: package org.springframework.boot . autoconfigure does not exist problem solving
- How to select the jar package version for Maven package when the jar package versions referenced by multiple modules are inconsistent
- [Solved] Import org.apache.hadoop.hbase.hbaseconfiguration package cannot be imported
- Zip to decompress the jar package, like the add file in the jar package
- IntelliJ idea error: package not found or symbol not found
- Install additional stage package for streamsets – error in cdh6.3.0 package rest API call error: java.io.eofexception
- Java project cannot import entity class package and service package, controller layer reports error, fix project setup is OK
- Local can link to the server database, upload jar package to the server will report an error
- Idea project prompt: symbol not found or package does not have a solution
- How to turn your project into a jar package in idea
- When I first learned mybatis org.apache.ibatis . binding.BindingException report errors
- Failed to import package with error: couldn’t decompress package
- Failed to get the resources path in the jar package, reporting an error null pointer
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- [Solved] org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.zyh.springboot.
- The jar package download of Maven project appears (could not transfer artifact. Org mybatis:mybatis )
- package xxx does not exist cannot find symbol