新建antx项目的问题

我在新建一个antx项目的时候,eclipse报出如下的错误,请教高手因该怎么解决!

org.eclipse.core.internal.resources.ResourceException: Invalid project description. at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:156) at org.eclipse.core.internal.resources.Project.create(Project.java:252) at com.alibaba.antxclipse.wizard.project.ProjectUtil.importProject(ProjectUtil.java:92) at com.alibaba.antxclipse.wizard.project.task.ImportProjectTask.executeTask(ImportProjectTask.java:19) at com.alibaba.antxclipse.wizard.project.executor.BaseProjectCreateExecutor.createProject(BaseProjectCreateExecutor.java:23) at com.alibaba.antxclipse.wizard.project.AntxBaseProjectWizard$1.execute(AntxBaseProjectWizard.java:35) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:100) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1705) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:112) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

 

java.lang.IllegalArgumentException: Path for project must have only one segment.
 at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60)
 at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:134)
 at com.alibaba.antxclipse.wizard.project.ProjectUtil.validateProjectExist(ProjectUtil.java:80)
 at com.alibaba.antxclipse.wizard.project.AntxAllProjectWizard.prepareProjectCreateExecutor(AntxAllProjectWizard.java:41)
 at com.alibaba.antxclipse.wizard.project.AntxBaseProjectWizard.performFinish(AntxBaseProjectWizard.java:26)
 at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
 at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
 at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:607)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:896)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3236)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
 at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
 at org.eclipse.jface.window.Window.open(Window.java:787)
 at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181)
 at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
 at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:544)
 at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:494)
 at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:406)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:896)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3236)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1774)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1738)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:376)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
 at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
 at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
 at org.eclipse.core.launcher.Main.run(Main.java:977)
 at org.eclipse.core.launcher.Main.main(Main.java:952)

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值