feeding a null Library like below
throws " java.lang.NoClassDefFoundError: org/sbolstandard/libSBOLj/Library"
Library could be optional if spec allowed for it. - might require change of spec
Library library = new Library();
DnaComponent dnaComponent;
String sbolString;
dnaComponent = SBOLutil.readRichSequence(richSequence);
library.addComponent(dnaComponent);
sbolString = SBOLutil.toJson(library);