This content has been marked as final.
Show 3 replies
-
1. Re: java.lang.NoClassDefFoundError: javax/ws/rs/core/Response$Status in module
ctomc Dec 18, 2017 10:53 AM (in response to tisaksen)full stracktrace?
-
2. Re: java.lang.NoClassDefFoundError: javax/ws/rs/core/Response$Status in module
tisaksen Dec 19, 2017 3:07 AM (in response to ctomc)It worked when I added export="true":
<module name="javax.ws.rs.api" export="true"/>
I don't understand why though?
-
3. Re: java.lang.NoClassDefFoundError: javax/ws/rs/core/Response$Status in module
ctomc Dec 19, 2017 5:19 AM (in response to tisaksen)without full stacktrace it is hard to say what is going on.
but from what you say I would guess that export=true helped because dependency you are missing is in a module that depends on your org.jose4j module and not the other way around.
export=true just exports module dependency also to its caller.