spacemacs java lsp 无法安装,求助

错误信息大约是这样的

Server is not installed. Do you want to install it? (y or n) y Contacting host: raw.githubusercontent.com:443 Wrote /tmp/lsp-java-install3PeBw0/pom.xml Contacting host: raw.githubusercontent.com:443 Wrote /tmp/lsp-java-install3PeBw0/mvnw Contacting host: raw.githubusercontent.com:443 Wrote /tmp/lsp-java-install3PeBw0/.mvn/wrapper/MavenWrapperDownloader.java Contacting host: raw.githubusercontent.com:443 Wrote /tmp/lsp-java-install3PeBw0/.mvn/wrapper/maven-wrapper.properties Running sh mvnw -Djdt.js.server.root=/home/xxxx/.emacs.d/eclipse.jdt.ls/server/ -Djunit.runner.root=/home/xxxx/.emacs.d/eclipse.jdt.ls/server/test-runner -Djunit.runner.fileName=junit-platform-console-standalone.jar -Djava.debug.root=/home/xxxx/.emacs.d/eclipse.jdt.ls/server/bundles clean package -Djdt.download.url=https://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz

mvnw:行1: 未预期的符号“newline”附近有语法错误

mvnw:行1: `!DOCTYPE html>’ <括号去掉了不然显示不出来

File local-variables error: (user-error Failed to install lsp server using ’sh mvnw -Djdt.js.server.root=/home/xxxx/.emacs.d/eclipse.jdt.ls/server/ -Djunit.runner.root=/home/xxxx/.emacs.d/eclipse.jdt.ls/server/test-runner -Djunit.runner.fileName=junit-platform-console-standalone.jar -Djava.debug.root=/home/xxxx/.emacs.d/eclipse.jdt.ls/server/bundles clean package -Djdt.download.url=https://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz’)

pom.xml里面是这样的

好像无法显示出html内容

主要内容只有一句 site not found