You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running SpringBoot application the argfile is generated correctly but wrongly passed to shell so java fails saying the argfile in not found.
When I press Run on Spring Application:
Sun 19 Jan 2025 17:29:17 AEDT
/usr/bin/env /Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home/bin/java @/var/folders/gj/169h7wq975b_6l3c0v687wz40000gn/T/cp_6p5jtxjkaymno1ghwdpwvy9zj.argfile com.example.Application
example ❯ /usr/bin/env /Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home/bin/java @/var/folders/gj/169h7wq975b_6l3c0v687wz40000gn/T/cp_6p5jtxymno1ghwdpwvy9zj.ar
gfile com.example.Application
Error: could not open `/var/folders/gj/169h7wq975b_6l3c0v687wz40000gn/T/cp_6p5jtxymno1ghwdpwvy9zj.argfile'
The correct (existing) file is cp_6p5jtxjkaymno1ghwdpwvy9zj.argfile while what is passed to the command is cp_6p5jtxymno1ghwdpwvy9zj.argfile. As we can see some characters ('jka') is removed from the file name.
My work around was to create a symbolic link to from wrong file to the correct file and the am able to run/debug now.
-rw-r--r-- 1 ali staff 7.1K 19 Jan 17:23 /var/folders/gj/169h7wq975b_6l3c0v687wz40000gn/T/cp_6p5jtxjkaymno1ghwdpwvy9zj.argfile
lrwxr-xr-x 1 ali staff 85B 19 Jan 17:22 /var/folders/gj/169h7wq975b_6l3c0v687wz40000gn/T/cp_6p5jtxymno1ghwdpwvy9zj.argfile -> /var/folders/gj/169h7wq975b_6l3c0v687wz40000gn/T/cp_6p5jtxjkaymno1ghwdpwvy9zj.argfile
Extension version: 1.39.2025011708
VS Code version: Code 1.96.4 (Universal) (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Darwin arm64 24.1.0
Modes:
Type: Bug
When running SpringBoot application the argfile is generated correctly but wrongly passed to shell so java fails saying the argfile in not found.
When I press Run on Spring Application:
The correct (existing) file is
cp_6p5jtxjkaymno1ghwdpwvy9zj.argfile
while what is passed to the command iscp_6p5jtxymno1ghwdpwvy9zj.argfile
. As we can see some characters ('jka') is removed from the file name.My work around was to create a symbolic link to from wrong file to the correct file and the am able to run/debug now.
Extension version: 1.39.2025011708
VS Code version: Code 1.96.4 (Universal) (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Darwin arm64 24.1.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
The text was updated successfully, but these errors were encountered: