我最近安装了Jenkins并使用" Keychains和Provisioning Profiles"添加了所需的钥匙串和配置文件。插件遵循文档https://wiki.jenkins.io/display/JENKINS/Keychains+and+Provisioning+Profiles+Plugin但我在尝试构建作业时遇到此错误。
当我从Xcode构建项目时,一切正常。
play.api.PlayException: Cannot init the Global object[Global : Unsupported major.minor version 52.0]
at play.api.WithDefaultGlobal$$anonfun$play$api$WithDefaultGlobal$$globalInstance$1.apply(Application.scala:57) ~[play_2.10-2.1.1.jar:2.1.1]
at play.api.WithDefaultGlobal$$anonfun$play$api$WithDefaultGlobal$$globalInstance$1.apply(Application.scala:51) ~[play_2.10-2.1.1.jar:2.1.1]
at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[play_2.10-2.1.1.jar:2.1.1]
at play.api.WithDefaultGlobal$class.play$api$WithDefaultGlobal$$globalInstance(Application.scala:50) ~[play_2.10-2.1.1.jar:2.1.1]
at play.api.DefaultApplication.play$api$WithDefaultGlobal$$globalInstance$lzycompute(Application.scala:383) ~[play_2.10-2.1.1.jar:2.1.1]
at play.api.DefaultApplication.play$api$WithDefaultGlobal$$globalInstance(Application.scala:383) ~[play_2.10-2.1.1.jar:2.1.1]
Caused by: java.lang.UnsupportedClassVersionError: Global : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_80]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[na:1.7.0_80]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.7.0_80]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[na:1.7.0_80]
at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[na:1.7.0_80]
at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.7.0_80]
感谢任何帮助。