The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events