facebook

JSP Problem with no description

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #307659 Reply

    Mickey Barton
    Participant

    MyEclipse 8.5., JDK 1.6.0

    In my jsp page I get an error listed in the first line of text in the file no matter what the line of text is, right now it is just a hidden comment.
    The following 3 lines of code are the start of my JSP. Blank line followed by 2 comments.

    <%– –%>
    <%– Search Criteria –%>

    If I delete the first comment line it then flags the next comment line as haviing an error.

    The error has no discription in the Problems tab.
    None of my other JSP’s are having this problem.

    If I view the same page in ME 7.5 it does not show anything being wrong.

    #307668 Reply

    mlbartonsr,
    Can you give some more information?
    1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
    2. Are there any relevant errors when you open that JSP in the log file located at workspace dir > .metadata > .log?
    Please clear the log file and save it before looking for any relevant errors.
    3. Can you send us a screen shot showing the issue. You can use the PM button at the end of the post.

    #307679 Reply

    Mickey Barton
    Participant

    Installation details
    ##############################################################################################
    *** Date:
    Thursday, April 15, 2010 10:56:32 AM CDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.5
    Build id: 8.5-20100319

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.5
    Build id: 8.5-20100319

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Genuitec\MyEclipse_8.0\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    D:/Genuitec/Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    D:/Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/Genuitec/MyEclipse_8.0
    -configuration
    configuration
    -vm
    D:/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
    ##############################################################################################

    I have emailed you the info from my .log file you requested. I will include it here also.
    ##############################################################################################!!SESSION 2010-04-15 10:37:56.127 ———————————————–
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.jface 2 0 2010-04-15 10:38:17.813
    !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2010-04-15 10:38:17.813
    !MESSAGE A conflict occurred for SHIFT+DEL:
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
    ,
    Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
    Cut the selection to the clipboard,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    org.eclipse.ui.internal.handlers.WidgetMethodHandler@d6e0df,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.dialogAndWindow,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
    Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)

    !ENTRY org.eclipse.ui.workbench 2 0 2010-04-15 10:40:10.245
    !MESSAGE A handler conflict occurred. This may disable some commands.
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-04-15 10:40:10.245
    !MESSAGE Conflict for ‘com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug’:
    HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
    handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@e72b6c,
    expression=,sourcePriority=0)
    HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
    handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@d3d889,
    expression=,sourcePriority=0)##############################################################################################

    #307691 Reply

    mlbartonsr,
    Thank you for the details and the screen shot.
    Can you try cleaning your project? From the menu bar select Project > Clean.
    Also, can you switch to a new workspace, create a new web project and paste this JSP and check if the issue persists?

    #307804 Reply

    Mickey Barton
    Participant

    Tried both of these and neither one worked. I thinking that some kind of error was found in the jsp but no message is associated with the error since this is the only jsp in my app that is having this problem. If/when I track it down I will let you know.

    #307812 Reply

    mlbartonsr,
    Can you clarify if there are any errors in the problems tab. Please open Window > Show View > Problems and check if there are any errors listed for that JSP.

    #307831 Reply

    Mickey Barton
    Participant

    Yes there is one problem in the problem tab. I have sent you a screen shot. It flags the comment line as having an error.

    #307832 Reply

    Mickey Barton
    Participant

    I found the issue with the JSP page. I had used MyEclipse’s Source/Toggle Comment feature to comment out several lines of code. This inserts HTML comments not JSP comments. Since there was a reference to a java constant <%=SOMETHING %> in the commented code it was not being ignored by the validator. switched to using JSP comments and this resolved the problem.

    Given this, is there any chance that the Source/Toggle Comments feature could be modified to have the intellegence to use JSP type comments when it is used on a JSP file and HTML type commnents when it is being used on an HTML file? It already has the intellegence to use java style comments on .java files.

    #307833 Reply

    Mickey Barton
    Participant

    I found the issue with the JSP page. I had used MyEclipse’s Source/Toggle Comment feature to comment out several lines of code. This inserts HTML comments not JSP comments. Since there was a reference to a java constant <%=SOMETHING %> in the commented code it was not being ignored by the validator. switched to using JSP comments and this resolved the problem.

    Given this, is there any chance that the Source/Toggle Comments feature could be modified to have the intellegence to use JSP type comments when it is used on a JSP file and HTML type commnents when it is being used on an HTML file? It already has the intellegence to use java style comments on .java files.

    #307849 Reply

    mlbartonsr,
    Good to know that you are all set.

    is there any chance that the Source/Toggle Comments feature could be modified to have the intellegence to use JSP type comments when it is used on a JSP file and HTML type commnents when it is being used on an HTML file?

    Comments inserted with this editor are JSP comments, whereas the comments inserted by “MyEclipse Visual JSP Designer” are HTML Comments.
    Can you clarify if you are opening the editor with “MyEclipse JSP Editor”?
    Can you please open the editor with “MyEclipse JSP Editor” and check if the issue persists?

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: JSP Problem with no description

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