- This topic has 1 reply, 2 voices, and was last updated 15 years, 8 months ago by support-eugene.
-
AuthorPosts
-
allenparslowMemberI am no longer able to import (without error) a maven webapp with MyEclipse7.1 (MyEclipse 7.0 pulse upgraded to MyEclipse 7.1 [Build id: 7.1.1-20090310]).
Error observed: An internal error occurred during: “Importing Maven projects”.
This error seems to prevent import of Web Capabilities.
Switching workspaces did not fix the problem.
Work-Around: Import the webapp, tolerate the error message, manually add web capabilities (or don’t upgrade to 7.1, which is what I’d recommend [stay at 7.0]).
Steps to reproduce:
–Create a new project to import later:
# From the menu file/new, select Web Project.
# Select “Add Maven Support”.
# Choose Finish.
# Close project, delete project (don’t delete from file-system).
# Go to the project’s folder
# Delete all files/folders except pom.xml, /WebRoot/, /src/.–Import the existing project:
# Enable all m2 features:
1. From the menu window/preferences, select MyEclipse Enterprise Workbench, and then Maven4MyEclipse.
2. Put a checkmark in Enable all m2eclipse features.
# From the menu File/Import, choose General/Maven Projects
# Import the project created above.Error stack trace:
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:276)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:365)
at org.eclipse.jface.window.Window.createShell(Window.java:487)
at org.eclipse.jface.window.Window.create(Window.java:430)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at org.eclipse.jface.dialogs.MessageDialog.openQuestion(MessageDialog.java:371)
at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.basicConvert(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.convert(Unknown Source)
at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport$1.run(MyEclipseProjectSupport.java:83)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.configureWebProject(MyEclipseProjectSupport.java:107)
at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.configure(MyEclipseProjectSupport.java:58)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:232)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.configureNewMavenProject(ProjectConfigurationManager.java:186)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:144)
at org.maven.ide.eclipse.wizards.MavenImportWizard$1.runInWorkspace(MavenImportWizard.java:92)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
support-eugeneMemberPlease create a web project with Maven support using MyEclipse wizard and add content from your CVS.
We plan to introduce proper project import in the next releases.
-
AuthorPosts