java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext #110
-
I am trying out the sample code to run Authentication using self signed p12 file, just as demonstrated, however my code is failing and complaining about missing Jaxb context, I have included the correct JAXB files in my pom
If anyone can confirm if this is the correct version Also this is how I am trying to login
Error static from my unit test
As for the Token based Authentication, it is quite unclear how to start a session when you only have NIP number as I get a BAD Request ERROR, really struggling with documentation here. thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hallo, thank you for your message. The problem is in digidoc4j version - I used 5.13.RC1 in last KSeF client. Now there is stable 6.0 and it works correct with JAXB 4.x. In next few days I will release crypto-util project and update dependencies in KSeF Client. I do not understand your question about token auth - did you check Ministry of Finance documentation? You can look at samples here: https://github.com/ksef4dev/ksef-java-sample I hope it will helps. |
Beta Was this translation helpful? Give feedback.
-
New version of KSeF client ( |
Beta Was this translation helpful? Give feedback.
New version of KSeF client (
2.0.24
) is ready. I prepared small sample for digital signature login here: https://github.com/ksef4dev/digital-stamp-sample