phax / peppol-commons

Java library with shared Peppol components - identifier handling, codelists, SBDH handler, SMP Client, SML Client
Apache License 2.0
29 stars 8 forks source link

SMP-CLIENT - SMPMarshallerSignedServiceMetadataType - error #57

Closed aferrandisedicom closed 2 months ago

aferrandisedicom commented 2 months ago

When i try to create:

new SMPMarshallerSignedServiceMetadataType()

I get the next error:

com.helger.commons.state.EChange com.helger.commons.state.EChange.or(boolean)

We are currently using version 9.5.1. Any fix for this? I don't know if I am missing something.

Thanks!

phax commented 2 months ago

This seems like a problem in the dependencies. If you use peppol-commons 9.5.1 you should also be using the ph-commons 11.1.6 version. Please make sure the dependencies are all set to "latest".

aferrandisedicom commented 2 months ago

I am using 11.1.6

9.5.1 11.1.6 ``` com.helger.commons ph-commons ${ph-commons.version} com.helger.commons ph-datetime ${ph-commons.version} com.helger.commons ph-jaxb ${ph-commons.version} com.helger.peppol peppol-smp-client ${peppol-commons.version} com.helger.peppol peppol-sbdh ${peppol-commons.version} com.helger.peppol peppol-directory-businesscard ${peppol-commons.version} ``` Do you see any error? thanks!
phax commented 2 months ago

That looks all good. Do you use some other dependency from me as well? As the order is relevant in Maven dependencies, it may even be that a third library is out of date. Usually I recommend to do a mvn dependency:tree call to show the effective dependencies used. hth

aferrandisedicom commented 2 months ago

Thanks! the problem was with:

        <groupId>com.helger</groupId>
        <artifactId>ph-ubl</artifactId>

I had two different versions of peppol-commons