简体   繁体   中英

Eclipse PHP Zend: “workspace in use” when i try to set my workspace in Apache2/htdocs?

i am trying to use my workspace C:\\Program Files (x86)\\Zend\\Apache2\\htdocs , as i need to in order to use my Zend Server, but i get the error "workspace in use "

i have:

  • deleted all other copies of eclipse that i used
  • looked for a .metadata folder but not found one in my current eclipse folder (brand new eclipse PDT with Zend)

any idea as to what the problem can be? and how to fix it :D

thanks!

Check your workspace directory for :

  • .metadata and delete it (can be hidden in your explorer)
  • .version.ini , open it an delete all entrys

I think deleting .metadata will cause you to lose your tracked projects. Im not positive though ( don't really want to test it haha). However if you go in that folder (WORKSPACE/.metadata/) and delete the .lock file it should allow you to open the workspace. Hope this helps!

Just offering two other solutions for anyone who faces the workspace issue and ends up on this page. This is one solution and the other solution is if you were working on eclipse by connecting to a server via ssh. In this case, the ssh might time out and your eclipse process would still be active on the server. Solution is: Type ps -aef | grep eclip Find the process number of eclipse and type kill -9 process number

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM