java.lang.IllegalAccessError in Windows xp
Posted
by
Priya.S
on Stack Overflow
See other posts from Stack Overflow
or by Priya.S
Published on 2011-01-06T11:47:40Z
Indexed on
2011/01/06
11:53 UTC
Read the original article
Hit count: 316
Hi I have installed NetBeens 6.9.1 in my windows xp system. java web application wokring fine. But i have not get web method in my java web application. its error occurring.
Error Message :
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
wsimport-init:
Created dir: D:\javaprg\projects\myApp\build\generated-sources\jax-ws
wsimport-client-userServiceService:
Created dir: D:\javaprg\projects\myApp\build\generated\jax-wsCache\userServiceService
D:\javaprg\projects\myApp\nbproject\jaxws-build.xml:31:
java.lang.IllegalAccessError: tried to access class com.sun.tools.ws.Invoker from class com.sun.tools.ws.ant.WrapperTask
at com.sun.tools.ws.ant.WrapperTask.createClassLoader(WrapperTask.java:85)
at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:46)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:589)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 1 second)
© Stack Overflow or respective owner