Procfile failed for java
Hi, trying to import a heroku app into railway but I got an error when it runs the procfile. Contents below:
web: java -Dserver.port=$PORT -jar ./build/libs/pidir-0.1.jar
The error seems to indicate that java isn't on the class path, is this procfile approach not supported?
Let me know if you'd like the see the logs
Thanks!
3 Replies
could you send the error?
sure
========================
Container Start Failure!
========================
rpc error: code = Unknown desc = Failed to start container: "java" executable file not found in $PATH unknown
https://github.com/railwayapp/nixpacks @meadowhawk please make a bug report
GitHub
GitHub - railwayapp/nixpacks: App source + Nix packages + Docker = ...
App source + Nix packages + Docker = Image. Contribute to railwayapp/nixpacks development by creating an account on GitHub.