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

Can't Run Tests #257

Closed
petems opened this issue Dec 29, 2014 · 3 comments
Closed

Can't Run Tests #257

petems opened this issue Dec 29, 2014 · 3 comments

Comments

@petems
Copy link
Contributor

petems commented Dec 29, 2014

exceptionGettingDataFromGraphiteIsHandled(com.seyren.core.util.graphite.GraphiteHttpClientTest)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.UnsupportedClassVersionError: org/eclipse/jetty/server/Handler : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)

From googling, it's because the maven settings are pointing at an older java version, but OSX Yosemite requires Java Version > 1.7.0_71 because of https://bugs.openjdk.java.net/browse/JDK-8027686

I've got a change I want to make but I can't run the tests...

Any ideas?

@neilprosser
Copy link
Collaborator

Strange. I've just run the tests (mvn clean verify -Pkarma) on Yosemite using both 1.7.0_71 and 1.8.0_25 (both using Maven 3.2.5) and they ran fine.

Is that the same command you used?

@petems
Copy link
Contributor Author

petems commented Jan 4, 2015

Yeah, it's particularly an issue with the way that boxen runs java and maven it turns out.

Closing for this: boxen/puppet-java#51

@petems petems closed this as completed Jan 4, 2015
@neilprosser
Copy link
Collaborator

Thanks for letting us know.

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

2 participants