NetBeans open project problem

…衆ロ難τιáo~ 提交于 2019-12-30 17:31:10

问题


I created a NetBeans project. I took the project folders zipped to another machine and tried opening it in NetBeans. NetBeans didn't identify it as a NetBeans project. I have transfered projects in this way before but why is it not working now? Are any of my project files corrupted. Is there any way to retrieve my files from this?


回答1:


Try using create new project from existing resources. This may solve the issue.




回答2:


I just copied whole project into place in system where NetBeans stores projects (in windows it's user\username\Documents\NetBeansProjects\ by default), then started NetBeans and voila - worked great :)




回答3:


You can try this:

  1. Create a new project on the target machine
  2. Find where the project you want to open is stored and open the src folder.
  3. Copy all the files and stuff in the /src folder
  4. Go on Netbeans, expand the tree view of the project you have just created, right click on source packages and click paste. It should paste the files in the /src folder as packages. You should also see the code these packages contain.



回答4:


I discovered this solution and it worked for me: http://netbeans-org.1045718.n5.nabble.com/Netbeans-Crashes-Since-Windows-Update-td5752603.html

The fix is to remove the GodMode shortcut that may have been created on your Desktop or on the root of the %systemdrive%.



来源:https://stackoverflow.com/questions/2833779/netbeans-open-project-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!