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.

Bug 122949 - Errors in JSP files that work fine in 5.5 & 5.5.1
Summary: Errors in JSP files that work fine in 5.5 & 5.5.1
Status: RESOLVED DUPLICATE of bug 122950
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-28 10:57 UTC by bumblebee
Modified: 2007-11-28 11:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bumblebee 2007-11-28 10:57:13 UTC
When opening a JSP that works in 5.5 and 5.5.1, or creating a new JSP in 6.0 RC2, I get the following message:

<identifier> expectedunexpected typerequired: classfound : identifier(31)[serial] serializable class 
SimplifiedJSPServlet has no definition of serialVersionUID

Code:

<%-- 
    Document   : qwerty
    Created on : 2007/11/28, 12:02:34
    Author     : w3305155
--%>

<%@page contentType="text/html" pageEncoding="windows-1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Hello World!</h2>
    </body>
</html>

Also, doesn't autocomplete any imports or imported java code.
Comment 1 bumblebee 2007-11-28 11:05:37 UTC

*** This issue has been marked as a duplicate of 122950 ***