Closed dnmilne closed 6 years ago
When attempting to run mvn install from the command line, I got the following error:
mvn install
[INFO] PatentPublicData ................................... SUCCESS [ 7.224 s] [INFO] Common ............................................. SUCCESS [ 1.779 s] [INFO] PatentDocument ..................................... FAILURE [ 2.215 s] [INFO] BulkDownloader ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.335 s [INFO] Finished at: 2018-01-10T12:05:52+11:00 [INFO] Final Memory: 33M/488M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project PatentDocument: Compilation failure [ERROR] /PatentPublicData/PatentDocument/src/test/java/gov/uspto/document/test/ValidatePatent.java:[13,33] cannot find symbol [ERROR] symbol: class EntitiesRule [ERROR] location: package gov.uspto.patent.validate
It was easily fixed by opening up the offending file:
/PatentDocument/src/test/java/gov/uspto/document/test/ValidatePatent.java
and commenting out the following unused import
import gov.uspto.patent.validate.EntitiesRule
Fixed pushed code today.
When attempting to run
mvn install
from the command line, I got the following error:It was easily fixed by opening up the offending file:
and commenting out the following unused import