Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just run fails if module without scr folder exist #45

Open
zelaskoa opened this issue Feb 14, 2023 · 0 comments
Open

Just run fails if module without scr folder exist #45

zelaskoa opened this issue Feb 14, 2023 · 0 comments

Comments

@zelaskoa
Copy link

Hi, when running "just run mymodule" then i get the following error. Problem is that i have a module without src folder

java.nio.file.NoSuchFileException: "path/to/my/project/coverage/src/main"
at java.base@17.0.5/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base@17.0.5/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
at java.base@17.0.5/java.nio.file.Files.readAttributes(Files.java:1851)
at java.base@17.0.5/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base@17.0.5/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base@17.0.5/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
at java.base@17.0.5/java.nio.file.Files.walkFileTree(Files.java:2804)
at java.base@17.0.5/java.nio.file.Files.walkFileTree(Files.java:2882)
at io.methvin.watcher.PathUtils.recursiveVisitFiles(PathUtils.java:108)
at io.methvin.watcher.PathUtils.initWatcherState(PathUtils.java:78)
at io.methvin.watcher.DirectoryWatcher.(DirectoryWatcher.java:190)
at io.methvin.watcher.DirectoryWatcher$Builder.build(DirectoryWatcher.java:122)
at com.maciejwalkowiak.just.command.run.maven.FileSystemWatcherImpl.watch(FileSystemWatcherImpl.java:27)
at com.maciejwalkowiak.just.command.run.maven.MultiModuleRunner.run(MultiModuleRunner.java:47)
at com.maciejwalkowiak.just.command.run.RunCommand.execute(RunCommand.java:103)
at com.maciejwalkowiak.just.command.BaseCommand.call(BaseCommand.java:49)
at com.maciejwalkowiak.just.command.BaseCommand.call(BaseCommand.java:16)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at com.maciejwalkowiak.just.PicoCliRunner.run(PicoCliRunner.java:24)
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:751)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1291)
at com.maciejwalkowiak.just.Just.runSpringApp(Just.java:60)
at com.maciejwalkowiak.just.Just.main(Just.java:43)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant