Community
Participate
Working Groups
While trying to import 5 gradle projects I got the following: eclipse.buildId=4.5.0.I20150320-0800 java.version=1.8.0_40 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/wbeckwith/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -data file:/Volumes/Data/dev/workspaces/gitdemo/workspace/ -keyring /Users/wbeckwith/.eclipse_keyring -showlocation org.eclipse.buildship.core Error Sun Apr 12 17:01:51 CDT 2015 Importing the project failed. org.eclipse.buildship.core.GradlePluginsRuntimeException: Cannot create Eclipse Java project phoenix. at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.createJavaProject(DefaultWorkspaceOperations.java:171) at org.eclipse.buildship.core.projectimport.ProjectImportJob.importProject(ProjectImportJob.java:128) at org.eclipse.buildship.core.projectimport.ProjectImportJob.importProject(ProjectImportJob.java:94) at org.eclipse.buildship.core.projectimport.ProjectImportJob.runInWorkspace(ProjectImportJob.java:74) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: org.eclipse.buildship.core.GradlePluginsRuntimeException: Cannot configure sources and classpath for Eclipse project phoenix. at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.setSourcesAndClasspathOnProject(DefaultWorkspaceOperations.java:263) at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.createJavaProject(DefaultWorkspaceOperations.java:154) ... 5 more Caused by: Java Model Exception: Java Model Status [Cannot nest 'phoenix/grails-app/conf/spring' inside 'phoenix/grails-app/conf'. To enable the nesting exclude 'spring/' from 'phoenix/grails-app/conf'] at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:785) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112) at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.setSourcesAndClasspathOnProject(DefaultWorkspaceOperations.java:259) ... 6 more
What project are you trying to import? How can we reproduce the problem?
Darn. I never got notified that you commented on this issue. I'll try and slim down one of out projects and attach an example to this issue tonight.
If you still have this issue please let us know. Also, please try it with the latest snapshot of Buildship.
*** This bug has been marked as a duplicate of bug 484781 ***