Skip to content

Issues in importing library and running example #8

@gesteur

Description

@gesteur

Hello,

thanks for sharing this library which can be really useful. I was struggling a bit with the installation, first I'm not sure the dependency is on maven repo, so I have installed it locally and was able to compile the example java program.
Compiling locally there were some issues as the version of the parent 2.0.0 in pom.xml is not on the repo, so had to change with version 3.0.1.
Also to get it compiling I had to specify the following dependency
<groupId>ch.dvbern.oss.iso20022</groupId> <artifactId>iso20022-ch-intf</artifactId> <version>4.3.0-SNAPSHOT</version>

because with artifactId iso20022-impl the test example didnt resolve Pain001Service and other classes.

can you please confirm that these are the correct steps?
After the above mentioned changes, I managed to get the library compiled and also calling it from a test class using the example provided with MyCDIEnabledClass, however when I run it, I get an NPE . (classNotFoundException)
the issues is with this method pain001Service.getPainFileContent, if I comment it I can execute the program, of course without any XML created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions