Skip to content

Font Awesome icons not showing when using -Penv-dev or -Denv=dev with mvn jetty:run #9129

@heidivanparys

Description

@heidivanparys

Describe the bug
When starting the Jetty server using mvn -Penv-dev jetty:run or mvn -Denv=dev jetty:run, the Font Awesome icons are not shown. When starting the Jetty server using mvn jetty:run, the Font Awesone icons are shown fine.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the instructions on https://docs.geonetwork-opensource.org/latest/install-guide/installing-from-source-code/
  2. Run GeoNetwork with the embedded Jetty server in the developer environment: mvn -Penv-dev jetty:run (or mvn -Denv=dev jetty:run)
  3. Open http://localhost:8080/geonetwork/
  4. The Font Awesome icons are not shown or shown incorrectly, see screenshot.

Expected behavior
The Font Awesome icons are displayed correctly.

Screenshots
mvn -Penv-dev jetty:run or mvn -Denv=dev jetty:run:
Image

mvn jetty:run:
Image

Log file
log_env_dev.txt
log_no_env.txt

Desktop

  • Browser: Firefox 146.0.1
  • GeoNetwork Version: issue occurs with 4.4.9 (7712567) and 4.4.10-SNAPSNOT commit 86c8dc5
  • Server Application: Jetty 9.4.54.v20240208 and openjdk version "11.0.29" 2025-10-21 LTS
  • Maven 3.9.11

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions