Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » M2 JSP Edtior no highlighting and code assist
M2 JSP Edtior no highlighting and code assist [message #64272] Tue, 11 January 2005 02:58 Go to next message
Eclipse UserFriend
Originally posted by: ufel2522.ms13.hinet.net

I installed M2 version Web Tools and created a Dynamic Web Project (J2EE
Project) which associated with Tomcat 4.1.3 server.

I have three problems:

1. Every thing seems good but when i open a jsp file, no any highlight and
code assist?

2. When i create a jsp file, it showed "Updating JSP Index (Error...)"
Here is my log file:
!ENTRY org.eclipse.core.runtime 4 2 一月 11, 2005 10:55:24.181
!MESSAGE An internal error occurred during: "Updating JSP Index".
!STACK 0
java.lang.NoSuchFieldError: indexLocations
at
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSuppo rt.computeIndexLocation(JSPSearchSupport.java:453)
at
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSuppo rt.addJspFile(JSPSearchSupport.java:302)
at
org.eclipse.jst.jsp.core.internal.java.search.JSPIndexManage r$ProcessFilesJob.run(JSPIndexManager.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

3. Finally, i tried to install newest version (N2005011).
When i open a jsp file, i got a error message "Unable to create part".
Here is my log file:

!ENTRY org.eclipse.core.runtime 4 2 銝€??11, 2005 10:43:55.90
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.jdt.ui.text.JavaSourceViewerConfiguration.getAut oEditStrategies(Lorg/eclipse/jface/text/source/ISourceViewer ;Ljava/lang/String;)[Lorg/eclipse/jface/text/IAutoEditStrate gy;
at
org.eclipse.jst.jsp.ui.StructuredTextViewerConfigurationJSP. getAutoEditStrategies(StructuredTextViewerConfigurationJSP.j ava:111)
at
org.eclipse.wst.sse.ui.StructuredTextViewer.configure(Struct uredTextViewer.java:372)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2379)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:275)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.createPartContro l(StructuredTextEditor.java:861)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
...

How can i solve these problems?
thanks for your help. :)
Re: M2 JSP Edtior no highlighting and code assist [message #64295 is a reply to message #64272] Tue, 11 January 2005 04:22 Go to previous messageGo to next message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Tue, 11 Jan 2005 02:58:35 +0000 (UTC), Bear <ufel2522@ms13.hinet.net> wrote:

> How can i solve these problems?

The problems you mentioned sound just like those others have reported when they try to run on a 3.0x base of Eclipse. We're are strictly on 3.1 (M4). That, and the specific prereqs listed on the build page are critical.

If you confirm you have Eclipse 3.1, M4, and all the right prereqs, you might want to open a bugzilla, attaching all logs, config info, etc., (available from 'help').

Good luck. Thanks for starting early with us.
Re: M2 JSP Edtior no highlighting and code assist [message #64361 is a reply to message #64295] Tue, 11 January 2005 08:02 Go to previous message
Eclipse UserFriend
Originally posted by: ufel2522.ms13.hinet.net

David Williams wrote:

> On Tue, 11 Jan 2005 02:58:35 +0000 (UTC), Bear <ufel2522@ms13.hinet.net>
wrote:

>> How can i solve these problems?

> The problems you mentioned sound just like those others have reported when
they try to run on a 3.0x base of Eclipse. We're are strictly on 3.1 (M4).
That, and the specific prereqs listed on the build page are critical.

> If you confirm you have Eclipse 3.1, M4, and all the right prereqs, you
might want to open a bugzilla, attaching all logs, config info, etc.,
(available from 'help').

> Good luck. Thanks for starting early with us.

Thanks for your help :)
I solved my problem!

Web Tools Platform cool!!
Expect release version sincerely.
Previous Topic:Including a Project into a Web Project
Next Topic:dtd validation problem
Goto Forum:
  


Current Time: Mon Dec 30 15:56:27 GMT 2024

Powered by FUDForum. Page generated in 0.03599 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top