Replies: 3 comments
-
I think these are the relevant dependencies: https://github.com/eclipse/milo/blob/938ed51db759872a87d98543561027b4766f2c9e/opc-ua-stack/bsd-core/pom.xml#L24-L34 I've never used Proguard, I don't know how to tell it to exclude these from obfuscation or minimization, but I suspect it's because there is some reflection-based access happening that causes Proguard to prune classes it thinks are unused. |
Beta Was this translation helpful? Give feedback.
-
Okay, this seems a too specific problem, because I already did that and all other solution I could found online, even with a hacky solution implementing the missing class with the already present implementation of |
Beta Was this translation helpful? Give feedback.
-
@jnsw It's not Proguard, but I do minimize and shade to create a single artifact in the Milo Demo Server and it works without issue. This is probably the relevant build section: |
Beta Was this translation helpful? Give feedback.
-
I am using your library and creating a Jar-file with all dependecies (with Proguard). If I am running it and want to connect it, I get following error. The other issues doesn't resolve it. Can I somewhere explicit say which implementation of Jaxb my jar needs to use?
Beta Was this translation helpful? Give feedback.
All reactions