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

Burcu commented on MNG-6430:
----------------------------

Hi Tibor,
I use D:\jdk 1.8.0 181\jdk1.8.0_181\bin? because of I have no authority on the 
computer.  so I can't define the path. I run *mvn tidy:pom* and it gave build 
success message.

I remove all the dependency surefire-junit4 from the POM. But the problem is 
not solved.

But when I run test at commandline, the tests did not go on. I ran tests on 
intellij and it gives same exception:

IntelliJ Exception:
java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.UnsatisfiedLinkError: Native Library D:\jdk 1.8.0 
181\jre1.8.0_181\bin\glass.dll already loaded in another classloader



> 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)

Reply via email to