cancel
Showing results for 
Search instead for 
Did you mean: 

ReadyApi Maven Project fault running code WsdlProjectPro project = new WsdlProjectPro();

SOLVED
Highlighted
Contributor

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

1 ACCEPTED SOLUTION

Accepted Solutions
Occasional Contributor

Re: ReadyApi Maven Project fault running code WsdlProjectPro project = new WsdlProjectPro();

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:

  1. Use previous ready-api version (just in case)
  2. 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>

View solution in original post

1 REPLY 1
Occasional Contributor

Re: ReadyApi Maven Project fault running code WsdlProjectPro project = new WsdlProjectPro();

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:

  1. Use previous ready-api version (just in case)
  2. 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>

View solution in original post

New Here?
Join us and watch the welcome video:
Top Kudoed Authors