You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2019/06/11 10:42:00 UTC

[jira] [Commented] (MNG-6430) UnsatisfiedLinkError:Native Library jdk1.8.0_121\jre\bin\glass.dll already loaded in another classloader

    [ https://issues.apache.org/jira/browse/MNG-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860804#comment-16860804 ] 

Tibor Digana commented on MNG-6430:
-----------------------------------

[~Kalkan]
I have checked the files you attached in Jira and I see that there are two problems.
I think it is positive, because the first problem (see pictures) are related to your IDEA project and not Surefire. The second issue looks also simple because you use different plugin version and different provider version or you use JUnit5 provider for Surefire from JUnit5 team (do not do it) - see {{java.lang.NoSuchMethodError: org.apache.maven.surefire.report.RunListener.testSetStarting(Lorg/apache/maven/surefire/report/ReportEntry;)V}} and https://issues.apache.org/jira/secure/attachment/12939385/2018-09-11T16-32-01_814-jvmRun1.dump

> UnsatisfiedLinkError:Native Library jdk1.8.0_121\jre\bin\glass.dll already loaded in another classloader
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-6430
>                 URL: https://issues.apache.org/jira/browse/MNG-6430
>             Project: Maven
>          Issue Type: Bug
>          Components: Class Loading
>            Reporter: Burcu
>            Assignee: Tibor Digana
>            Priority: Major
>              Labels: ClassLoader, Classloader, classloader, glass, unsatisfiedLinkError
>         Attachments: 2018-09-11T16-32-01_814-jvmRun1.dump, 2018-09-11T16-32-01_814-jvmRun2.dump, 2018-09-12T13-28-04_278-jvmRun1.dump, glassdll.jpg, mvnTest.jpg, plugin.jpg, pom.xml, pom.xml, runAllTest.jpg
>
>
> Although I made the linkte and tried other solutions, I could not resolve the glass.dll not found error. I'm looking for a solution to this issue that is long-lasting. I'm using Powermock and TestFx. I have encountered this problem since I started working with both. I would like to try if you offer a solution in this regard. Below you will find some images of the fault.
> [https://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)