This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Net Beans IDE 6.9.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Net Beans IDE 6.9.1" Watch "Net Beans IDE 6.9.1" New topic
Author

Net Beans IDE 6.9.1

Tuesday Ganal
Greenhorn

Joined: Oct 27, 2010
Posts: 12
Hi everybody! Isn't it weird? I was trying to create my first project in Net Beans and the classes I've created were built and run successfully. However if you see the project name, source package and default package have exclamation sign and it says contains files with errors I tried to re-create the project many times and still the same.

Thanks.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37907
    
  22
Don't know why. Have you tried the rebuild or clean and build options in NetBeans? Have you tried running the app from the command line? Have you exported it as a jar and run that from the command line?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3064
    
  33

Are you using some external jars? Or some dependency might be missing. You can hover over the package to find out what the error is.


Mohamed Sanaulla | My Blog
Tuesday Ganal
Greenhorn

Joined: Oct 27, 2010
Posts: 12
Thanks, Campbell! I tried to rebuild or clean. I also tried to compile and run in command line and it was successful. It doesn't say I have an error when I compile in Net Beans, but the project names and classes (I can see in the left side of my screen) have this exclamation point sign and when you click them. It says there were errors.

Campbell Ritchie wrote:Don't know why. Have you tried the rebuild or clean and build options in NetBeans? Have you tried running the app from the command line? Have you exported it as a jar and run that from the command line?
Tuesday Ganal
Greenhorn

Joined: Oct 27, 2010
Posts: 12
Thanks, Mohamed! I am not using external jars. I'm created a simple package with 2 classes. It's not showing that I have an error when I compile it, but I can see in the left side of my screen, there's a sign in right beside my package name and classes name that there are errors.

mohamed sanaullah wrote:Are you using some external jars? Or some dependency might be missing. You can hover over the package to find out what the error is.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3064
    
  33

Tess Bueno wrote:Thanks, Mohamed! I am not using external jars. I'm created a simple package with 2 classes. It's not showing that I have an error when I compile it, but I can see in the left side of my screen, there's a sign in right beside my package name and classes name that there are errors.

Try to refresh the contents of the project. Right click on the project should have that option.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Net Beans IDE 6.9.1
 
Similar Threads
how to create jasper ireport in netbeans
Is there any seperate netbeans for Mobile application?
Create Setup of project in NetBeans
i don't get to know why this program cannot be executed?
importing files in nebeans