Static site build failed Java Spring boot maven project

Hello,
I’m trying to deploy a static site, I specified a build command (mvn compile) which failed, publish directory(/main). I use IntelliJ Java Springboot maven project. Kindly assist in this regard, thanks.

Hi there,

Thanks for reaching out.

Our Static Sites don’t have Java/Maven installed, you would need to install that as part of your Build Command (you’d likely need to create a script as I expect it would be multiple commands/steps).

Kind regards

Alan

My static site also fails to build. It’s a site built with mkdocs which requires Python. Python / pip seems to be available as per the installation log (see below) but the error code 127 suggests that a command could not be found. Isn’t the static site deployment using the Native Environment?

render.com/srv-cdgjte02i3mnkshb3odg/deploys/dep-cdgjtfg2i3mnkshb49q0
November 1, 2022 at 4:43 PM [FAILED]
Exited with status 127 while running your code.

Nov 1 04:51:05 PM  ==> Cloning from https://gitlab.com/jnns/xxx...
Nov 1 04:51:06 PM  ==> Checking out commit debcf050c238b87fc758e4cd90dbc7db8f53128c in branch main
Nov 1 04:51:09 PM  ==> Downloading cache...
Nov 1 04:51:17 PM  ==> Still downloading cache...
Nov 1 04:51:42 PM  ==> Using Python version: 3.7.10
Nov 1 04:51:46 PM  ==> Installing dependencies from requirements.txt...
Nov 1 04:51:46 PM  Collecting certifi==2022.9.24
Nov 1 04:51:46 PM    Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
Nov 1 04:51:46 PM  Collecting charset-normalizer==2.1.1
Nov 1 04:51:46 PM    Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Nov 1 04:51:47 PM  Collecting click==8.1.3
Nov 1 04:51:47 PM    Downloading click-8.1.3-py3-none-any.whl (96 kB)
Nov 1 04:51:47 PM  Collecting ghp-import==2.1.0
Nov 1 04:51:47 PM    Downloading ghp_import-2.1.0-py3-none-any.whl (11 kB)
Nov 1 04:51:47 PM  Collecting idna==3.4
Nov 1 04:51:47 PM    Downloading idna-3.4-py3-none-any.whl (61 kB)
Nov 1 04:51:47 PM  Collecting jinja2==3.1.2
Nov 1 04:51:47 PM    Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
Nov 1 04:51:47 PM  Collecting markdown==3.3.7
Nov 1 04:51:47 PM    Downloading Markdown-3.3.7-py3-none-any.whl (97 kB)
Nov 1 04:51:47 PM  Collecting markupsafe==2.1.1
Nov 1 04:51:47 PM    Downloading MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Nov 1 04:51:47 PM  Collecting mergedeep==1.3.4
Nov 1 04:51:47 PM    Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB)
Nov 1 04:51:47 PM  Collecting mkdocs==1.4.1
Nov 1 04:51:47 PM    Downloading mkdocs-1.4.1-py3-none-any.whl (3.6 MB)
Nov 1 04:51:48 PM  Collecting mkdocs-material==8.5.7
Nov 1 04:51:48 PM    Downloading mkdocs_material-8.5.7-py3-none-any.whl (7.5 MB)
Nov 1 04:51:51 PM  Collecting mkdocs-material-extensions==1.1
Nov 1 04:51:52 PM    Downloading mkdocs_material_extensions-1.1-py3-none-any.whl (7.9 kB)
Nov 1 04:51:52 PM  Collecting packaging==21.3
Nov 1 04:51:52 PM    Downloading packaging-21.3-py3-none-any.whl (40 kB)
Nov 1 04:51:52 PM  Collecting pygments==2.13.0
Nov 1 04:51:52 PM    Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Nov 1 04:51:52 PM  Collecting pymdown-extensions==9.7
Nov 1 04:51:52 PM    Downloading pymdown_extensions-9.7-py3-none-any.whl (218 kB)
Nov 1 04:51:52 PM  Collecting pyparsing==3.0.9
Nov 1 04:51:52 PM    Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
Nov 1 04:51:52 PM  Collecting python-dateutil==2.8.2
Nov 1 04:51:52 PM    Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Nov 1 04:51:53 PM  Collecting pyyaml==6.0
Nov 1 04:51:53 PM    Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (596 kB)
Nov 1 04:51:53 PM  Collecting pyyaml-env-tag==0.1
Nov 1 04:51:53 PM    Downloading pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB)
Nov 1 04:51:53 PM  Collecting requests==2.28.1
Nov 1 04:51:53 PM    Downloading requests-2.28.1-py3-none-any.whl (62 kB)
Nov 1 04:51:53 PM  Collecting six==1.16.0
Nov 1 04:51:53 PM    Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Nov 1 04:51:53 PM  Collecting urllib3==1.26.12
Nov 1 04:51:53 PM    Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Nov 1 04:51:53 PM  Collecting watchdog==2.1.9
Nov 1 04:51:53 PM    Downloading watchdog-2.1.9-py3-none-manylinux2014_x86_64.whl (78 kB)
Nov 1 04:51:54 PM  Collecting importlib-metadata; python_version < "3.8"
Nov 1 04:51:54 PM    Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Nov 1 04:51:54 PM  Collecting typing-extensions>=3.10; python_version < "3.8"
Nov 1 04:51:54 PM    Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Nov 1 04:51:54 PM  Collecting zipp>=0.5
Nov 1 04:51:54 PM    Downloading zipp-3.10.0-py3-none-any.whl (6.2 kB)
Nov 1 04:51:54 PM  Installing collected packages: certifi, charset-normalizer, zipp, typing-extensions, importlib-metadata, click, six, python-dateutil, ghp-import, idna, markupsafe, jinja2, markdown, mergedeep, pyparsing, packaging, pyyaml, pyyaml-env-tag, watchdog, mkdocs, pymdown-extensions, mkdocs-material-extensions, pygments, urllib3, requests, mkdocs-material

Hi jnns.

Tagging on to a post about Java/Spring Boot with a Python issue doesn’t feel related. To keep topics focused, please feel free to start a new topic or open a ticket at support@render.com.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.