casteng / i-pascal

A free Object Pascal language plugin for IntelliJ IDEA
111 stars 34 forks source link

Error when building or debugging #55

Open Detlev1 opened 1 year ago

Detlev1 commented 1 year ago

Hi, every time I try to build or debug any pascal code, I get this error: Pascal 'test' production: java.lang.NoClassDefFoundError: com/intellij/CommonBundle I´m using IntelliJ 2022.2 and tried multiple versions of the free pascal SDK. Also, in 50% of cases it throws an IDE error on startup. Maybe this is related to that. Can anyone help me here?

me-sha commented 1 month ago

From what I read, newer Idea versions with the error: java.lang.NoClassDefFoundError: com/intellij/CommonBundle might simply missing <depends>com.intellij.java</depends> in the plugin.xml. Building this plugin from source does not seem to be a trivial endeavor judging by #50

Anyways, I found Idea 2021.3 to be the latest working version for the latest plugin version 2.80, but not without some errors and I only tested to build and run a hello world program. No such errors with Idea version 2020.2. Your millage may vary. https://www.jetbrains.com/idea/download/other.html