1
0
-1
1 answer
- 10-1
InfosetOutputter and all associated classes were added since rc2. You will need to use the complete 2.0.0 snapshot release to get this functionality. There are multiple jars, and you must have all of them. We are very close to having an rc3, but it is not quite done.
Add your comment...
I am attempting to parse a NITF file using the Java API for
daffodil-2.0.0-rc2
. The example code in the daffodil source code usesJDOMInfosetOutputter
as an argument to theDataProcessor.parse()
method. My code does not compile as theJDOMInfosetOutputter
class does not exist. This was confirmed upon examination of thedaffodil-japi.jar
file.I then built the daffodil-japi from source code. Not being familiar with scala and folder layout I assume the resultant JAR file (
daffodil-japi_2.11.2.0.0.0-SNAPSHOT.jar
) is located in daffodil-japi/target/scala-2.11? Using this JAR file in my application overcame the compilation errors. However, running the application resulted in aNoClassDefFoundError: /edu/illinois/ncsa/daffodil/infoset/InfosetOutputter.
Surely the class path should be/edu/Illinois/ncsa/daffodil/japi/infoset/InfosetOutputter
?It also suggests the binary distribution of RC2 is not consistent with the codebase?
I'm confused???