我在netbeans中运行web项目时遇到此错误

时间:2011-03-31 07:04:32

标签: java netbeans-6.9

ERROR - Ant is misconfigured and cannot be run.



java.lang.NoSuchMethodError: org.openide.util.RequestProcessor.<init>(Ljava/lang/Class;)V
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.<clinit>(BridgeImpl.java:96)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.tools.ant.module.bridge.AntBridge.createAntInstance(AntBridge.java:321)
        at org.apache.tools.ant.module.bridge.AntBridge.getAntInstance(AntBridge.java:274)
        at org.apache.tools.ant.module.bridge.AntBridge.getInterface(AntBridge.java:263)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)

我试图找出很多方法,但却无法解决......任何人都可以给我一些建议 提前致谢

1 个答案:

答案 0 :(得分:0)

Netbeans论坛上有一个thread。我看起来像Netbeans和某些版本的Subversion之间的兼容性。