-
Notifications
You must be signed in to change notification settings - Fork 29
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
External Jetty distribution does not work if 'lib' is in the path #6
Comments
It seems to be related to using custom Jetty instalation. Plugin recognizes the version but then it doesn't work. Also switching back to built-in jetty instalation (jetty 8.x) doesn't help as it seems that the switch doesn't always happen - switched in UI and saved but not effectively. |
Just tried it with Jetty 9.0.7, 9.1.0 and 9.2.1 and the embedded version and all worked. What version are you using? Have you unzipped the whole Jetty package? |
I have jetty-distribution-9.2.2.v20140723 fully unzipped, all the files/jars are there. With switching versions (custom to embedded), it does happen in UI but not if I launch the debug configuration. The switch happens if I change also something else, e.g. adding system scope. |
I created #8 for the dialog issue. |
Just tried Jetty jetty-9.2.3.v20140905 and it works. Are you sure all libs are there? Especially $JETTY_HOME/lib/servlet-api-3.1.jar and $JETTY_HOME/lib/jetty-annotations-* |
I just checked it once again, both files are there. Even checked those 2 jars with |
Which OS are you using? We heard of some problems in MacOS |
I am using Ubuntu 14.04 with GNOME 3.12 as a desktop of my choice. |
I still have the same problem "Failed to resolve ..." in 3.9.0. Now using Ubuntu 15.10 with GNOME 3.16, Eclipse Luna SR 2 (4.4.2). |
I just had exactly this issue on Windows. After some investigation, I realised I had the exploded Jetty in a "lib" directory: "C:\lib\jetty-distribution-9.4.2.v20170220" Jetty, of course, has a lib directory itself. I suspect the double lib structure is confusing the plugin. I don't know whether that is the issue affecting pogo19, but was moving it into a different folder solved the problem for me. |
Bingo, @tsg21 !!! My jetty dirs: |
When I created symlink to my 'lib' directory with different name (and no 'lib' in path), it has started to work. Thanks, @tsg21 :) |
Hello, since update to 3.8.0 I have following problem in either Eclipse Kepler or Luna:
Failed to resolve Jetty dependencies: [.*/servlet-api-.*\.jar, .*/jndi/.*\.jar, .*/annotations/.*\.jar]
For applications without JNDI it fails only on servlet-api-.*.jar
When it first appeared it helped to create fresh new run/debug configuration but it doesn't help anymore.
The text was updated successfully, but these errors were encountered: