facebook

Can’t open JSP in MyEclipse 7.0

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #293134 Reply

    This message has not been recovered.

    #293149 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #293204 Reply

    Yes, I used All-in-1 installer. Using ME7 trial.

    Happens with any JSP I tried. The workaround it to open them in MyEclipse JSP editor.
    But you loose all the visuals (which is bad, I am reverse engineering web app).

    Here is Installation Details:
    *** Date:
    Wednesday, January 7, 2009 9:13:34 AM EST

    ** 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
    configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll

    Here is one JSP I use:

    <!– $Header: /export/spare/cvs/local/repository/UST-PCCOTC/Java/otc-ear/otc-web/WebRoot/AccountLocked.jsp,v 1.4 2006/09/06 20:37:24 yge Exp $ –>
    <%@ taglib uri=”/WEB-INF/FrameworkTagLib.tld” prefix=”otc”%>
    <otc:document docTypeValidation=”loose” />
    <%@ page import=”web.common.WebConstants”%>
    <html>
    <head>
    <title><%=web.common.WebConstants.APP_TITLE%></title>
    <link rel=”stylesheet” type=”text/css” href=”css/<%=WebConstants.CSS%>”>
    </head>
    <script type=”text/javascript”>
    javascript:window.history.forward(1);
    </script>

    <body onKeyPress=”window.event.keyCode == 13 ? window.event.keyCode = 0 : window.event.keyCode = window.event.keyCode;”>
    <otc:noScript />
    <div style=”text-align:center”>
    <table width=”100%” border=”0″ cellspacing=”1″ cellpadding=”4″ class=”pageBlock” height=”100%” summary=””>
    <tr>
    <td height=”15″>
    <div style=”text-align:center”>
    <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ summary=””>
    <tr>
    <td>
    <span class=”textReg”><b>Operation Invalid</b> </span>
    </td>
    <td>
    <div style=”text-align:right”>
    </div>
    </td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <tr>
    <td>
    <div style=”text-align:center”>
    <table border=”0″ cellspacing=”2″ cellpadding=”2″ summary=””>
    <tr>
    <td>
    <div style=”text-align:center”>
    <p>
    <span class=”textReg14″><b>Your Account is Locked.<br> Please contact the System
    Administrator.</b> </span>
    </p>
    </div>
    </td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    </table>
    </div>
    </body>
    </html>

    #293254 Reply

    Loyal Water
    Member

    I was unable to reproduce this issue with the MyEclipse Visual JSP Editor. What editor are you working with?

    Can you switch to a new workspace and check if you run into the same issue.

    #293269 Reply

    My project was a normal Eclipse Web project (not MyEclipse).
    I imported it to MyEclipse7, then added MyEclipse Struts capability to it.
    Can that be the reason that I can not use Visual JSP Editor ? If so, what can I do to make it work?
    It does work OK in normal MyEclipse JSP Editor (non-Visual).

    Thank you,
    Oleg.

    #293303 Reply

    Loyal Water
    Member

    Oleg,
    If you create a new MyEclipse web project and transfer you file to this new project, does the jsp open up without issues?

    Importing the Eclipse project could be causing the problem here.

    #296170 Reply

    Leon Xia
    Member

    I am experiencing the identical issue. Every step “Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor’s class name was mistyped in plugin.xml.”

    JSP file open with MyEclipese JSP editor, but not MyEclipse Visual JSP editor. It was working. Every symptom is identical as what the previous post described. \

    Please contace me at lxia@cubist.com

    Thanks
    Leon Xia

    #296209 Reply

    Loyal Water
    Member

    Hi Leon,
    I will continue helping you on esupport to resolve this issue. That will help us maintain a single thread of conversation.

    #298520 Reply

    Tim McGuire
    Member

    Same problem here. The jsps were opening just fine on Friday. Today, they are dying with the same error.

    #298529 Reply

    mcgyver5,
    Can you give us more information on this.
    1. Can you copy your installation details? You can get them from MyEclipse > Installation Summary > Installation Details.
    2. What are the type of projects you are working on?
    3. If your ME set up is similar to that of Leons i would suggest you to move on to ME7.1.1 and update pulse to 2.4.2.
    To update pulse, the following are the steps:
    1. Help > Manage My Eclipse Plugins
    2. On the dashboard, click on install against the latest version of pulse.
    3. Click finish to install pulse update.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Can’t open JSP in MyEclipse 7.0

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