Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

lein run-client gives "Unsupported major.minor version 51.0" #5

Closed
r00k opened this issue Apr 11, 2014 · 4 comments
Closed

lein run-client gives "Unsupported major.minor version 51.0" #5

r00k opened this issue Apr 11, 2014 · 4 comments

Comments

@r00k
Copy link

r00k commented Apr 11, 2014

noodle% lein run-client 
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/server/Handler : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
@r00k
Copy link
Author

r00k commented Apr 11, 2014

Please let me know what other info I can provide to help diagnose this. Thanks!

@bellkev
Copy link
Owner

bellkev commented Apr 11, 2014

I'm guessing this is because lein-httpd (which is the simple little webserver I included to serve up static files in the dev profile) uses Jetty 9, which requires Java 1.7 (a.k.a. 51.0).

Are you using Java 1.7? If not, you can either switch to Java 1.7 or use some other dev web server.

@dviramontes
Copy link

installing java 1.7 helped. Thanks!

@bellkev
Copy link
Owner

bellkev commented Apr 19, 2014

Glad to hear it!

@bellkev bellkev closed this as completed Apr 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants