facebook

Yet Another JSP Won’t Open in MyEclipse 3.1.2

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #250710 Reply

    tcordova
    Member

    Ok… I’ve looked at the other posts related to this error and, while they’re similar to my problem, they’re not quite the same.

    oops… much too long of a post… please see the next post for the bug info

    #250712

    tcordova
    Member

    I’m running Eclipse 3.1.2 and MyEclipse 4.1.1 GA on XP Pro SP2 — VM 1.5.0

    I have 2 copies of the same exact jsp file in 2 different projects… when I try to open it in Project 1 it opens just fine in either designer, but when I try to open it in Project 2 I get the following info in the log file:

    
    !SESSION 2006-04-19 10:17:16.720 -----------------------------------------------
    eclipse.buildId=M20060118-1600
    java.version=1.5.0_06
    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 com.genuitec.eclipse.core 1 0 2006-04-19 10:17:41.408
    !MESSAGE Unable to locate .myeclipse.properties file
    
    !ENTRY org.eclipse.ui 4 0 2006-04-19 10:17:42.954
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.webdesigner.jsp: An error has occurred when initializing the input for the the editor's source page.
    !STACK 0
    An error has occurred when initializing the input for the the editor's source page.
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:275)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:258)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1221)
        at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:949)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:944)
        at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2576)
        at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1819)
        at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2566)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2515)
        at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514)
        at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
        at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1258)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1512)
        at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1491)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    
    

    Here’s the JSP file I’m trying to open:

    
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ page import="com.daiwausa.restrictedlist.jsf.RestList" %>
    <%@ page import="javax.faces.context.FacesContext" %>
    <%@ page import="javax.faces.el.ValueBinding" %>
    
    <f:loadBundle basename="com.daiwausa.codedesc.jsf.CodeDescBundle" var="Message"/>
    
    <html>
        <head>
            <link href="../resources/portlet_style.css" type="text/css" rel="stylesheet"/>
        </head>
        <body>
            Some text here
        </body>
    </html>
    

    If I remove the taglib and page import references (see below), then the file opens just fine in any project.

    
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ page import="com.daiwausa.restrictedlist.jsf.RestList" %>
    <%@ page import="javax.faces.context.FacesContext" %>
    <%@ page import="javax.faces.el.ValueBinding" %>
    
    #250804

    I have the same problem. Any suggestions?

    #250806

    I followed the instructions at the bottom of this thread and it fixed the problem

    https://www.genuitec.com/forums/topic/error-editing-html-files-in-myeclipse-4-0m2/#post-250805

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Yet Another JSP Won’t Open in MyEclipse 3.1.2

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