sjsonnet icon indicating copy to clipboard operation
sjsonnet copied to clipboard

Class "package$" is in the default package

Open pula2000 opened this issue 6 years ago • 2 comments

When running below code I get the above error -

SjsonnetMain.main0(
        new String[]{"foo.jsonnet"},
        sjsonnet.SjsonnetMain.createParseCache(),
        System.in,
        System.out,
        System.err,
        os.package$.MODULE$.pwd(),
        scala.None$.empty()
    );

with expression os.package$.MODULE$.pwd().

pula2000 avatar Aug 27 '19 20:08 pula2000

Can you provide a self-contained repro?

lihaoyi-databricks avatar Sep 09 '19 08:09 lihaoyi-databricks

I run into the same error and found the following working: new Path(Paths.get(".").toAbsolutePath()

tweise avatar Oct 12 '20 20:10 tweise