新建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)

 

阅读更多
文章标签: eclipse path
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭