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] inlong-sort occurs ClassNotFoundException: og.objenesis..ClassUtils #2130

Closed
2 tasks done
liaorui opened this issue Jan 10, 2022 · 0 comments · Fixed by #2136
Closed
2 tasks done

[Bug] inlong-sort occurs ClassNotFoundException: og.objenesis..ClassUtils #2130

liaorui opened this issue Jan 10, 2022 · 0 comments · Fixed by #2136
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@liaorui
Copy link
Contributor

liaorui commented Jan 10, 2022

What happened

wecom-temp-43d757d1e8da72283631423407304ac4

What you expected to happen

inlong-sort/pom.xml import mockito-core, but scope is test. objenesis will not be packaged in final all-in-one jar.

<dependency>
    <groupId>org.mockito</groupId>
    <artifactId>mockito-core</artifactId>
    <version>${mockito.version}</version>
    <scope>test</scope>
</dependency>

How to reproduce

just pull the latest master code, packages, and run sort-core-***.jar in Flink, the error will occur.

Environment

No response

InLong version

master

InLong Component

InLong Sort

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@liaorui liaorui added the type/bug Something is wrong label Jan 10, 2022
@liaorui liaorui changed the title [Bug] sort occurs ClassNotFoundException: og.objenesis..ClassUtils [Bug] SORT occurs ClassNotFoundException: og.objenesis..ClassUtils Jan 10, 2022
@liaorui liaorui changed the title [Bug] SORT occurs ClassNotFoundException: og.objenesis..ClassUtils [Bug] inlong-sort occurs ClassNotFoundException: og.objenesis..ClassUtils Jan 10, 2022
@dockerzhang dockerzhang added this to the 0.13.0 milestone Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
2 participants