generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 53
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersstale
Milestone
Description
Seeing following error in code plan output:
ERROR - 2025-03-06 21:22:59,897 - kai.kai.reactive_codeplanner.task_manager.task_manager - Thread-1 - [task_manager.py:99 - execute_task()] - Unhandled exception executing task OtherError<loc=/Users/pgaikwad/Projects/coolstore/target:-1:-1, message=Unknown error occurred during Maven build.>(priority=6(0), depth=1, retries=0)
Traceback (most recent call last):
File "kai/reactive_codeplanner/task_manager/task_manager.py", line 97, in execute_task
File "contextlib.py", line 81, in inner
File "kai/reactive_codeplanner/task_runner/compiler/compiler_task_runner.py", line 83, in execute_task
IsADirectoryError: [Errno 21] Is a directory: '/Users/pgaikwad/Projects/coolstore/target'
This happens because something ends up being classified as OtherError and the file path for that error is set to target dir. Here's the maven output:
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< com.redhat.coolstore:coolstore >-------------------
[INFO] Building coolstore-quarkus 1.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ coolstore ---
[INFO] Deleting /Users/pgaikwad/Projects/coolstore/target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ coolstore ---
[INFO] Copying 2516 resources from src/main/resources to target/classes
[INFO]
[INFO] --- quarkus:3.12.3:generate-code (default) @ coolstore ---
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ coolstore ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 25 source files with javac [debug release 21] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.117 s
[INFO] Finished at: 2025-03-06T21:25:37+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project coolstore: Fatal error compiling: error: release version 21 not supported -> [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/MojoExecutionException
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersstale
Type
Projects
Status
🆕 New