What kind of job is this? If this is a Maven job, it will not work with JDK 6 due to the integration with Jenkins. Use a freestyle job instead.
On 03.06.2015, at 12:42, Constantin J <[email protected]> wrote: > Hi, I'm trying to build a Project with an older version of the JDK. > > I have configured Jenkins to run with Java 1.7 (SE) and to build with JDK 1.6 > and Maven 2.2.1. > > The build however fails with the exception "javax/servlet/ServletException : > Unsupported major.minor version 51.0" > The Servlet API 3.x doesn't support Java 1.7, thus I suspect Jenkins/Maven is > loading the wrong libraries. > Where can I configure this, so my project will compile? > > greetings > Constantin > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/440abd67-dcf4-46ce-8cf1-ee46b211aa73%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3E56A094-3138-4BC1-BBE6-BE50B9A56CCC%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
