Open nam-np opened 2 years ago
@nam-np There is a newer version of the SPDX tools you might want to try: tools-java. There are 2 libraries the newer version uses - SPDX Java Library and spdx-java-tagvalue-store.
Here's a link to the same function in the new library: https://github.com/spdx/spdx-java-tagvalue-store/blob/d270d103942d8428a74784ddf8d57cbd430912c4/src/main/java/org/spdx/tag/CommonCode.java#L82
When I run function printDoc(), I found log:
java.lang.NoSuchMethodError: 'void org.spdx.tag.CommonCode.printDoc(org.spdx.rdfparser.model.SpdxDocument, java.io.PrintWriter, java.util.Properties)
My Environment:
Can you help me solve the problem. Thank you.