-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
使用maven package打包后无法执行脚本错误:./startup.sh: bad interpreter: /bin/bash^M: no such file or directory #13
Comments
你检查一下 |
是不是在windows上编译的?可能windows上编译的在linux上运行会有问题,可以直接把bin目录下的脚本换成resources里面的脚本就ok了,后续我跟踪解决下这个问题 js报错的问题已解决 |
对,windows编译的,但是脚本跟在哪个os编译的没关系吧,我看你脚本都是预先写好的,编译后copy到bin目录的 |
建议将所有的换行符换成linux的试一试,我在mac上面打包是没有问题的。 |
^M .. 初看很像win系统与linux系统换行符不一样导致的 |
对,换行符问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
打包后在distribution的proxy-server中,执行startup.sh脚本报错。脚本内容为:
The text was updated successfully, but these errors were encountered: