facebook

Error icon (red x) in jsp editor, no error in problems view

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

    pholister
    Member

    No error description when I mouse-over of the icon – there really is no error on the line in question. I’ve cycle eclipsed several times, and its still there. I’ve deleted the line, and the error marker is still there.

    This first occurred after I installed XMLBuddy (which BTW, I had to install due to the bug in the MyEclipse XML editor where it backspaces on character input – why hasn’t this been fixed in 2 releases?) sorry, separate subject.

    So XMLBuddy made itself the default JSP editor which I didnt notice (a little microsofty in its assumptions). Before I had noticed, I edited the file and it gave me an error at line 1 about some invalid XML.. so I reset the file type association – and brought up the JSP. now the error marker is still there – but nothing is reported in the problems view, or when mousing-over the marker. Also, the error markers in the project view (explorer view in leftmost pane) are there for all higher elements (Web Root and Project level).

    Please advise.

    #200190 Reply

    pholister
    Member

    Here’s the environment:
    Eclipse 3.0M4, clean install
    MyEclipse 3.6.4
    java version “1.4.2_01”
    Win2K sp3

    As a workaround attempt, I saved the text to another file, deleted the original file, then imported it. This worked for one of my JSPs, for the other I got some really bizarre errors showing up in the problem view (have no idea where ‘de’ is coming from, its not in the visible source):

    x de cannot be resolved or is not a valid superclass ksearch.jsp K2AppsNeteg/Web Root/jsp line 1

    x The method getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) in the type JspFactory is not applicable for the arguments (_ksearch$002ejsp$, HttpServletRequest, HttpServletResponse, null, boolean, int, boolean) ksearch.jsp K2AppsNeteg/Web Root/jsp line 1

    x The method getServletConfig() is undefined for the type _ksearch$002ejsp$ ksearch.jsp K2AppsNeteg/Web Root/jsp line 1 November 19, 2003 6:42:53 PM

    #200192 Reply

    support-michael
    Keymaster

    I believe you are hitting a known bug in the JSP editor for the handling of jsp:usebean, jsp:get|setProperty tags. This has been fixed and will be released very shortly. Following are other reports similar to this. Please let us know if your case is different:
    https://www.genuitec.com/forums/topic/myeclipse-2-6-4-jsp-setproperty-closed/
    https://www.genuitec.com/forums/topic/error-quot-de-bb-not-resolved-quot-in-jsp-bug-dup/

    We are working on an enhanced XML editor with lots of new capabilities. Thus energies have been into development of this new editor vs maintaining the older “soon to be obsolete” editor.

    Regards,

    Michael
    MyEclipse Support

    #200339 Reply

    rbrindl
    Member

    I have the same error messages, but i dont use jsp:usebean, jsp:get|setProperty.

    I think it has something to do with my configuration, as i get it with all jsp-files in that project (which was existing before)
    i am using struts and its taglibs (including struts-el)
    additionally i get the following message for every struts-tag: _jsp_tag_org_apache_struts_taglib_logic_NotPresentTag$56 cannot be resolved
    (its the same for ALL tags, even for tags different than notPresented !?!?)
    i dont now if it has something to do with it.

    #200357 Reply

    @pholister wrote:


    x de cannot be resolved or is not a valid superclass ksearch.jsp K2AppsNeteg/Web Root/jsp line 1

    x The method getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) in the type JspFactory is not applicable for the arguments (_ksearch$002ejsp$, HttpServletRequest, HttpServletResponse, null, boolean, int, boolean) ksearch.jsp K2AppsNeteg/Web Root/jsp line 1

    x The method getServletConfig() is undefined for the type _ksearch$002ejsp$ ksearch.jsp K2AppsNeteg/Web Root/jsp line 1 November 19, 2003 6:42:53 PM

    I have the same problems on eclipse 2.1.1/myeclipse 2.6.4/JDK 1.4.2_02.

    Strange thing is that when I edit the taglib uri to point to an invalid location (eg. /WEB-INF/struts-logic.tld –> /WEB-INF/xyz/struts-logic.tld) and then change it back to the original the errors disappear !

    Also when saving a JSP eclipse seems not to be able to associate it with the web module. It pops up a dialog requesting me to select the default web module and offering me an empty list to select from … Maybe this is a related problem?

    #200359 Reply

    support-michael
    Keymaster

    Also when saving a JSP eclipse seems not to be able to associate it with the web module. It pops up a dialog requesting me to select the default web module and offering me an empty list to select from … Maybe this is a related problem?

    Your problem description doesn’t sound like MyEclipse behavior. Do you have a Lomboz plugin installed in your environment?
    https://www.genuitec.com/forums/topic/quot-select-the-default-web-module-quot-dialog-empty-c/&highlight=lomboz

    Michael
    MyEclipse Support

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Error icon (red x) in jsp editor, no error in problems view

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