| | |
Error in NetBeans
![]() |
•
•
Join Date: Apr 2007
Posts: 1
Reputation:
Solved Threads: 0
I wrote a java program, it comprised of a file for the main class and a file that is a package that consists of a class, a subclass and some methods in each. The class, subclass and all methods are public. I compiled the main class and the package on the command line with no errors on either, and the program works fine. I wanted to start using NetBeans. I put the same files in NetBeans 5.5 it shows no errors in the package, but in Main.java it shows an error (cannot find symbol) where an instance of the subclass is made ( Inventory_Sub Inventory1 = new Inventory_Sub(); ). I know that it finds the package ok because I do not get an error where the package is imported (import inventoryPackage.murphy.james.*; ). There must be something simple I am overlooking, I would appreciate someone helping me as soon as possible, I have to turn this in for a school assignment.
Thank you,
Jim
Thank you,
Jim
![]() |
Similar Threads
- Exception in thread "main" java.lang.NoClassDefFoundError: Invaders Error (Java)
- Integrating NetBeans 4.0 and Microsoft VSS 6.0 (Java)
- Error in EJB client program (javax.naming.NoInitialContextException) (Java)
- URGENT: JSP - StackOverFlow Error (JSP)
- illegal start of type -- NetBeans (Java)
- netbeans 4.0 HELP! (Java)
- VMWare Unrecoverable Error (*nix Software)
- Error in Wrox Book (Perl)
Other Threads in the Java Forum
- Previous Thread: Swing Help
- Next Thread: Class & method Boolean
| Thread Tools | Search this Thread |
actuate add android api applet application applications array arrays automation balls bank binary bluetooth business chat class clear client code codesnippet collections component database defaultmethod development dice digit dragging ebook eclipse equation error event formatingtextintooltipjava fractal functiontesting game givemetehcodez graphics gui health hql html hyper ide idea image infinite int integer invokingapacheantprogrammatically j2me java javame javaprojects jni jpanel julia linux list main map method methods mobile myregfun mysql netbeans nonstatic openjavafx parameter pearl php problem program project recursion repositories scanner scrollbar server set sms sort sorting spamblocker sql sqlserver state storm string sun superclass swing swt thread threads tree windows





