facebook

Tag (jsp:directive.XXX) should be an empty-element tag

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #292813 Reply

    This message has not been recovered.

    #292845 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #293462 Reply

    *** Date:
    martes 13 de enero de 2009 05:47:31 PM CLST

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.0
    Build id: 7.0-20081201

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.0
    Build id: 7.0-20081201

    Eclipse Platform

    Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
    Build id: M20080911-1700

    Eclipse Java Development Tools

    Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
    Build id: M20080709-0800

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.1.v20080806-67718083A56B4H2A3213573
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
    Build id: M20080703-0800

    Eclipse Plug-in Development Environment

    Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
    Build id: M20080703-0800

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse 7.0\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    -clean
    -configuration
    C:\Program Files\Genuitec\MyEclipse 7.0\configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll

    #293509 Reply

    Loyal Water
    Member

    cristian.lopez,
    Can you paste a sample file here for me and tell me what editor you were working with.

    #293713 Reply

    Sorry for the delay.

    First, the file to be included (common.jspf).

    <%@ taglib prefix=”core” uri=”http://java.sun.com/jsp/jstl/core&#8221; %>
    <%@ taglib prefix=”base” uri=”http://www.springframework.org/tags&#8221; %>
    <%@ taglib prefix=”form” uri=”http://www.springframework.org/tags/form&#8221; %>
    <%@ taglib prefix=”display” uri=”http://displaytag.sf.net&#8221; %>
    <%@ page language=”java” contentType=”text/html; charset=UTF-8″ pageEncoding=”UTF-8″ %>

    And then a sample file including the above file (index.jsp).

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <%@ include file=”common.jspf” %>
    <%@ page import=”java.util.ArrayList” %>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    <title>Test</title>
    </head>
    <body>
    <%– Content here –%>
    </body>
    </html>

    Please note that the @page import tag as above is also giving me a similar warning.

    #293714 Reply

    And here’s the installation summary, finnish locale:

    *** Date:
    20. tammikuuta 2009 17:58:15 EET

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.0
    Build id: 7.0-20081201

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.0
    Build id: 7.0-20081201

    Eclipse Platform

    Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
    Build id: M20080911-1700

    Eclipse Java Development Tools

    Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
    Build id: M20080709-0800

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.1.v20080806-67718083A56B4H2A3213573
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
    Build id: M20080703-0800

    Eclipse Plug-in Development Environment

    Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
    Build id: M20080703-0800

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\genuitec\myeclipse\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\genuitec\myeclipse\../common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\genuitec\myeclipse\../common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    -clean
    -configuration
    configuration
    -vm
    C:\genuitec\common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll

    #293827 Reply

    Unfortunately we haven’t found this problem during our QA. It does not look like you can remove those errors other then by disabling JSP validation. I will file a bug to a bugtracker.

    #293828 Reply

    @duckbill wrote:

    Since I updated to 7.0, I’ve been getting “Tag (jsp:directive.XXX) should be an empty-element tag” JSP problems for e.g.

    <%@ include file=”/WEB-INF/jsp/common.jspf” %>
    <%@ page import=”foo.package.Bar” %>

    How do I get rid of these (irrelevant?) warnings?

    Unfortunately we found this issue after MyEclipse was shipped. It will be fixed in subsequent releases.

    #293830 Reply

    Right. Thanks for your response.

    #293871 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Tag (jsp:directive.XXX) should be an empty-element tag

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