Open overfullstack opened 3 years ago
The import error is mostly because it is generated. Once you do sbt compile
(once) you might want to close and re-open IDEA. It might help in seeing the generated_sources
under the target
folder.
I just noticed my sbt compile
asked for python and I install v3.9. Now it throws these errors:
My sbt version: 1.4.5 Scala version: 2.11.4 JDK - 1.8 Python - 3.9.1
PS C:\Users\gopalsa> cd .\code-clones\others\suuchi\
PS C:\Users\gopalsa\code-clones\others\suuchi> sbt compile
[info] Loading global plugins from C:\Users\gopalsa.sbt\0.13\plugins
[info] Updating {file:/C:/Users/gopalsa/.sbt/0.13/plugins/}global-plugins...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Loading project definition from C:\Users\gopalsa\code-clones\others\suuchi\project
[info] Updating {file:/C:/Users/gopalsa/code-clones/others/suuchi/project/}suuchi-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 1 Scala source to C:\Users\gopalsa\code-clones\others\suuchi\project\target\scala-2.10\sbt-0.13\classes...
[info] Set current project to suuchi (in build file:/C:/Users/gopalsa/code-clones/others/suuchi/)
[info] Updating {file:/C:/Users/gopalsa/code-clones/others/suuchi/}suuchi...
[info] Resolving org.scala-lang#scala-compiler;2.10.6 ...
[info] Compiling 25 Scala sources to C:\Users\gopalsa\code-clones\others\suuchi\suuchi-core\target\scala-2.11\classes...[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 1 protobuf files to C:\Users\gopalsa\code-clones\others\suuchi\suuchi-examples\target\protobuf-generated
[info] Compiling schema C:\Users\gopalsa\code-clones\others\suuchi\suuchi-examples\src\main\protobuf\example.proto
protoc-jar: protoc version: 340, detected platform: windows 10/amd64
[info] 'compiler-interface' not yet compiled for Scala 2.11.11. Compiling...
protoc-jar: executing: [C:\Users\gopalsa\AppData\Local\Temp\protocjar7452431029208566819\bin\protoc.exe, --plugin=protoc-gen-scala=C:\Users\gopalsa\AppData\Local\Temp\protocbridge1939729815424270791.bat, --scala_out=flat_package,grpc:C:\Users\gopalsa\code-clones\others\suuchi\suuchi-examples\target\protobuf-generated, -IC:\Users\gopalsa\code-clones\others\suuchi\suuchi-examples\src\main\protobuf, -IC:\Users\gopalsa\code-clones\others\suuchi\suuchi-examples\target\protobuf_external, C:\Users\gopalsa\code-clones\others\suuchi\suuchi-examples\src\main\protobuf\example.proto]
Traceback (most recent call last):
File "C:\Users\gopalsa\AppData\Local\Temp\protocbridge5622614986309977588.py", line 6, in
Hi! I imported this project into intellij as sbt project and ran
sbt compile
. I get a lot of compiler errors across the project. Please help me with the steps to setup this repo. Thanks