Skip to content

jenkins: scala style check failed #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pinggao187 opened this issue Aug 2, 2021 · 8 comments
Closed

jenkins: scala style check failed #162

pinggao187 opened this issue Aug 2, 2021 · 8 comments

Comments

@pinggao187
Copy link

/opt/work/jenkins/workspace/ZOO-NB-SCALA-StyleCheck/zoo/src/main/java/com/intel/analytics/zoo/grpc/generated/azinference/Prediction.java:242: error: not found: type BuilderParent
      BuilderParent parent) {
      ^
/opt/work/jenkins/workspace/ZOO-NB-SCALA-StyleCheck/zoo/src/main/java/com/intel/analytics/zoo/grpc/generated/azinference/Prediction.java:68: error: not found: type FieldAccessorTable
  protected FieldAccessorTable
            ^
/opt/work/jenkins/workspace/ZOO-NB-SCALA-StyleCheck/zoo/src/main/java/com/intel/analytics/zoo/grpc/generated/azinference/Content.java:242: error: not found: type BuilderParent
      BuilderParent parent) {
      ^
/opt/work/jenkins/workspace/ZOO-NB-SCALA-StyleCheck/zoo/src/main/java/com/intel/analytics/zoo/grpc/generated/azinference/Content.java:68: error: not found: type FieldAccessorTable
  protected FieldAccessorTable
            ^
model contains 1088 documentable templates

jenkins link:
http://10.112.231.51:18888/job/ZOO-NB-SCALA-StyleCheck/1558/console

@pinggao187
Copy link
Author

@pinggao187
Copy link
Author

@Litchilitchy
Copy link
Contributor

Trying to solve this issue

@glorysdj
Copy link
Contributor

glorysdj commented Aug 3, 2021

it's a compile error, not specifically related to style check
please check if class BuilderParent FieldAccessorTable are in classpath

@Litchilitchy
Copy link
Contributor

Litchilitchy commented Aug 4, 2021

Other tests on 2.x, 2.4+, 3.0 all passed. Seems only happens on style check 2.4+ (style check also pass on 3.0)? But in pom there's nothing different with 2.4+ and 3.0

@glorysdj
Copy link
Contributor

glorysdj commented Aug 4, 2021

please refer to scala/bug#9111
seems to be a scala 2.11 compile bug
not fixed in 2.11, need 2.12

also refer to

[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.4.2:doc-jar (attach-scaladocs) on project analytics-zoo-bigdl_0.13.0-spark_2.4.6: MavenReportException: Error while creating archive: wrap: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

@Litchilitchy
Copy link
Contributor

fixed, please check @pinggao18

@pinggao187
Copy link
Author

@liu-shaojun liu-shaojun transferred this issue from intel/BigDL Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants