Netbeans won't display web project in Projects Tab - java

I'm running NetBeans 7.3 on Ubuntu 12.10. I'm taking a course in Java Web Development, so I have a project called jsage8 that contains my work for the course. Previously this project was displayed in the Projects tab just fine, but now opening the project doesn't do anything. It just says "No Project Open" when I click to open it in the Open Project menu. It will however open a normal Java Project folder that isn't a web based project. Currently there's only an index.jps, a .html file, and a .css file in the project, is it not displaying because there's no .java files present?
Feeling a bit helpless here and I can't seem to google anything that addresses this specific issue so I'm wondering if I've just done something wrong?
NOTE: I can navigate to the directory the files in and open them in NetBeans manually, but the projects tab remains blank. I can even click "Run Project" and build the project and have it display in a web browser using my local Tomcat server with no issues also.
NOTE: The jsage8 project also doesn't show up in the "Recent Projects" menu whereas other projects do.
NOTE: I can even right click the index.jsp's file tab once opened in NetBeans and click "Select in Projects" which opens the prompt "Do you want to open project jsage8" I click Ok and nothing happens.

Nevermind, I ran the update for NetBeans and everything seems to be working fine now (even though just restarting it had done nothing). If you're having a problem similar to this try updating NetBeans and see if that fixes your problem.

Do you install fully features which contain Web Development plugin?
I think you forgot it already

Solution for Windows
Locate the project on your pc, once located in the folder-> properties -> security -> edit the permissions-> full control activated -> accept. After that I restarted Apache Netbeans 11.3 and I was able to open my project normally.
My problem was that I couldn't open any web application in apache netbeans.

Related

Eclipse workspace won't show my project anymore

I am using eclipse kepler. A few minutes back I had to force restart the whole machine and then when I fired up eclipse it would momentarily show the projects and then disappear. The projects are there in the workspace folder and I can access all my files using ctrl+shift+r and even run it on the server. But I can't see the projects in the project explorer.
I tried this but importing into another workspace has other issues. Like not able to configure the server, not even manually.
Any help would be appreciated.
Try the below step while you import. Check "Copy Projects into workspace" before proceed as shown below
This will retrieve the projects

Eclipse not launching? How do I save my projects?

I have been using eclipse to learn how to program Java and one day when I tried to use Eclipse it would not open. I get the purple window with a loading bar but when that gets about half way it crashes but does not give me any report as to why it crashed. How could I fix Eclipse or how could I save my projects so that I can reinstall Eclipse?
Your projects are already saved in your hard disk. You just need to reinstall, and when you open again to give the specific path to your projects.
Your projects (Eclipse workspace folder) are saved on your hard-drive . It has nothing to do with your Eclipse crash. If the folder is located inside Eclipse folder, just copy it to some other location. If it is already outside, you are safe.
If you re-install Eclipse, just use this copied workspace as your Eclipse workspace, it should just work fine.
Note: It would be easy to fix existing Eclipse, given you provide exact error message.
be cool , you can get your projects without any problem
1) go to eclipse.org ("https://eclipse.org/downloads/") and download eclipse and re-install then it will bind with your existing workspace in eclipse then you can open your projects through eclipse
2)eclipse default workspace is" C:\Users\yourname\workspace " manualy go to this link in here replace "yourname" with your PC name and get your projects

Eclipse rcp show different layout in Launch and exported file

I'm using Eclipse Luna for creating RCP Application. I set product configuration file for plug-in project. When I run application by click Launch button (Launch an Eclipse application) from Overview page, (1) it keep show old code, not changed one.
So, I exported my application. The first time works find and then second time this one also doesn't show changed codes. I have to remove folder every time for checking updated codes.
Please, someone help me to figure out these issues. It's really bugging me.
Keep showing old code from Launch an Eclipse application & Eclipse Product export wizard
Launch and exported file show different layout
From Launch
From exported file.
I found to run with updated source after exported files. Do uncheck "Generate p2 repository" & "Allow for binary cycles in target platform" when opened Export dialog. After unchecked it them I could get updated files. It looks it happened for application version managing (P2 Folder).

How to install SWT for eclipse Kepler

I recently downloaded eclipse Kepler to learn to use SWT, I also downloaded the SWT zip folder.
The instructions on eclipse web site states that I should import the zip folder to Existing Projects into Workspace. I have done this, but no project shows on the Projects form field, I have been googling since morning to get info on how to install SWT on Eclipse Kepler but I have not found any help.
Please I need help on this, as I am faced with a project that needs rich look and feel. All replies would be greatly appreciated. Thanks to all.
I got it, Ignorance was the case, cos I have never done any SWT before. so this reply is for all those who are as Ignorant as I was.
The jar file representing the SWT library is found in the plugin folder, of the eclipse installation, to add the jar file to a project you would have to follow these steps:
Right Click on the project Name
Select Properties
Choose the Java Build Path from the dialog that appears
select Libraries > click on the Add External JARs...
Select the SWT jar file from the plugins folder in the eclipse folder represented by org.eclipse.swt.windowing_system>_.jar
and click on OK to exit the dialog`,
then you are ready to play

Little issue with JDeveloper & Vaadin

I have the followinf issue in running Vaadin in JDeveloper. I opened NetBeans and install the corresponding plug-in and ran the example and it worked all ok. So then, I copy the same project structure to a JDeveloper project but, when I try to run the project I am asked to set a "Default Run Target" which I don't know how to do... The starting point should be Vaadin Servlet but how to do If I am ask to select a file...
Hope someone knows how to solve this... Cheers from Argentina...
Instead of hitting run on your project - select a specific page in your application that you want to run in the application navigator, right click on it and choose run.
Or just select a specific JSF/JSP/Servlet that you want to run when prompted.

Categories