facebook

I get an error when I open a jsp file with the visual tool

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

    javaariel
    Member

    Hi every body:

    I am using myeclipse 7.0.
    I get an error when I open a jsp file with the visual tool that have MyEclipse. This is the error:

    
    Could not open the editor: Illegal group reference
    
    
    java.lang.IllegalArgumentException: Illegal group reference
        at java.util.regex.Matcher.appendReplacement(Unknown Source)
        at java.util.regex.Matcher.replaceAll(Unknown Source)
        at java.lang.String.replaceAll(Unknown Source)
        at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.createStaticBindingsFile(DesignEditSystem.java:154)
        at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.createVisualEditor(DesignEditSystem.java:89)
        at com.genuitec.eclipse.webdesigner3.WebDesigner3.createVisualEditor(WebDesigner3.java:94)
        at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createVisualEditor(WebDesignerMultiPageEditor.java:704)
        at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:578)
        at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:343)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
     

    Could anybody tell me wahy is happening this ???

    Regards
    Ariel

    #292511 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #296956 Reply

    javaariel
    Member

    I am sorry for the delay but recently I installed MyEclipse 7.0 again with the update archive and When I create a jsp file and I open that jsp file with the MyEclipse Visual JSP Designer I get the same exception I posted in this topic.

    These are the installation details:

    
    *** Date: 
    lunes 30 de marzo de 2009 10:07:47 AM EDT
    
    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.0
    Build id: 7.0-20081201
    
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.4.0
    Build id: I20080617-2000
    
    
    
    
    Eclipse Platform
    
    Version: 3.4.0.v20080610-9I96EhtEm-T_5LxIsybz-3MdGZmOA3uwv7Ka_M
    Build id: I20080617-2000
    
    
    Eclipse Project SDK
    
    Version: 3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe
    Build id: I20080617-2000
    
    
    Eclipse Graphical Editing Framework GEF
    
    Version: 3.4.1.v20080806-67718083A56B4H2A3213573
    Build id: 200809101400
    
    
    Eclipse RCP
    
    Version: 3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB
    Build id: I20080617-2000
    
    
    Eclipse Java Development Tools
    
    Version: 3.4.0.v20080603-2000-7o7tEAXEFpPqqoXxgaBhhhq
    Build id: I20080617-2000
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC
    Build id: I20080617-2000
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    D:\Ariel\software$\Eclipses\Ganymedes\Eclipse Ganymedes SDK for Windows\eclipse.3.4-mYeCLIPSE\\plugins\org.eclipse.platform_3.3.100.v200806172000\splash.bmp
    -launcher
    D:\Ariel\software$\Eclipses\Ganymedes\Eclipse Ganymedes SDK for Windows\eclipse.3.4-mYeCLIPSE\eclipse.exe
    -name
    Eclipse
    --launcher.library
    D:\Ariel\software$\Eclipses\Ganymedes\Eclipse Ganymedes SDK for Windows\eclipse.3.4-mYeCLIPSE\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114.dll
    -startup
    D:\Ariel\software$\Eclipses\Ganymedes\Eclipse Ganymedes SDK for Windows\eclipse.3.4-mYeCLIPSE\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
    -vm
    C:\Archivos de programa\Java\jre1.6.0\bin\client\jvm.dll
    

    And this is the code of the jsp file:

    
    <%@ 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 'index.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">
        -->
      </head>
      
      <body>
        This is my JSP page. <br>
      </body>
    </html>
    

    Regards
    Ariel

    #296975 Reply

    Loyal Water
    Member

    Ariel,
    It looks like you are working with Java 6. Can you change to JDK 1.5 in the ini file and check if it fixes the issue.

    #297026 Reply

    javaariel
    Member

    I have found the eclipse.ini but I don’t see any option to set the JDK I am using.
    How can I do that ???

    I hope you can help me.
    Regards

    #297042 Reply

    Loyal Water
    Member

    You will have to point the -vm argument to JDK 1.5.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: I get an error when I open a jsp file with the visual tool

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