> <BEA-000000> <class com.sun.xml.ws.api.server.MethodUtil cannot access class s
un.reflect.misc.MethodUtil (in module java.base) because module java.base does n
ot export sun.reflect.misc to unnamed module @5a3bc7ed
java.lang.IllegalAccessException: class com.sun.xml.ws.api.server.MethodUtil can
not access class sun.reflect.misc.MethodUtil (in module java.base) because modul
e java.base does not export sun.reflect.misc to unnamed module @5a3bc7ed
at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base
@9-ea/Reflection.java:405)
at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base
@9-ea/Reflection.java:396)
at jdk.internal.reflect.Reflection.ensureMemberAccess(java.base@9-ea/Ref
lection.java:98)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(java.base@9-
ea/AccessibleObject.java:355)
at java.lang.reflect.AccessibleObject.checkAccess(java.base@9-ea/Accessi
un.reflect.misc.MethodUtil (in module java.base) because module java.base does n
ot export sun.reflect.misc to unnamed module @5a3bc7ed
java.lang.IllegalAccessException: class com.sun.xml.ws.api.server.MethodUtil can
not access class sun.reflect.misc.MethodUtil (in module java.base) because modul
e java.base does not export sun.reflect.misc to unnamed module @5a3bc7ed
at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base
@9-ea/Reflection.java:405)
at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base
@9-ea/Reflection.java:396)
at jdk.internal.reflect.Reflection.ensureMemberAccess(java.base@9-ea/Ref
lection.java:98)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(java.base@9-
ea/AccessibleObject.java:355)
at java.lang.reflect.AccessibleObject.checkAccess(java.base@9-ea/Accessi
- duplicates
-
JDK-8161549 Need to build JAX-WS without dependency on JDK-internal sun.reflect.misc
- Resolved