maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (Jira)" <>
Subject [jira] [Commented] (SUREFIRE-1810) Surefire plugin SurefireBooterForkException if path has Spaces in the name
Date Fri, 26 Jun 2020 18:10:00 GMT


Tibor Digana commented on SUREFIRE-1810:

but i understand it. I was talking about it in my comment about the system property *java.library.path*.
This is in the dump file:
*Caused by: java.lang.ClassNotFoundException: Project\myProject\context.src.main.resources*

The space caused that the JVM thinks that the string behind the space is class name.

We can try to upgrade {{maven-shared-utils}} and we will see the outcome in the CLI. But you
can do it as well and install Surefire project with skipped tests. Just clone the Surefire
project from Github.

> Surefire plugin SurefireBooterForkException if path has Spaces in the name
> --------------------------------------------------------------------------
>                 Key: SUREFIRE-1810
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M4
>         Environment: OS:	Microsoft Windows 10 Pro 10.0.19041 Build 19041
> Maven: 3.6.3
> Java: "11.0.7" 2020-04-14 LTS | Java(TM) SE Runtime Environment 18.9 (build 11.0.7+8-LTS)
| Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)
>            Reporter: Tiago Jorge Proença Gaspar Casinhas
>            Priority: Major
>              Labels: newbie
>         Attachments: 2020-06-26T09-50-50_242.dumpstream, dump2.txt
> When I attempt to run tests using `mvn clean install` or similar commands that run through
the verify phase, I get a SurefireBooterForkException if the path to my project contains any
> Example: +C:\Users\tcasinhas\Documents\Git\My Project\mproj-subproj-cases+
> If I remove the space, the build runs sucessfully.
> Example: +C:\Users\tcasinhas\Documents\Git\My-Project\mproj-subproj-cases+
> Notes:
>  I ommited the company and project name, but left everything else in the dump as is.

This message was sent by Atlassian Jira

View raw message