0

It's a maven project and I've already built .classpath and .project files by maven eclipse:eclipse. Then I put it into the eclipse workspace. However, when I tried to click File->Import to import the project, I found that my Import is banned (can't be clicked) , as well Export.

I'm new to Eclipse, so I'm not sure where the problem is. Hope to get some useful solution~~thanks!

Lhfcws
  • 302
  • 1
  • 3
  • 15
  • what do you mean by import is banned? – Vinay Lodha Oct 24 '13 at 09:51
  • If the item can be clicked, its font color is black. Now Import is grey. I cannot choose or click it. – Lhfcws Oct 24 '13 at 09:53
  • If this is 'Import / Existing project into workspace' grayed entries usually means Eclipse already knows about the project. You might need to run 'File / Refresh' to update things completely. – greg-449 Oct 24 '13 at 10:25

2 Answers2

0

You may want to try to import it as a Maven project into eclipse? I suggest m2e to import the project.

There is e.g. here a topic which might help you Importing maven project into eclipse

Community
  • 1
  • 1
timbru31
  • 365
  • 2
  • 21
0

Finally, I downloaded the new Eclipse from www.eclipse.org instead of ubuntu apt source. Then everything is ok. I wondered that if it may be a bug.

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Lhfcws
  • 302
  • 1
  • 3
  • 15