Results 1 to 5 of 5
- 05-15-2011, 01:02 AM #1
Member
- Join Date
- Apr 2011
- Posts
- 52
- Rep Power
- 0
- 05-15-2011, 02:00 AM #2
Member
- Join Date
- Apr 2011
- Posts
- 52
- Rep Power
- 0
after I compiled other java files, I found the classes folder is not the one to hold the class files. The folder is inside out\production folder. But after I put the class with other classes, the error is still there. How can I let IDEA know there is a new class?
- 05-15-2011, 02:05 AM #3
Member
- Join Date
- Apr 2011
- Posts
- 52
- Rep Power
- 0
The Textpad4 compiled the files ok. It must be IEAD 10's problem.
- 05-15-2011, 02:59 AM #4
Senior Member
- Join Date
- Jan 2011
- Location
- Rizal Province, Philippiines
- Posts
- 167
- Rep Power
- 0
you could use absolute path
- 05-16-2011, 12:28 PM #5
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Under the libraries bit of module settings you need to attach classes.
Assuming this is a standalone class you'll need to stick it in a directory of its own, ensuring its location in that directory (that is the directory path) matches its package.
Then attach that folder as a class folder.
It is unusual to import a single class into code, which is why this may sound a long winded way of doing it.
Similar Threads
-
Do you know why I'm getting "cannot find symbol" error?
By basla in forum New To JavaReplies: 5Last Post: 04-24-2011, 03:21 PM -
Error "can not find symbol variable"
By FullMetalHollow in forum New To JavaReplies: 5Last Post: 10-04-2009, 09:51 PM -
genjar - "Unable to resolve:"
By angryboy in forum New To JavaReplies: 0Last Post: 06-28-2009, 06:48 AM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM -
"Cannont find symbol Constructor" error
By Welsh in forum New To JavaReplies: 7Last Post: 01-25-2008, 12:12 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks