Closed michaelcordero closed 4 years ago
Hi,
Since you are running in --offline
mode you will need to have downloaded all the dependencies previously into your gradle cache.
Try toggling the -button off so you are in online mode. It should start downloading your dependencies.
@johndevs Ok that worked. Thanks! One more question, how do I get IntelliJ's debugger to work with gretty/appRun/jettyRunDebug? I keep getting the:
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
error.
You will need to run the application with the jettyRunDebug or appRunDebug Gradle tasks and attach a remote debugger. @mvysny has made a great video about that here https://youtu.be/M0Q7D03bYXc?t=341.
The application will be running on port 8080 once you have successfully attached the remote debugger. You usually get that exception if you are trying to access the application via the debugger port (5005).
Hi John, ok the suggestions made in the video worked, but for anyone that comes across the issue, it might be good to post the link with the actual instructions here. Also, I think it would be helpful to mention this issue on your website. Not having debug mode made me seriously consider just trying an entirely different framework. At any rate thanks for answering my questions.
@michaelcordero You are right, the documentation is lacking in this regard. I think everybody is going to hit this issue when starting out with the plugin so it is important that this would be documented as good as possible.
Desktop (please complete the following information):
Describe the bug The devsoap license plugin has transitive dependencies issues.
To Reproduce
id "com.devsoap.vaadin-flow" version "1.3"
, but this will not work so you have to change it to:id "com.devsoap.vaadin-flow" version "1.3.beta5"
.id "org.gretty" version '2.3.1'
. If you try theappRun
task or even thejettyRun
like the website instructions say, you will see the same transitive dependencies error:Expected behavior I expected the
jettyRun
orappRun
with no failures.Screenshots
Additional context Add any other context about the problem here.