fxldemo icon indicating copy to clipboard operation
fxldemo copied to clipboard

Cannot build this project out-of-the-box

Open sith opened this issue 5 years ago • 1 comments

I use MacOS and when run mvn clean package receive following error

Caused by: java.nio.file.NoSuchFileException: --cache-dir=USERLIB/FxlDemo at sun.nio.fs.UnixException.translateToIOException (UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:107) at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes (UnixFileAttributeViews.java:55) at sun.nio.fs.UnixFileSystemProvider.readAttributes (UnixFileSystemProvider.java:144) at java.nio.file.Files.readAttributes (Files.java:1737) at java.nio.file.FileTreeWalker.getAttributes (FileTreeWalker.java:219) at java.nio.file.FileTreeWalker.visit (FileTreeWalker.java:276) at java.nio.file.FileTreeWalker.walk (FileTreeWalker.java:322) at java.nio.file.Files.walkFileTree (Files.java:2662) at java.nio.file.Files.walkFileTree (Files.java:2742) at fxlauncher.CreateManifest.create (CreateManifest.java:139) at fxlauncher.CreateManifest.main (CreateManifest.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

How can I trouble shoo the issue?

sith avatar Jul 16 '19 00:07 sith

Remove the <app.cacheDir> property, since the value in the demo project doesn't resolve on Mac :)

edvin avatar Jul 16 '19 07:07 edvin