We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
final ResourceConfig rc = new ResourceConfig().packages("com.xxx");
the ResourceConfig site set the state classloader. this.state.setClassLoader(classLoader); but it actually use ContextClassLoader.
[2.25.1]
The text was updated successfully, but these errors were encountered:
@glassfishrobot Commented Reported by liyang_Janney
Sorry, something went wrong.
@glassfishrobot Commented @pavelbucek said: workaround would be registering PackageNamesScanner explicitly:
ClassLoader loader = null; // ... ResourceConfig resourceConfig = new ResourceConfig(); resourceConfig.registerFinder(new PackageNamesScanner(loader, new String[]{"package"}, true));
@glassfishrobot Commented This issue was imported from java.net JIRA JERSEY-3243
No branches or pull requests
final ResourceConfig rc = new ResourceConfig().packages("com.xxx");
the ResourceConfig site set the state classloader.
this.state.setClassLoader(classLoader);
but it actually use ContextClassLoader.
Affected Versions
[2.25.1]
The text was updated successfully, but these errors were encountered: