Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] NoSuchMethodError in org.eclipse.jdt

Hi,

jdt-core-dev-bounces@xxxxxxxxxxx wrote on 2009-07-23 16:19:43:
> I'm trying to use Jetty (6.1.19) which depends on JDT core (3.1.1). 
Unfortunately I am 
> getting this Error.
> java.lang.NoSuchMethodError:
> org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()
> [Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
You are trying to run version 6.1.19 on Jetty on top of which Eclipse 
build ?

> This is apparently a very common problem, but I can't find any answers. 
It looks like 
> the JDT core people changed the API, and it is being used in a way were 
this does not 
Correction.
internal packages are not part of the JDT API. They can be used but there 
is absolutely no garantee that they won't be removed or changed.
org.eclipse.jdt.internal.compiler.CompilationResult is inside an internal 
package.

> show up at compile time.  I can't get an answer on the Jetty list so I 
thought I would 
At compile time, you should get a discouraged access warning if you didn't 
turn them off.

> try here.  I figure that the JDT people will know which version this 
change happened in,
> and maybe I can manually change the jetty dependencies.  Any information 
about this 
> would be helpful.
In order to help you, I would need access to the source code of the 
version of Jetty you want to fix.

Bugzilla is the preferred way to report such issues. This mailing list is 
reserved to the purpose of developing JDT.
--
Olivier


Back to the top