Closed a347807131 closed 1 year ago
I can provide assistance within the scope of the Weasis project, but not to issues outside that scope with other objectives. Unfortunately, I can't respond to all requests. My priority is to support open-source developments that contribute to the common effort to improve Weasis.
This problem isn't a bug, but rather a misconfiguration of dependencies according to OSGI principles. However, I don't see the point of adding a new http client if there isn't an obvious reason, HTTPClient should be sufficient.
thanks for reply anyway.
ignore the specified dependency, what configuration detailed in pom.xml and base.json should i do if i want to import a third jar dependency in weasis. I almost got insane by the question. @nroduit Thanks for any reply.
There are several examples in Weasis of third-party libraries that are embedded in a jar or loaded directly into the plugin list. In both cases, the import and export java packages required by OSGI must be defined (in MANIFEST.MF of jar), as each plugin is isolated in memory by default.
Describe the bug. What happened?
i wanted to use okhttp for http request in weasis , but ClassNotFoundException occured when i was lunching app after adding the dependency in pom.
thanks to any help;
What version of Weasis are you running?
4.2.0
On which system the problem occurs?
Windows
Relevant log output
Additional contextual elements
No response