The package has been imported through Maven in DEA, and the location of the package can also be located in idea, but error is always reported when compiling, and the package cannot be found.
Presumably, the reason is that the version of idea is incompatible with the build built by Maven
It is recommended to uninstall the idea and install it with another version of the idea. If you do not want to replace the idea, you can take the following measures.
The solution is as follows:
Hosting the build and run of idea under maven
When checked, recompilation can run normally
Read More:
- Does the version of idea2020.1 import mybayis jar package or report an error? Error: (4,28) Java: package org.apache.ibatis.io does not exist
- Idea Maven project uses package to package and report error (package does not exist)
- Idea error: (4, 46) Java: package org.springframework.boot . autoconfigure does not exist problem solving
- com.alibaba.fastjson .JSONException: For input string: “3000-01-01” or “9999-12-31”
- Maven compilation error: package does not exist jar package does not exist
- [error handling] idea error reporting com.alibaba.druid . pool.DruidDataSource error
- Caused by: java.lang.ClassNotFoundException: com.alibaba.nacos.api.naming.NamingMaintainService
- java.lang.AbstractMethodError: Receiver class com.alibaba.cloud.sentinel.feign.SentinelContractHolde
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- package xxx does not exist cannot find symbol
- IntelliJ idea error: package not found or symbol not found
- package R does not exist
- Idea project prompt: symbol not found or package does not have a solution
- Error: package android.support.annotation Does not exist
- Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.* signatures do not match the previously
- What to do when idea Maven package appears could not find artifact xxxxx!
- com.alibaba.druid.sql.parser.ParserException: syntax error
- Dependency frame package of Maven Alibaba JSON
- [Solved] nested exception is com.alibaba.dubbo.rpc.RpcException: Failed t o invoke the method findPage
- About starting the service, you always get stuck in com. Alibaba. Druid. Pool. Druiddatasource | {datasource-1} initiated