This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Used build 010817a with jdk1.4.0 Beta: There is compiling error when compile the jsp page(see below). The same jsp page is compiled fine with jdk1.3.1. The error is: ======================================================== _0002findex_0002ejspindex_jsp_0.java [13:1] '.' expected import HelloBean; ^ 1 error Errors compiling index. ======================================================== <%@page contentType="text/html"%> <%@page import = "HelloBean" %> <html> <head><title>Hello</title></head> <body> <jsp:useBean id="hello" scope="session" class="HelloBean" /> <jsp:setProperty name="hello" property="*" /> <h1> Hello, <jsp:getProperty name="hello" property="name" /> </h1> </body> </html>
The most probable cause is, that compiler in JDK-1.4 refuses to import classes from the default (unnamed) package - so it correctly complains about unqualified identifier after `import' keyword. For more information, please read docs about incompatible changes in JDK-1.4 at http://java.sun.com [I've already filed a bug on this, but it was closed as invalid by JavaSoft]
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.