WebSphere部署ClassCastException:PrivateOptions不兼容

时间:2016-02-09 08:20:52

标签: ant build websphere

我正在尝试构建我的源代码并获得以下错误。我正在使用Ant脚本并尝试为WebSphere Application Server 8.5创建构建。

[exec] Error executing deployment: java.lang.ClassCastException. Error is com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions incompatible with com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions.
[exec] java.lang.ClassCastException: com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions incompatible with com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions
[exec]  at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:246)
[exec]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[exec]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[exec]  at java.lang.reflect.Method.invoke(Method.java:611)
[exec]  at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
[exec]  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
[exec]  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[exec]  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[exec]  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
[exec]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[exec]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[exec]  at java.lang.reflect.Method.invoke(Method.java:611)
[exec]  at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:494)
[exec]  at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:114)
[exec]  at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:106)
[exec]  at com.ibm.etools.ejbdeploy.EJBDeploy.deploy(EJBDeploy.java:348)
[exec]  at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:309)
[exec] EJBDeploy level: @build@

0 个答案:

没有答案