Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [seatunnel-web] run failed , because of jsqlparser.version change 4.5 to 4.9 #8650

Open
2 of 3 tasks
tzk007 opened this issue Feb 12, 2025 · 1 comment
Open
2 of 3 tasks
Labels

Comments

@tzk007
Copy link

tzk007 commented Feb 12, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When seatunnel code is newer than 2024-11-09, seatunnel-web run failed because of [https://github.com//pull/7928 ], change jsqlparser.version 4.5 to 4.9

SeaTunnel Version

2.3.9

SeaTunnel Config

null

Running Command

null

Error Exception

2025-02-12 15:34:15.681 seatunnel zhaokai-MBP.local WARN [tr:,sp:] [main] [AbstractApplicationContext.refresh():591] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logoutAspect': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDaoImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userMapper' defined in file [/Users/tianzhaokai/personal_code/seatunnel-web/seatunnel-server/seatunnel-app/target/classes/org/apache/seatunnel/app/dal/mapper/UserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mybatisPlusInterceptor' defined in class path resource [org/apache/seatunnel/app/config/MybatisPlusConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor]: Factory method 'mybatisPlusInterceptor' threw exception; nested exception is java.lang.NoClassDefFoundError: net/sf/jsqlparser/statement/select/SelectExpressionItem

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

@tzk007 tzk007 added the bug label Feb 12, 2025
@tzk007
Copy link
Author

tzk007 commented Feb 12, 2025

I think the mybatisplus version is old, you may consider upgrading to the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant