The minimal JDK support is 1.8, which came from the whole community survey, and PMC consensus. No plan to add them back.
孙连山 <[email protected]>于2020年6月2日 周二下午6:14写道: > Thanks, I have updated the jdk to 251, but it doesn't work. I have lots of > applications based on java 7, jetty 8 and spring 3.x. it seems the > skywalking 7 cannot work well, is any suggestions ? > > > > > > -- > > 谢谢, > 孙连山 > > > > > > At 2020-06-02 15:50:51, "Sheng Wu" <[email protected]> wrote: > >Your error seems only related to the project very much. > >Do you include the toolkit in your class path? This is only the Java 101 > > > >孙连山 <[email protected]>于2020年6月2日 周二上午10:38写道: > > > >> Hi, Sheng, > >> > >> > >> > >> I run a app with agent on my pc and got a ClassNotFoundException while > >> using the 'apm-toolkit-trace(7.0.0)' library. This is a spriing boot > >> project based on jdk 8, the version of skywalking is 7, please see my > code > >> snippet below. > >> > >> > >> @RequestMapping(value = "/testHeartBeat", method = RequestMethod.GET) > >> public RestHandlingResult testHeartBeat() { > >> String traceId = TraceContext.traceId(); > >> HeartBeat heartBeat = new HeartBeat(800); > >> return RestHandlingResult.success(heartBeat); > >> } > >> the exception is shown below: > >> > >> > >> Caused by: java.lang.ClassNotFoundException: > >> org.apache.skywalking.apm.toolkit.trace.TraceContext > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > >> ~[?:1.8.0_51] > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > ~[?:1.8.0_51] > >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > >> ~[?:1.8.0_51] > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_51] > >> at > >> > org.springframework.boot.devtools.restart.classloader.RestartClassLoader.loadClass(RestartClassLoader.java:144) > >> ~[spring-boot-devtools-2.1.9.RELEASE.jar:2.1.9.RELEASE] > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ~[?:1.8.0_51] > >> ... 83 more > >> > >> > >> > >> > >> -- > >> > >> 谢谢, > >> 孙连山 > > > >-- > >Sheng Wu 吴晟 > > > >Apache SkyWalking > >Apache Incubator > >Apache ShardingSphere, ECharts, DolphinScheduler podlings > >Zipkin > >Twitter, wusheng1108 > -- Sheng Wu 吴晟 Apache SkyWalking Apache Incubator Apache ShardingSphere, ECharts, DolphinScheduler podlings Zipkin Twitter, wusheng1108
