Class not found: javax.annotation


(Kamal Ahmed) #1

also getting:

Resource not found: a.b.c.inttest.service.ReferenceDataServiceTest

I am getting a large number of these errors when doing a gradle build of a java project.

the gradle options being used are:

-ParchiveBuildNumber=${BUILD_NUMBER}
-ParchiveRevision=${BUILD_NUMBER}
-ParchiveBranch=${NEXUS_ID}
-PcodeCoverageType=${CODE_COVERAGE_TYPE}
-Ptls.key.store=${WORKSPACE}/Apps/Shared/security/key_utils/JavaKeyStore.jks
-Ptls.trusted.store=${WORKSPACE}/Apps/Shared/security/key_utils/JavaKeyStore.jks
-PpbeKeyFile=${WORKSPACE}/Apps/Shared/Crypto/src/main/resources/pbe.dat
-Psonar.login=token
-Psonar.language=java
-Dsonar.scm.provider=git
-Pnexus=${NEXUS}
-PdbNum=${DATABASE}
-PmaxParallelForks=1
–parallel-threads=3