本地打包报错

未结 提问 0 33
新人
新人 2025-05-24 23:33:18
悬赏:20 收藏
本地运行正常,打包时 报错 : [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project jeepay-core: Compilation failure [ERROR] /F:/02_workspace/javaspace/jeepay-master/jeepay-core/src/main/java/com/jeequan/jeepay/core/beans/RequestKitBean.java:[23,52] 无法访问org.springframework.beans.factory.annotation.Autowired [ERROR] 错误的类文件: F:\02_workspace\moven_Repository\java\org\springframework\spring-beans\6.1.16\spring-beans-6.1.16.jar(org/springframework/beans/factory/annotation/Autowired.class) [ERROR] 类文件具有错误的版本 61.0, 应为 52.0 [ERROR] 请删除该文件或确保该文件位于正确的类路径子目录中。 是版本太高了嘛? <!-- 继承:Spring Boot Parent --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.3.7</version> </parent>
本周热议
本地打包报错 0

冀ICP备19034523号-6
Copyright © 2017 - 2025 Jeequan. All Rights Reserved. 计全科技 版权所有