Skip to content
Advertisement

Eclipse JDT core Java runtime error – java.lang.NoSuchMethodError

I could not find any helping document regarding this error hence I am posting this question.

I am trying to use locally built Eclipse JDT core jar in my project. I followed the flowing steps.

  1. Created an eclipse workspace as described in Link
  2. Built eclipse.jdt.core using the mvn -P build-individual-bundles package
  3. Added the resulting jar file that is created in the target folder to my project (i.e., project A) as a maven dependency.

After the above steps, I could successfully compile project A and now it gives me the following runtime error.

JavaScript

pom.xml of the project is given below

JavaScript

Does anybody have any idea about the runtime error? Thanks a lot!

Advertisement

Answer

Do experiments on org.eclipse.core version. You might need to upgrade the version of org.eclipse.birt.runtime. Select the version that contains the method SubMonitor.split().

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement