Skip to content

I got some error with the page package object #1608

Closed
@fooSynaptic

Description

@fooSynaptic

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

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