码迷,mamicode.com
首页 > 其他好文 > 详细

jdk版本对应数字

时间:2018-04-23 00:08:27      阅读:1520      评论:0      收藏:0      [点我收藏+]

标签:ica   org   1.4   cto   XML   line   setting   sse   AC   

  org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0‘ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean ‘brave.spring.webmvc.SpanCustomizingHandlerInterceptor#1fbc355‘ of type [brave.spring.webmvc.SpanCustomizingHandlerInterceptor] while setting bean property ‘interceptors‘ with key [0]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [brave.spring.webmvc.SpanCustomizingHandlerInterceptor] for bean with name ‘brave.spring.webmvc.SpanCustomizingHandlerInterceptor#1fbc355‘ defined in ServletContext resource [/WEB-INF/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: brave/spring/webmvc/SpanCustomizingHandlerInterceptor : Unsupported major.minor version 51.0 (unable to load class brave.spring.webmvc.SpanCustomizingHandlerInterceptor)
 
  这是因为编译jdk版本(jdk1.7)高于运行是版本(jdk1.6造成的);
 
  下面是jdk版本对应数字:
 
  Java SE 9 = 53,
  Java SE 8 = 52,
  Java SE 7 = 51,
  Java SE 6.0 = 50,
  Java SE 5.0 = 49,
  JDK 1.4 = 48,
  JDK 1.3 = 47,
  JDK 1.2 = 46,
  JDK 1.1 = 45

jdk版本对应数字

标签:ica   org   1.4   cto   XML   line   setting   sse   AC   

原文地址:https://www.cnblogs.com/xiashiwendao/p/8910137.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!