gradle CAS无法从cas-overlay-template启动

vwoqyblh  于 2023-10-19  发布在  其他
关注(0)|答案(1)|浏览(184)

我试图安装apereo CAS 7从cas-overlay-template在我的localhost我已经安装jdk 17,并已按照指示有和生成thekeystores和证书文件,但没有文件名为cas.properites创建,当我试图运行这个错误抛出的项目

> Task :run FAILED
Error: Could not find or load main class Files\dotnet\;C:\Program
Caused by: java.lang.ClassNotFoundException: Files\dotnet\;C:\Program

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\lenovo\Desktop\cas\cas-overlay-template\gradle\tasks.gradle' line: 28

* What went wrong:
Execution failed for task ':run'.
> Process 'command 'C:\Program Files\Java\jdk-17\bin\java.exe'' finished with non-zero exit value 1
l7wslrjt

l7wslrjt1#

  • CAS 7现在需要Java 21
  • 你的问题是你在Windows上运行,必须处理Java安装路径中的空格。

相关问题