| Author |
error: cannot be accessed from outside package
|
Rob Deer
Greenhorn
Joined: Jan 10, 2005
Posts: 17
|
|
I have this code that's giving me error. /home/dev/WEB-INF/classes/db/mysqlconnector.java when i compile this below, /home/dev/WEB-INF/test.java it gives me the error mysqlconnector() is not public in db.mysqlconnector; cannot be accessed from outside package mysqlconnector c = new mysqlconnector(); test.java Any ideas on what's wrong? [ February 10, 2007: Message edited by: Ester Wong ]
|
 |
Anton Uwe
Ranch Hand
Joined: Jan 10, 2007
Posts: 122
|
|
|
Replace byin your mysqlconnector.java.
|
 |
Rob Deer
Greenhorn
Joined: Jan 10, 2005
Posts: 17
|
|
|
Ah, thanks! I'm blind as a bat.
|
 |
 |
|
|
subject: error: cannot be accessed from outside package
|
|
|