When deploying services on Linux, a large number of packages were thrown and no exception was found
[ERROR] /home/jenkins/agent/workspace/pipeline_p-h6sbk-4/src/main/java/com/UserServiceImpl.java:[3,28] package com.alibaba.fastjson does not exist
[ERROR] /home/jenkins/agent/workspace/pipeline_p-h6sbk-4/src/main/java/com/User.java:[9,2] cannot find symbol
[ERROR] symbol: class Data
[ERROR] location: class com.xxx
[ERROR] /home/jenkins/agent/workspace/pipeline_p-h6sbk-4/src/main/java/com/User.java:[3,14] package lombok does not exist
[ERROR] /home/jenkins/agent/workspace/pipeline_p-h6sbk-4/src/main/java/com/User.java:[9,2] cannot find symbol
[ERROR] symbol: class Data
[ERROR] location: class com.xxx
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
This is Maven’s problem
- check whether the settings.xml file is configured. Check & lt; in the settings.xml file; localRepository> If the path is configured correctly, & lt; mirror> Whether the image address is correct and the network is unblocked. Whether the jar package and the corresponding version exist in Maven warehouse. Whether the Maven version configured in pom.xml corresponds to the Linux Installation version ol>
Read More:
- Maven compilation error: package does not exist jar package does not exist
- Idea Maven project uses package to package and report error (package does not exist)
- IntelliJ idea error: package not found or symbol not found
- Idea project prompt: symbol not found or package does not have a solution
- Idea error: (4, 28) Java: package com.alibaba.fastjson does not exist
- 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
- As Error:Failed to find configured root that contains /storage/emulated/0/xxx/xxx/xxx.png
- package R does not exist
- Failed to load bundle…Unable to resolve module `xxx` from xxx: Module `xx` does not exist
- Prompt “XXX is” when debugging real machine busy:Processing symbol Files “and” Xcode will continue when XXX is finished“
- Error: package android.support.annotation Does not exist
- dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
- Idea error: (4, 46) Java: package org.springframework.boot . autoconfigure does not exist problem solving
- devtools Error: Could not find package root
- What to do when idea Maven package appears could not find artifact xxxxx!
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- Duplicate class com.xxx.xxx Find in modules problem solving (Aidl interdependence problem)
- The installation of ThinkPHP reported an error. Could not find package topthink / think with stability stable
- Error LNK2019: unresolved external symbol_ Main the symbol is in the function___ Tmaincrtstartup
- Solutions to the problem of “symbol lookup error xxxxx, undefined symbol”