Forum Discussion

CrazyFrog's avatar
CrazyFrog
Contributor
6 years ago

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: java...
  • KonstantinosLps's avatar
    6 years ago

    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>