You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "matianhe3 (via GitHub)" <gi...@apache.org> on 2026/01/17 11:35:01 UTC

[I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

matianhe3 opened a new issue, #9051:
URL: https://github.com/apache/seatunnel/issues/9051

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   locally run seatunnel.sh -c config -m local can work , but can` t start cluster.
   i try jdk 8 and jdk 11.
   
   ### SeaTunnel Version
   
   2.3.9
   
   ### SeaTunnel Config
   
   ```conf
   defaut config
   ```
   
   ### Running Command
   
   ```shell
   `seatunnel-cluster.sh`
   ```
   
   ### Error Exception
   
   ```log
   Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8
   	at org.apache.seatunnel.core.starter.seatunnel.command.ServerExecuteCommand.isAllocatingThreadGetName(ServerExecuteCommand.java:85)
   	at org.apache.seatunnel.core.starter.seatunnel.command.ServerExecuteCommand.checkEnvironment(ServerExecuteCommand.java:74)
   	at org.apache.seatunnel.core.starter.seatunnel.command.ServerExecuteCommand.execute(ServerExecuteCommand.java:49)
   	at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
   	at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelServer.main(SeaTunnelServer.java:34)
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "woozhijun (via GitHub)" <gi...@apache.org>.
woozhijun commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-2915479656

   +1 
   I have the same problem.
   I need this version to connect HIVE, How work ? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "matianhe3 (via GitHub)" <gi...@apache.org>.
matianhe3 closed issue #9051: [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8
URL: https://github.com/apache/seatunnel/issues/9051


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-2914520397

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "luzongzhu (via GitHub)" <gi...@apache.org>.
luzongzhu commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-3797771269

   > [luzongzhu](https://github.com/luzongzhu) will you help fix this isue?
   
   Okay, I have submitted a merge before,[fix bug](https://github.com/apache/seatunnel/pull/9547),I will resubmit in the latest version this week


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "matianhe3 (via GitHub)" <gi...@apache.org>.
matianhe3 closed issue #9051: [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8
URL: https://github.com/apache/seatunnel/issues/9051


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-3025933988

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9051: [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8
URL: https://github.com/apache/seatunnel/issues/9051


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-3193067471

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "matianhe3 (via GitHub)" <gi...@apache.org>.
matianhe3 commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-2753396366

   no match lib/ driver.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "matianhe3 (via GitHub)" <gi...@apache.org>.
matianhe3 commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-3989617651

   > > [luzongzhu](https://github.com/luzongzhu) will you help fix this isue?
   > 
   > Okay, I have submitted a merge before,[fix bug](https://github.com/apache/seatunnel/pull/9547),I will resubmit in the latest version this week
   
   it was been resolved? may i close it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-3166228549

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "luzongzhu (via GitHub)" <gi...@apache.org>.
luzongzhu commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-2792153800

   +1
       static boolean isAllocatingThreadGetName() {
           // LOG4J2-2052, LOG4J2-2635 JDK 8u102 ("1.8.0_102") removed the String allocation in
           // Thread.getName()
           if (SystemUtils.IS_JAVA_1_8) {
               try {
                   Pattern javaVersionPattern = Pattern.compile("(\\d+)\\.(\\d+)\\.(\\d+)_(\\d+)");
                   Matcher m = javaVersionPattern.matcher(System.getProperty("java.version"));
                   if (m.matches()) {
                       return Integer.parseInt(m.group(3)) == 0 && Integer.parseInt(m.group(4)) < 102;
                   }
                   return true;
               } catch (Exception e) {
                   return true;
               }
           } else {
               return !SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8);
           }
       }
   The dependency package of org.apache.commons.lang3 is used to verify the Java environment. When the Lib directory references the dependency of org.apache.commons.lang3 of the relevant lower version, it will be overwritten and the corresponding attribute cannot be found


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [zeta] Exception in thread "main" java.lang.NoSuchFieldError: IS_JAVA_1_8 [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on issue #9051:
URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-3763181593

   [luzongzhu](https://github.com/luzongzhu) will you help fix this isue?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org