Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ditto-dev] Scala compiler issue with Intellij IDEA

Hello everyone

I wanted to provide some feedback on this. 

I have tested the environment using Intelijj IDEA on Mac (fresh install) and it worked fine.

I let IDEA install the java and scala dependencies and I had no issues.

Thank you.

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Em segunda-feira, 3 de janeiro de 2022 às 18:50, Domício Medeiros via ditto-dev <ditto-dev@xxxxxxxxxxx> escreveu:
Hi Thomas

Thank you!

Then our setup is the same. I have Scala 2.13 in the Global libraries. It is stranger because I've tested this in Ubuntu 21 and Windows 10 and the result was the same. The ditto-rql-parser shows the error inside IDEA.

I'll try a fresh install in a virtual machine and see how it goes.

I'm using OpenJDK 11 and Scala 2.13. My JDK is installed using coursier, but I don't think that should be an issue. Also the environment variables are all set.

I'll let you know if I make any progress.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Em segunda-feira, 3 de janeiro de 2022 às 08:02, Jaeckle Thomas (IOC/PAP-DDM-TH) <Thomas.Jaeckle@xxxxxxxx> escreveu:

Hi Domicio.


Happy new year to you as well, thanks for the wishes 😊


I use Scala 2.13.3 – you have to use Scala 2.13, with Scala 3 we did not yet test the build.

In IntelliJ IDEA the “Project Structure” must have the Scala SDK in “Global Libraries” – there is also a built-in functionality to download a Scala SDK from IntelliJ.


I hope that fixes your IDE issues.



Mit freundlichen Grüßen / Best regards

Thomas Jäckle

Bosch IoT Suite - Things (IOC/PAP-DDM-TH)
Bosch.IO GmbH | Ziegelei 7 | 88090 Immenstaad | GERMANY |

Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411 B
Aufsichtsratsvorsitzender: Stefan Koss; Geschäftsführung: Dr. Andreas Nauerz, Yvonne Reckling

From: ditto-dev <ditto-dev-bounces@xxxxxxxxxxx> On Behalf Of Domício Medeiros via ditto-dev
Sent: Sonntag, 2. Januar 2022 00:35
To: ditto-dev@xxxxxxxxxxx
Cc: Domício Medeiros <domicio.medeiros@xxxxxxxxxxxxxx>
Subject: [ditto-dev] Scala compiler issue with Intellij IDEA


Hello all.


First of all happy new year!!! I hope you are well.


I am experiencing a problem in the [ditto-rql-parser] project. The class depends on RqlPredicateParser.scala, but apparently the .java class can´t see the scala package: org.eclipse.ditto.rql.parser.internal.


I have tried updating the Scala plugin in Intellij IDEA, but that didn´t work.


I have also tried to change the Scala compiler configuration to Scala then Java, Mixed and Java then Scala, but also no help.


What is the Scala compiler are you using (version or plugin)? I know the Java version is 11.


One side note: everything works fine when I build the project using the command line using maven, the issue is inside the IDE only.


Thank you in advance for any help on how to build the project.





Sent with ProtonMail Secure Email.


Back to the top