question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Can't run in Springboot application

See original GitHub issue

When I use spring-boot-maven-plugin to build a jar and use java -jar demo.jar, it dosen’t run and throws exception.

java.nio.file.NoSuchFileException: /BOOT-INF/lib/driver-bundle-0.180.0.jar!/driver/win32_x64 at com.sun.nio.zipfs.ZipPath.getAttributes(ZipPath.java:666) at com.sun.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:294) at java.nio.file.Files.readAttributes(Unknown Source) at java.nio.file.FileTreeWalker.getAttributes(Unknown Source) at java.nio.file.FileTreeWalker.visit(Unknown Source) at java.nio.file.FileTreeWalker.walk(Unknown Source) at java.nio.file.FileTreeIterator.<init>(Unknown Source) at java.nio.file.Files.walk(Unknown Source) at java.nio.file.Files.walk(Unknown Source) at com.microsoft.playwright.impl.DriverJar.extractDriverToTempDir(DriverJar.java:58) at com.microsoft.playwright.impl.DriverJar.<init>(DriverJar.java:18) … 17 more

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
AhmedRiyadcommented, Mar 5, 2021

@yury-s I have just tried, and the issue has been fixed in my case. Thanks a lot, really appreciated.

1reaction
arkasandrcommented, Mar 4, 2021

@AhmedRiyad I had the same problem with 0.180.0 version. I’ve manually added to \lib\driver-bundle-0.180.0.jar in my project and start with -Dloader.path=lib/ org.springframework.boot.loader.PropertiesLauncher in my Dockerfile. And everything is good now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - spring boot can't run - Stack Overflow
I think that you have to point to a parent POM where dependencies are stored: <parent> <groupId>org.springframework.boot</groupId> ...
Read more >
can't debug spring boot project by "spring-boot:run" - YouTrack
1. Open Maven Projects tool window. · 2. Select spring-boot:run goal in the tree: <your-application> -> Plugins -> spring-boot:run · 3. Open the...
Read more >
Unable to run spring boot app · Issue #60060 · microsoft/vscode
Compile a spring boot app. Click on run from the Spring-Boot Dashboard; The following error is shown: Failed to launch debuggee VM. Reason:...
Read more >
Spring Boot Error ApplicationContextException - Baeldung
The simple solution to fix our error would be to annotate our MainEntryPoint class with the @SpringBootApplication annotation. By using this ...
Read more >
Developing with Spring Boot
Spring Boot does not require any specific code layout to work. ... You can run a Spring Boot application from your IDE as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found