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] Some resultType is wrong in mapper #1604

Closed
2 tasks done
ruanwenjun opened this issue Oct 10, 2021 · 2 comments · Fixed by #1605
Closed
2 tasks done

[Bug] Some resultType is wrong in mapper #1604

ruanwenjun opened this issue Oct 10, 2021 · 2 comments · Fixed by #1605
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@ruanwenjun
Copy link
Member

ruanwenjun commented Oct 10, 2021

What happened

Cannot start InLong manager module, due to ClassNotFoundException.

e.g. org.apache.inlong.manager.common.pojo.dataproxy.DataProxyConfig need to change to org.apache.inlong.manager.dao.entity.DataProxyConfig
https://github.com/apache/incubator-inlong/blob/73d149610e1d88913a65529a5bb003bf1ea058a7/inlong-manager/manager-dao/src/main/resources/mappers/BusinessEntityMapper.xml#L100-L107

What you expected to happen

Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'org.apache.inlong.manager.common.pojo.dataproxy.DataProxyConfig'.  Cause: java.lang.ClassNotFoundException: Cannot find class: org.apache.inlong.manager.common.pojo.dataproxy.DataProxyConfig
	at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120)
	at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149)
	at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116)
	... 123 common frames omitted
Caused by: java.lang.ClassNotFoundException: Cannot find class: org.apache.inlong.manager.common.pojo.dataproxy.DataProxyConfig
	at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196)
	at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89)
	at org.apache.ibatis.io.Resources.classForName(Resources.java:261)
	at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116)
	... 125 common frames omitted

How to reproduce

Start InLongWebApplication

InLong version

master

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@ruanwenjun ruanwenjun added the type/bug Something is wrong label Oct 10, 2021
@ruanwenjun
Copy link
Member Author

This issue is in master branch, we also need to add masrer version in the bug-report.yml

@dockerzhang
Copy link
Contributor

This issue is in master branch, we also need to add masrer version in the bug-report.yml

@shink PTAL

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
Development

Successfully merging a pull request may close this issue.

2 participants