Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.
This repository was archived by the owner on May 24, 2024. It is now read-only.

sbt build fails #3

Open
Open
@tomersagi

Description

@tomersagi

Running SBT as per the instructions results in the following errors:

[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:22: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.PojoTest
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:22: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.PojoTest
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:31: object dkpro is not a member of package org.apache.uima
[error]           val tt = new org.apache.uima.dkpro.spark.PojoTest("/tmp/")
[error]                                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/LogQuery.scala:31: object dkpro is not a member of package org.apache.uima
[error]           val tt = new org.apache.uima.dkpro.spark.PojoTest("/tmp/")
[error]                                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/MimicSectionExtractor.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/MimicSectionExtractor.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:38: object dkpro is not a member of package org.apache.uima
[error]   @transient val tt = new org.apache.uima.dkpro.spark.SectionSegmenterPojo("ref_doc_section.csv");
[error]                                           ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SectionSegmenterPojo
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SectionExtract.scala:38: object dkpro is not a member of package org.apache.uima
[error]   @transient val tt = new org.apache.uima.dkpro.spark.SectionSegmenterPojo("ref_doc_section.csv");
[error]                                           ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SentenceSegmenterPojo
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:40: object dkpro is not a member of package org.apache.uima
[error]   @transient val tt = new org.apache.uima.dkpro.spark.SentenceSegmenterPojo();
[error]                                           ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:23: object dkpro is not a member of package org.apache.uima
[error] import org.apache.uima.dkpro.spark.SentenceSegmenterPojo
[error]                        ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:40: object dkpro is not a member of package org.apache.uima
[error]   @transient val tt = new org.apache.uima.dkpro.spark.SentenceSegmenterPojo();
[error]                                           ^
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:63: ambiguous implicit values:
[error]  both method newIntEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Int]
[error]  and method newLongEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Long]
[error]  match expected type org.apache.spark.sql.Encoder[U]
[error]     .map(x => tt.analyzeText(x.text).asInstanceOf[String])
[error]         ^
[error] 8 errors found
[error] /home/roott/UimaOnSpark/src/main/scala/fr/aphp/wind/uima/spark/SentenceExtract.scala:63: ambiguous implicit values:
[error]  both method newIntEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Int]
[error]  and method newLongEncoder in class SQLImplicits of type => org.apache.spark.sql.Encoder[Long]
[error]  match expected type org.apache.spark.sql.Encoder[U]
[error]     .map(x => tt.analyzeText(x.text).asInstanceOf[String])
[error]         ^
[info] No documentation generated with unsuccessful compiler run
[error] 8 errors found
[error] (compile:doc) Scaladoc generation failed
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 76 s, completed 19-Jul-2021 11:23:29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions