Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,363
Community Members
 
Community Events
168
Community Groups

unable to find package error found during build

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

Atlassian Community Events