[
https://issues.apache.org/jira/browse/MNG-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610500#comment-16610500
]
Burcu commented on MNG-6430:
----------------------------
when I run with maven it gives this exception.
"C:\Program Files\Java\jdk1.8.0_121\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=53967: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 test
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< gov.tubitak.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]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.704 s
[INFO] Finished at: 2018-09-11T14:59:43+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on
project sysadmin: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test failed:
java.lang.NoClassDefFoundError: javafx/application/Application:
javafx.application.Application -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Process finished with exit code 1
> 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
> Priority: Major
> Labels: ClassLoader, Classloader, classloader, glass,
> unsatisfiedLinkError
> Attachments: glassdll.jpg, mvnTest.jpg, plugin.jpg, 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)