I
would guess that Option wasn't a 'public' class or that the get or getName (or
something else) wasn't public - check your class definition,
Kevin
-----Original Message----- From: A
mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of John
Carbrey Sent: 22 July 1999 01:51 To:
[EMAIL PROTECTED] Subject: "x" with default access is not
visible here
I seem to be getting the error: the type
"x" with default access is not visible here. After 2 hours of confusion
I still have absolutely no idea what this means.
Any ideas?
Yt,
John Carbrey
This is the error that I get.
------------------------------------------------
500 Internal Server Errorcom.livesoftware.jsp.JSPServlet:
javax.servlet.ServletException:
Found 4 semantic errors compiling "D:/JRun/jsm-default/services/jse/servlets/jsp/index.java":
49. out.print(((Option) Opts.get(i)).getName());
<-------------------->
*** Error: The type "com/pcsnap/Option" with default access is not visible here
49. out.print(((Option) Opts.get(i)).getName());
<---->
*** Error: The type "com/pcsnap/Option" with default access is not visible here
49. out.print(((Option) Opts.get(i)).getName());
<---->
*** Error: The type "com/pcsnap/Option" with default access is not visible here
56. Vector Opts = vb.getOptions(); private static final String[] __dependencies__ = {"header.html", "main.jsp", "footer.html", ""};
<>
*** Error: "vb" is either a misplaced package name or a non-existent entity.
|