facebook

compilation error in jsp page with version 2.6.4

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #199850 Reply

    lukmanph
    Member

    hi all

    I recently installed version 2.6.4 and rebuild my project, including jsp pages.
    The result is a set of errors that did not happen in previous versions.
    I am attaching an extract of my jsp page and the error. Most of them are of this type.

    <%@ taglib uri=”/WEB-INF/struts-html.tld” prefix=”html” %>
    <%@ taglib uri=”/WEB-INF/struts-bean.tld” prefix=”bean” %>
    <%@ taglib uri=”/WEB-INF/struts-logic.tld” prefix=”logic” %>
    <%@ taglib uri=”/WEB-INF/struts-tiles.tld” prefix=”tiles” %>
    <?xml version=”1.0″?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;
    <%– include head –%>
    <tiles:insert page=”/secure/inc/head.jsp” flush=”true” />

    and this is the error

    _jsp_tag_org_apache_struts_taglib_nested_NestedPropertyTag$38 cannot be resolved    addSecurities.jsp    FBB/webroot/secure/account    line 21

    the line 21 is where the tiles tag is. It seems when it tries to parse the tld files for this sort of tags ( Struts tags ) it fails…
    any ideas
    thanks
    P

    #199855

    Scott Anderson
    Participant

    P,

    Can you open the problem file, make an insignificant change, and save it again. Does it recompile and is the error still there?

    Also, can you please post all the information we request in the Posting Guidelines announcement in this forum?

    –Scott
    MyEclipse Support

    #199858

    lukmanph
    Member

    Hi Scott

    This is the procedure I followed:
    Using Update manager, I downloaded
    a)the update for Eclipse 2.1.2
    b)the update for MyEclipse 2.6.4

    So, i did not install a fresh copy of Eclipse nor MyEclipse.

    Windows 2000
    Tomcat 5.1.2
    JDK 1.4.2 for both Eclipse and Tomcat

    I still have the previous error, plus when I select and deselect jsp Compilation does not work. i.e it never recompiles the jsp pages no matter what I chose.
    Do I have to install a new /fresh copy of both Eclipse and MyEclipse?
    thanks for your assistance Scott
    cheers
    Patria

    #199866

    Scott Anderson
    Participant

    Patria,

    I still have the previous error, plus when I select and deselect jsp Compilation does not work. i.e it never recompiles the jsp pages no matter what I chose.

    The editor will only compile JSP pages when they’re saved if the workbench preference ‘Perform build automatically on resource modification’ is checked on the Workbench preference page. If it’s not, JSP compilation will only occur when ‘Rebuild Project’ is selected, provided the ‘Compile JSPs’ option is selected.

    Do I have to install a new /fresh copy of both Eclipse and MyEclipse?

    We’re still working to reproduce the problem to determine if it is environmental or not. Give us a bit more time and Michael will post his findings.

    –Scott
    MyEclipse Support

    #199867

    support-michael
    Keymaster

    I have been trying to replicate the problem you report. Our test cases include several tiles exampls include the tiles Channel example which compiles without error (other than a missing taglib in the disto). Code completion is avaliable for all tiles tags in these examples. I also created a page similar to that snibbit you provided an did not hit any problems. Can you send me a copy of your project to research further? Send to support@genuitec.com and address to my attention if you can.

    Michael
    MyEclipse Support

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: compilation error in jsp page with version 2.6.4

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