Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

unable to find package error found during build

Aaron Law
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 23, 2020

when parsing, i noticed error keyword on the left such as:

build	24-Aug-2020 14:04:21	[INFO] Changes detected - recompiling the module!
build	24-Aug-2020 14:04:21	[INFO] Compiling 449 source files to /opt/bamboo/xml-data/build-dir/SMT-SMTCOR-SMTCOR/target/classes
error	24-Aug-2020 14:04:22	[parsing started RegularFileObject[/opt/bamboo/xml-data/build-dir/SMT-SMTCOR-SMTCOR/src/main/java/com/smt/core/entity/OdtBuStock.java]]
error	24-Aug-2020 14:04:22	[parsing completed 66ms]

 

after parsing, it listed search path for source code and class files and showed error

error	24-Aug-2020 14:04:24	Fatal Error: Unable to find package java.lang in classpath or bootclasspath
build	24-Aug-2020 14:04:24	[INFO] -------------------------------------------------------------
build	24-Aug-2020 14:04:24	[ERROR] COMPILATION ERROR : 
build	24-Aug-2020 14:04:24	[INFO] -------------------------------------------------------------
build	24-Aug-2020 14:04:24	[ERROR] An unknown compilation problem occurred
build	24-Aug-2020 14:04:24	[INFO] 1 error
build	24-Aug-2020 14:04:24	[INFO] -------------------------------------------------------------
build	24-Aug-2020 14:04:24	[INFO] ------------------------------------------------------------------------
build	24-Aug-2020 14:04:24	[INFO] BUILD FAILURE
build	24-Aug-2020 14:04:24	[INFO] ------------------------------------------------------------------------

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events