Closed
Description
I followed the tutorial of package object
And prepared scala scripts with follow directory format:
./gardening/
./gardening//fruits
./gardening//fruits/Fruit.scala
./gardening//fruits/package.scala
And run script scala PrintPlanted.scala
parallize with gardening dir
but got exception as follow:
PrintPlanted.scala:7: error: not found: value fruits
for (fruit <- fruits.planted) {
^
PrintPlanted.scala:8: error: not found: value showFruit
showFruit(fruit)
^
Can you help me to figure out this issue?
Metadata
Metadata
Assignees
Labels
No labels