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

使用COLA 5.0 新建项目时编译报错,默认jdk设置为1.8,但实际是有些component是jdk17打包的,是不是不支持1.8了? #571

Open
sanheng1shu opened this issue Jan 24, 2025 · 0 comments

Comments

@sanheng1shu
Copy link

sanheng1shu commented Jan 24, 2025

mvn archetype:generate
-DgroupId=com.alibaba.cola.demo.web
-DartifactId=demo-web
-Dversion=1.0.0-SNAPSHOT
-Dpackage=com.alibaba.demo
-DarchetypeArtifactId=cola-framework-archetype-web
-DarchetypeGroupId=com.alibaba.cola
-DarchetypeVersion=5.0.0

构建失败,并报错
无法访问com.alibaba.cola.dto.MultiResponse
错误的类文件: /.m2/repository/com/alibaba/cola/cola-component-dto/5.0.0/cola-component-dto-5.0.0.jar(com/alibaba/cola/dto/MultiResponse.class)
类文件具有错误的版本 61.0, 应为 52.0
请删除该文件或确保该文件位于正确的类路径子目录中。

@sanheng1shu sanheng1shu changed the title 使用COLA 5.0 新建项目时编译报错,原因是client module中的引用在父POM中没写入 使用COLA 5.0 新建项目时编译报错,默认jdk设置为1.8,但实际是有些component是jdk17打包的,是不是不支持1.8了? Jan 24, 2025
@sanheng1shu sanheng1shu reopened this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant