source folders not visible in Netbeans project after installing jRebel plugin?

人走茶凉 提交于 2019-12-10 10:28:26

问题


I installed jRebel on Netbeans 7.4 beta one day, the next day all my source folders an libraries to disappeared from my projects - except Maven ones. Like this:

The source folders are still present on my drive:

I just need to restore their visibility in my opened Netbeans projects.

When I try to add source packages from the "Properties" menu of the project, I do get the source back but as folders, not packages.

Help would be much appreciated!


回答1:


The question is answered at JRebel Forum. The culprit is unknown.




回答2:


Try going to Files view in Neteans, and look under the src folder in your project. Does the src folder have a sub-folder named java?

If not, create it (right click on src, go to New, select Folder). Your source packages should re-appear in the project view.




回答3:


This is for Netbeans 8.0. I am not sure if it is available for other versions.

Right click on the project -> Set Configuration -> Customize -> Sources -> Add Folder for Sources Packages Folder -> Select folders you want to see under your project -> OK




回答4:


Netbeans version 8:

In files tab, go to main folder and create a folder called java. That's it!



来源:https://stackoverflow.com/questions/18869423/source-folders-not-visible-in-netbeans-project-after-installing-jrebel-plugin

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