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
Cant mvn install citrus with Java 1.7 #73
Comments
I've updated to Java 8 and the installation now works, documentation need to be updated in order to alert user that Java 8 is required.
|
Jetty 9.3.6.v20151106 switched to Java 8 although this was only a minor version upgrade, argh! You should be able to run Citrus with Java 7 as long as you are not using citrus-http or citrus-websocket module in your project. If you build Citrus from scratch of course you now have to use Java 8 although Citrus itself is not using any Java 8 features at the moment. You could force Maven to use the previous Jetty version b excluding the dependency from citrus-http:
Now you could add the Jetty Java 7 dependency to your POM and you are ready to go with Java 7 again.
Sorry for that I did not expect Jetty to switch to Java 8 in that version upgrade |
Hi @christophd, I will try to run a test with the this instructions and come back to you asap. |
Hi,
I've configured my env as it says on the readme file, setting up javahome and using java +7:
JAVA_HOME
$ sudo update-alternatives --config java
However the clean install still fails with problems with Jetty Java version problems:
Its clear for me that mvn is compiling the project with a different java version and this is causing the error scenario, however project readme instructions are clear on the point of using 1.7 and this is the one I'm currently using.
Thanks.
The text was updated successfully, but these errors were encountered: