facebook

no color in jsp editor

💡
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 IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #223673 Reply

    BeteGomiero
    Member

    My jsp files doesn’t colorize in MyEclipse Editor. It displays all in black with white background.

    I have already tried to go to “Windows – Preference – MyEclipse – JSP – JSP Style” – then hit “Apply” and “OK” but nothing happened.

    I have also right clicked on my file and checked if it was really using MyEclipse Editor. (tried opened with)

    – System Setup ——————————-
    Operating System and version: Win2000
    Eclipse version: 3.1.0
    Eclipse build id: 200412162000
    Fresh Eclipse install (y/n):Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: tortoisesvn
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.8.3 (trial version)
    Eclipse JDK version: j2sdk 1.4.2_05
    Application Server JDK version: j2sdk 1.4.2_05 (Tomcat 5.0.28)
    Are there any exceptions in the Eclipse log file?
    yes – see below

    !SESSION 2005-01-21 15:29:19.248 ———————————————–
    eclipse.buildId=I20041216-2000
    java.version=1.4.2_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:19.258
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:19.659
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:19.789
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:19.919
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:20.39
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:20.189
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:20.380
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:20.520
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:20.710
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:20.890
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 1 2005-01-21 15:29:21.50
    !MESSAGE Installed snippet library: C:\Arquivos de programas\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.3\snippets\struts_tiles_snippets.xml

    !ENTRY org.eclipse.ui.ide 4 4 2005-01-21 16:05:22.751
    !MESSAGE Unable to find persective com.genuitec.myeclipse.perspective.myeclipseperspective in BasicNewProjectResourceWizard.updatePerspective

    !ENTRY com.ibm.sse.editor 4 4 2005-01-21 16:08:20.908
    !MESSAGE error loading class class for com.ibm.sse.model.jsp.jspsource
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/ui/text/comment/ITextMeasurement
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
    at java.lang.Class.getConstructor0(Class.java:1930)
    at java.lang.Class.newInstance0(Class.java:278)
    at java.lang.Class.newInstance(Class.java:261)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:171)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:151)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:138)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
    at com.ibm.sse.editor.extension.ExtendedConfigurationBuilder.createExtension(Unknown Source)
    at com.ibm.sse.editor.extension.ExtendedConfigurationBuilder.createConfiguration(Unknown Source)
    at com.ibm.sse.editor.extension.ExtendedConfigurationBuilder.getConfiguration(Unknown Source)
    at com.ibm.sse.editor.StructuredTextEditor.createSourceViewerConfiguration(Unknown Source)
    at com.ibm.sse.editor.StructuredTextEditor.updateSourceViewerConfiguration(Unknown Source)
    at com.ibm.sse.editor.StructuredTextEditor.update(Unknown Source)
    at com.ibm.sse.editor.StructuredTextEditor.setModel(Unknown Source)
    at com.ibm.sse.editor.StructuredTextEditor.doSetInput(Unknown Source)
    at com.ibm.sse.editor.jsp.StructuredTextEditorJSP.doSetInput(Unknown Source)
    at org.eclipse.ui.texteditor.AbstractTextEditor$15.run(AbstractTextEditor.java:2273)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:322)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:269)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1949)
    at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2291)
    at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2309)
    at com.ibm.sse.editor.StructuredTextEditor.init(Unknown Source)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:117)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createSourcePage(Unknown Source)
    at com.genuitec.eclipse.webdesigner.jspeditor.JSPMultiPageEditorPart.createSourcePage(Unknown Source)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(Unknown Source)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:191)
    at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:148)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.internal.PartPane.doCreateChildControl(PartPane.java:144)
    at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:349)
    at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:218)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1026)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1008)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1183)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:383)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:281)
    at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:791)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:777)
    at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:900)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:651)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:637)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2207)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2139)
    at org.eclipse.ui.internal.WorkbenchPage.access$5(WorkbenchPage.java:2131)
    at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2117)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2112)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
    at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
    at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:100)
    at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:120)
    at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:318)
    at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:651)
    at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:405)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:659)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:657)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:876)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:975)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448)
    at org.eclipse.ui.internal.Workbench.runEventLoop(- System
    Workbench.java:1569)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:710)
    at org.eclipse.core.launcher.Main.main(Main.java:694)

    !ENTRY com.ibm.sse.editor 4 4 2005-01-21 16:08:20.958
    !MESSAGE error loading class class for com.ibm.sse.model.jsp.jspsource
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/ui/text/comment/ITextMeasurement
    ….

    I am concerned my evaluation time will expire and I couldn’t even had the chance to try it.
    I would appreciate any help on this asap.

    #223676

    Riyad Kalla
    Member

    !ENTRY com.ibm.sse.editor 4 4 2005-01-21 16:08:20.908
    !MESSAGE error loading class class for com.ibm.sse.model.jsp.jspsource
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/ui/text/comment/ITextMeasurement

    It looks like you are trying to run MyEclipse ontop of Eclipse RCP or Eclipse Platform install, you need to be using the Eclipse SDK Download (~85mb).

    #223686

    BeteGomiero
    Member

    thanks for your prompt reply but I am not sure if I understood it.

    Do you mean that I have downloaded the wrong Eclipse or that I am running MyEclipse from the wrong place?

    I am sure I have downloaded Eclipse SDK 3.1M4 win 32 (at least that is the name of the zip file) and unpacked it on my C:/ (root) driver.
    Then I downloaded MyEclipse following the instructions on this website and installed it. (file EnterpriseWorkbenchInstaller_030803)

    I had to include this line in my Eclipse shortcut:
    -vm c:\j2sdk1.4.2_05\bin\javaw.exe
    in order to open it to install MyEclipse.

    After installing MyEclipse plugin, I had the same problem to try to open it.
    So, I included the same line above in MyEclipse shortcut which became as below:

    C:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2_05\bin\javaw.exe -vmargs -Duser.language=en -Xmx512M -Dosgi.splashLocation=”C:\Arquivos de programas\MyEclipse\MyEclipseSplash.bmp”

    So, is there something wrong with my MyEclipse shortcut?
    or is my Eclipse downloaded file wrong?
    or is my MyEclipse downloade file wrong?

    #223687

    Riyad Kalla
    Member

    I am sure I have downloaded Eclipse SDK 3.1M4 win 32 (at least that is the name of the zip file) and unpacked it on my C:/ (root) driver.
    Then I downloaded MyEclipse following the instructions on this website and installed it. (file EnterpriseWorkbenchInstaller_030803)

    Ahh ok, wrong version of Eclipse SDK. MyEclipse doesn’t support Eclipse 3.1 platform just yet (But our next release, 3.8.4 due out this week) will. So maybe you can wait a day or two for that and then reinstall against Eclipse 3.1M4 SDK and all will be right with the world again.

    -vm c:\j2sdk1.4.2_05\bin\javaw.exe

    This is a good line to have as it will allow MyEclipse to find the javac executable it needs to run for JSP validation. We will lift this requirement soon, but for now we need it.

    -Dosgi.splashLocation=”C:\Arquivos de programas\MyEclipse\MyEclipseSplash.bmp”

    I don’t know why you needed this or what the MyEclipseSplash.bmp file is, I’m not aware of MyEclipse changing the default Eclipse splash screen during startup, however I always use the Manual Installs, so this might be new.

    So, is there something wrong with my MyEclipse shortcut?
    or is my Eclipse downloaded file wrong?
    or is my MyEclipse downloade file wrong?

    No, yes, no. Just see my notes above. Either downgrade to Eclipse 3.0.1 and use MyEclipse 3.8.3, or wait for our 3.8.4 release which will have an Eclipse 3.0 version and an Eclipse 3.1 version. You will want to grab the Eclipse 3.1 compatible version, then you can install it against the version of Eclipse you are running right now and it should work fine.

    Sorry for the misunderstanding at first, I jumped to conclusions because of the exception that I’ve seen before.

    #223694

    BeteGomiero
    Member

    Thanks for your help. I might wait for the new MyEclipse release.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: no color in jsp editor

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