[
https://issues.apache.org/jira/browse/MNG-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617244#comment-16617244
]
Burcu commented on MNG-6430:
----------------------------
When I remove
<configuration>
<forkCount>1</forkCount>
</configuration>
from surefire plugin it is not run. It's saying *Listening for transport
dt_socket at address: 5005* and not go on.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
<forkCount>1</forkCount>
</configuration>
</plugin>
"D:\jdk 1.8.0 181\jdk1.8.0_181\bin\java.exe"
-Dmaven.multiModuleProjectDirectory=D:\ys03_YERLISINYAL03-29207\sysadmin
-Dmaven.home=D:\Apache\maven -Dclassworlds.conf=D:\Apache\maven\bin\m2.conf
"-javaagent:C:\Users\burcu.yapici\AppData\Roaming\JetBrains\IntelliJ IDEA
Community Edition
2018.2.2\lib\idea_rt.jar=62533:C:\Users\burcu.yapici\AppData\Roaming\JetBrains\IntelliJ
IDEA Community Edition 2018.2.2\bin" -Dfile.encoding=UTF-8 -classpath
D:\Apache\maven\boot\plexus-classworlds-2.5.2.jar
org.codehaus.classworlds.Launcher -Didea.version=2018.2.3 -Dmaven.surefire.debug
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< gov.ys03:sysadmin >--------------------------
[INFO] Building sysadmin 1.2.7
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:regex-property (regex-property) @
sysadmin ---
[INFO] No match to regex 'none' found in 'sysadmin'. The initial value
'sysadmin' is left as-is...
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sysadmin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 53 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ sysadmin ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @
sysadmin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @
sysadmin ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ sysadmin ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Listening for transport dt_socket at address: 5005
> 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)