facebook

Unknown tag (!) when inserting comment

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #257342 Reply

    loomax
    Member

    After adding a comment in the jsp editor I get following error:

    Multiple annotations found at this line:
    – Unknown tag (!).
    – Start tag (<!>) not closed.
    – Invalid character used in text string (
    <
    ).

    I use MyEclipse 5.0.1

    <%@ page language=”java” import=”java.util.*” pageEncoding=”ISO-8859-1″%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+”://”+request.getServerName()+”:”+request.getServerPort()+path+”/”;
    %>

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
    <html>
    <head>
    <base href=”<%=basePath%>”>

    <title>My JSP ‘MyJsp.jsp’ starting page</title>

    <meta http-equiv=”pragma” content=”no-cache”>
    <meta http-equiv=”cache-control” content=”no-cache”>
    <meta http-equiv=”expires” content=”0″>
    <meta http-equiv=”keywords” content=”keyword1,keyword2,keyword3″>
    <meta http-equiv=”description” content=”This is my page”>
    <!–
    <link rel=”stylesheet” type=”text/css” href=”styles.css”>
    –>
    <!– asdd –>
    </head>

    <body>
    This is my JSP page. <br>
    </body>
    </html>

    #257343 Reply

    loomax
    Member

    if i close and reopen the window the error is gone

    #257525 Reply

    loomax
    Member

    can you reproduce this ?

    #265052 Reply

    Mark Sanders
    Member

    I found this same/smilar error. I was going through the MyEclipse Learning Center example called JSF Development – LoginDemo. I got to Figure 7.10 and got the error for the following line.

    <h:outputText rendered=”true” value=”#{bundle.user_name_label” />
    The error was regarding the bundle.user_name…

    I saved everything – error still there.
    I closed and reopened the userLogin.jsp -error still there.
    I closed and reopened MyEclipse – error gone.

    I am using 5.1.0 GA with E3.2.1

    Just an FYI 😉

    #265053 Reply

    Mark Sanders
    Member

    My mistake – Fig 7.11

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Unknown tag (!) when inserting comment

You must be logged in to post in the forum log in