I'm working on a project with mixed Java and Scala code. I am using Maven for Development Management and IntelliJ IDEA for development. I've added the Maven-JavaWeb plugin to create a Java document, however, it can not be found in all class squares. It keeps on throwing errors as follows:
Warning] Javadoc warning [warning] / users / mshinde / MyProject- code / MLHighway / src / main / java / com / MyProject / analytics / models / Project.java:12: can not find symbol [warning] symbol: class SparkJoiner [warning] location package com.myproject.analytics.jobdriver [warning] import com.myproject.analytics.jobdriver.SparkJoiner; [Warning] ^ [Warning] /Users/mshinde/myproject-code/MLHighway/src/main/java/com/myproject/analytics/model/DataSetkjava:l2: can not find symbol [warning] symbol: square transformer [Warning] Location: package com.myproject.analytics.jobdriver [Warning] import com.myproject.analytics.jobdriver.Transformer; [Warning] ^ [Warning] /Users/mshinde/myproject-code/MLHighway/src/main/java/com/myproject/analytics/dataview/ImpalaViewkjava:3: Symbol [alert] can not find symbol: class SparkClassificationMetrics [Warning] Location: package com.myproject.analytics.framework.evaluator [Warning] import com.myproject.analytics.framework.evaluator.SparkClassificationMetrics; [Warning] ^ [Warning] /Users/mshinde/myproject-code/MLHighway/src/main/java/com/myproject/analytics/dataview/ImpalaView.java:212: Package SparkClassificationMetrics does not exist [Warning] SparkClassificationMetrics.SparkMetrics sparkMetrics ) {[warning] ^
my directory structure is as follows:
src / main / java / com / MyProject / analytics scala / com / MyProject / Analytics
I am able to compile the project and am running it. I just want to know how to get rid of warnings? How can I get Javadock to Scala classes? thank you in advanced.
No comments:
Post a Comment