CrazyFrog
7 years agoContributor
ReadyApi Maven Project fault running code WsdlProjectPro project = new WsdlProjectPro();
Hello,
i try to open a SoapUI project in java with maven dependencys, when i do this and run the code
i get the follow error:
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/scene/control/DialogPane at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.<init>(AbstractWsdlModelItem.java:61)
I need the pro version because i want to work with a composit project.
Please can you help me to fix this problem, i have the pom and java files added to this post
note:
I use Java 11.
When i switch to Java jdk1.8.0_191 then i got the error message :
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.collect.Sets.newConcurrentHashSet()Ljava/util/Set;
Kind regards,
Raymond Wiertz
The Netherlands
Hi,
in your logs it shows an error about
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/scene/control/DialogPane
You can try 2 things:
- Use previous ready-api version (just in case)
- Try using <exclusion> of the javafx groupId
I use this to exclude javafx:
<dependency> <groupId>com.smartbear</groupId> <artifactId>ready-api</artifactId> <version>${soapui.version}</version> <exclusions> <exclusion> <groupId>javafx</groupId> <artifactId>jfxrt</artifactId> </exclusion> </exclusions> </dependency>