Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于执行 "./bin/startup.sh" 脚本出现 Error: Unable to access jarfile path/to/target/reader.jar 报错问题 #600

Open
GKK2024 opened this issue Oct 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@GKK2024
Copy link

GKK2024 commented Oct 26, 2024

Describe the bug 描述你遇到的问题
问题:
按照 帮助文档(服务器版)部署 "reader-server-3.2.10.zip";在执行 "./bin/startup.sh" 脚本后,启动失败,出现 Error: Unable to access jarfile path/to/target/reader.jar 报错。

解决方法:
在脚本第57行 " NEWEST_JAR=$(ls $BASE_DIR/target | grep -EO 'reader.*.jar' | sort -nr | head -1) ",通过将" grep -EO " 修改为 ” grep -Eo “ 可以解决问题,并顺利通过startup.sh脚本启动"reader-server"。

Expected behavior 期待修复的效果
期待"reader-server-3.2.10.zip"之后的版本修复这个小问题。

版本说明

  • OS: Debian12 i386 Java-jdk17
  • Deploy Method 说明软件部署方式:按照帮助文档 "服务器版" 方法部署
  • Program Version 说明软件版本:v3.2.7是本人最初使用版本,v3.2.10近期升级版本,均有此问题。
  • Browser [e.g. chrome, safari] edge
@GKK2024 GKK2024 changed the title 关于执行 "./bin/startup.sh" 脚本出现 " Error: Unable to access jarfile '*/target/reader.jar' "报错问题 关于执行 "./bin/startup.sh" 脚本出现 Error: Unable to access jarfile path/to/target/reader.jar 报错问题 Oct 26, 2024
@hectorqin hectorqin added the enhancement New feature or request label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants