Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error compiling a signed applet - File missing?

Status
Not open for further replies.

Ezequiel

Programmer
Apr 4, 2001
30
CA
I used to compile my applet with NO problem... but it seems like I messed it up deleting a file on my Hard disk... or something.

I guess I screwed it when I deleted a zip or something because now I receive an error.

Now I get:

E:\Eze\Facu\Tesis\Java\Graflog\v03>javac graflog.java
graflog.java:18: cannot resolve symbol
symbol : class PrivilegeManager
location: package security
import netscape.security.PrivilegeManager;
^

graflog.java:171: cannot resolve symbol
symbol : class PrivilegeManager
location: package security
netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRea
d");
^
graflog.java:359: cannot resolve symbol
symbol : variable PrivilegeManager
location: class GrafLog
PrivilegeManager.enablePrivilege("UniversalFileRead");
^
graflog.java:362: cannot resolve symbol
symbol : class ForbiddenTargetException
location: package security
} catch (netscape.security.ForbiddenTargetException e) {
^
4 errors



WHAT CAN I DO TO SOLVE IT???
Can you help me guys?
Thanks! ---
Ezequiel Glinsky
eze@bumeran.com
Buenos Aires, Argentina
 
a 'cannot resolve symbol' error usually means a java file is calling a native method in a dll or object. did u uninstall any applications in between compiles or add anyhting new???
 
I guess that (by mistake) I might have deleted a .jar or zip that could contain that.
It's a mess, because I CAN compile it without those lines, but it only works for Internet Explorer (those lines, indeed, are the enable privilege to Netscape).

Any idea on WHICH file could be missing?

THANKS! ---
Ezequiel Glinsky
eze@bumeran.com
Buenos Aires, Argentina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top