-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild_output.log
More file actions
45 lines (45 loc) · 6.01 KB
/
Copy pathbuild_output.log
File metadata and controls
45 lines (45 loc) · 6.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< com.example:DevHub >-------------------------
[INFO] Building DevHub 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.4.1:clean (default-clean) @ DevHub ---
[INFO] Deleting C:\Users\HP\OneDrive\Documents\Desktop\DevHub\DevHub\target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ DevHub ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 15 resources from src\main\resources to target\classes
[INFO]
[INFO] --- compiler:3.14.0:compile (default-compile) @ DevHub ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 26 source files with javac [debug parameters release 17] to target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/HP/OneDrive/Documents/Desktop/DevHub/DevHub/src/main/java/com/example/DevHub/Controller/AuthController.java:[11,52] cannot access org.springframework.beans.factory.annotation.Autowired
bad class file: C:\Users\HP\.m2\repository\org\springframework\spring-beans\6.2.8\spring-beans-6.2.8.jar(org/springframework/beans/factory/annotation/Autowired.class)
class file has wrong version 61.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.433 s
[INFO] Finished at: 2025-12-21T12:45:35+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile (default-compile) on project DevHub: Compilation failure
[ERROR] /C:/Users/HP/OneDrive/Documents/Desktop/DevHub/DevHub/src/main/java/com/example/DevHub/Controller/AuthController.java:[11,52] cannot access org.springframework.beans.factory.annotation.Autowired
[ERROR] bad class file: C:\Users\HP\.m2\repository\org\springframework\spring-beans\6.2.8\spring-beans-6.2.8.jar(org/springframework/beans/factory/annotation/Autowired.class)
[ERROR] class file has wrong version 61.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException