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 | www.bosch.io
thomas.jaeckle@xxxxxxxx
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
First of all happy new year!!! I hope you are well.
I am experiencing a problem in the [ditto-rql-parser] project. The class RqlPredicateParser.java 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.