Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jax-RS Analyze Static Property Error #189

Open
hawkbase4git opened this issue Jun 18, 2019 · 1 comment
Open

Jax-RS Analyze Static Property Error #189

hawkbase4git opened this issue Jun 18, 2019 · 1 comment

Comments

@hawkbase4git
Copy link

I am using version 0.17 with Swagger as the backend. I am getting Jax-Rs Analyzer "Could not access the Static Property" error for various modules.

@thebluemountain
Copy link

i have been trying to use the 0.17 version with markdown backend in a maven project.
encountered same issue.
adding the -X flag to get more messages, the issue is encountered in the analysis class.
...
at java.lang.Class.forName(Class.java:264)
at com.sebastian_daschner.jaxrs_analyzer.analysis.bytecode.collection.InstructionBuilder.getStaticValue(InstructionBuilder.java:295)
...

looking at the source, i see:
...
// needs to load same class instance in Maven plugin, not from extended classloader
final Class<?> clazz = Class.forName(containingClass.replace('/', '.'));
field = clazz.getDeclaredField(name);
...
not sure what it means though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants