Skip to content

[Bug] describe the main problemException in thread "main" BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 61 #2351

Closed

Description

@liming1010

Bug Type (问题类型)

server status (启动/运行异常)

Before submit

  • 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 1.0.0 (Apache Release Version)

Expected & Actual behavior (期望与实际表现)

运行gremlin-console.sh 脚本出现错误:
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:969)

Vertex/Edge example (问题点 / 边数据举例)

无

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

无

Activity

  1. imbajin commented on Nov 16, 2023

    @imbajin
    Member

    maybe could search Unsupported class file major version 61 directly, seems u use the mismatch Java version(env)?

    and u could try server's docker images to avoid the env problem, then find the difference (if the docker images 1.0.0 have the same problem but the latest image doesn't, could refer the PR[1] below)

    refer:

  2. liming1010 commented on Nov 21, 2023

    @liming1010
    Author

    ok , is woking
    env of jdk21, need jdk11
    How long will jdk21 be supported

  3. locked and limited conversation to collaborators on Nov 21, 2023
  4. converted this issue into a discussion #2357 on Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions