Forum Discussion

Codartizan's avatar
Codartizan
Occasional Contributor
9 years ago

Maven Build SoapUI source code problem

Hi all,

 I'm trying to build soapUI source code in IntelliJ Idea. But I got several errors might need your help.

1. It seems I don't have javafx:jfxrt:2.2. I'm using jdk 1.8 I actually found jfxrt.jar and put it into right lib folder. But it still not works.

2. I couldn't get com.smartbear.soapui:soapui:5.2.2-SNAPSHOT as well.

3. I also found I don't have the package of com.eviware.soapui.config

Is there anyone could help actually build soupUI successfully? Because I'm a new guy to java developer, I want to learn the source code for getting more understanding on soapUI. Thanks for any help.

  • kondasamy's avatar
    kondasamy
    Regular Contributor

    Could you please post the maven error log here?

     

    Thanks,

    Kondasamy

    • Codartizan's avatar
      Codartizan
      Occasional Contributor

      Hi,

      Thank you for replying me. Here is the error log.

       

      Information:Using javac 1.8.0_102 to compile java sources
      Information:java: Errors occurred while compiling module 'soapui (1)'
      Information:23/08/2016 10:47 AM - Compilation completed with 100 errors and 26 warnings in 28s 577ms
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\WsdlPropertiesTestStep.java
      Error:(30, 33) java: package com.eviware.soapui.config does not exist
      Error:(31, 33) java: package com.eviware.soapui.config does not exist
      Error:(57, 13) java: cannot find symbol
      symbol: class PropertiesStepConfig
      location: class com.eviware.soapui.impl.wsdl.teststeps.WsdlPropertiesTestStep
      Error:(67, 58) java: cannot find symbol
      symbol: class TestStepConfig
      location: class com.eviware.soapui.impl.wsdl.teststeps.WsdlPropertiesTestStep
      Error:(257, 35) java: cannot find symbol
      symbol: class TestStepConfig
      location: class com.eviware.soapui.impl.wsdl.teststeps.WsdlPropertiesTestStep
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\WsdlTestStep.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(45, 66) java: cannot find symbol
      symbol: class TestStepConfig
      Error:(50, 51) java: cannot find symbol
      symbol: class TestStepConfig
      location: class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
      Error:(82, 35) java: cannot find symbol
      symbol: class TestStepConfig
      location: class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\AbstractWsdlModelItem.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(44, 55) java: cannot find symbol
      symbol: class ModelItemConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\support\XmlBeansPropertiesTestPropertyHolder.java
      Error:(39, 33) java: package com.eviware.soapui.config does not exist
      Error:(40, 33) java: package com.eviware.soapui.config does not exist
      Error:(52, 13) java: cannot find symbol
      symbol: class PropertiesTypeConfig
      location: class com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder
      Error:(60, 70) java: cannot find symbol
      symbol: class PropertiesTypeConfig
      location: class com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder
      Error:(75, 50) java: cannot find symbol
      symbol: class PropertyConfig
      location: class com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder
      Error:(216, 39) java: cannot find symbol
      symbol: class PropertiesTypeConfig
      location: class com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\testcase\WsdlTestCase.java
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(22, 33) java: package com.eviware.soapui.config does not exist
      Error:(23, 33) java: package com.eviware.soapui.config does not exist
      Error:(24, 33) java: package com.eviware.soapui.config does not exist
      Error:(25, 33) java: package com.eviware.soapui.config does not exist
      Error:(77, 75) java: cannot find symbol
      symbol: class TestCaseConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\AbstractTestPropertyHolderWsdlModelItem.java
      Error:(25, 33) java: package com.eviware.soapui.config does not exist
      Error:(26, 33) java: package com.eviware.soapui.config does not exist
      Error:(34, 73) java: cannot find symbol
      symbol: class ModelItemConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\model\testsuite\TestCase.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\WsdlTestSuite.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(22, 33) java: package com.eviware.soapui.config does not exist
      Error:(23, 33) java: package com.eviware.soapui.config does not exist
      Error:(24, 33) java: package com.eviware.soapui.config does not exist
      Error:(25, 33) java: package com.eviware.soapui.config does not exist
      Error:(26, 33) java: package com.eviware.soapui.config does not exist
      Error:(27, 57) java: package com.eviware.soapui.config.TestSuiteRunTypesConfig does not exist
      Error:(65, 76) java: cannot find symbol
      symbol: class TestSuiteConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\settings\XmlBeansSettingsImpl.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\rest\mock\RestMockService.java
      Error:(18, 33) java: package com.eviware.soapui.config does not exist
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(38, 74) java: cannot find symbol
      symbol: class RESTMockServiceConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\rest\RestRequestInterface.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(27, 68) java: cannot find symbol
      symbol: class RestRequestConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\support\http\HttpRequestInterface.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(28, 49) java: cannot find symbol
      symbol: class AbstractRequestConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\support\AbstractHttpRequestInterface.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(39, 57) java: cannot find symbol
      symbol: class AbstractRequestConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\support\AbstractHttpRequest.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(22, 33) java: package com.eviware.soapui.config does not exist
      Error:(23, 51) java: package com.eviware.soapui.config.CredentialsConfig does not exist
      Error:(67, 53) java: cannot find symbol
      symbol: class AbstractRequestConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\HttpTestRequestStep.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(22, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\assertions\TestAssertionRegistry.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\WsdlTestStepWithProperties.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\HttpTestRequestStepInterface.java
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\support\AbstractMockService.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(59, 39) java: cannot find symbol
      symbol: class BaseMockServiceConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\rest\mock\RestMockAction.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(40, 59) java: cannot find symbol
      symbol: class RESTMockActionConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\support\AbstractMockOperation.java
      Error:(18, 33) java: package com.eviware.soapui.config does not exist
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(34, 46) java: cannot find symbol
      symbol: class BaseMockOperationConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\rest\mock\RestMockResponse.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(36, 60) java: cannot find symbol
      symbol: class RESTMockResponseConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\support\AbstractMockResponse.java
      Error:(19, 33) java: package com.eviware.soapui.config does not exist
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(71, 75) java: cannot find symbol
      symbol: class BaseMockResponseConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\mock\WsdlMockService.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(22, 33) java: package com.eviware.soapui.config does not exist
      Error:(23, 33) java: package com.eviware.soapui.config does not exist
      Error:(54, 77) java: cannot find symbol
      symbol: class MockServiceConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\mock\WsdlMockOperation.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(53, 62) java: cannot find symbol
      symbol: class MockOperationConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\mock\WsdlMockResponse.java
      Error:(20, 33) java: package com.eviware.soapui.config does not exist
      Error:(21, 33) java: package com.eviware.soapui.config does not exist
      Error:(79, 60) java: cannot find symbol
      symbol: class MockResponseConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\support\wsdl\WsdlUtils.java
      Error:(82, 33) java: package com.eviware.soapui.config does not exist
      Error:(83, 33) java: package com.eviware.soapui.config does not exist
      Error:(84, 33) java: package com.eviware.soapui.config does not exist
      Error:(85, 33) java: package com.eviware.soapui.config does not exist
      Error:(86, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\rest\OAuth2ProfileContainer.java
      Error:(18, 33) java: package com.eviware.soapui.config does not exist
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\loadtest\WsdlLoadTest.java
      Error:(34, 33) java: package com.eviware.soapui.config does not exist
      Error:(35, 33) java: package com.eviware.soapui.config does not exist
      Error:(36, 33) java: package com.eviware.soapui.config does not exist
      Error:(37, 33) java: package com.eviware.soapui.config does not exist
      Error:(38, 58) java: package com.eviware.soapui.config.LoadTestLimitTypesConfig does not exist
      Error:(82, 57) java: cannot find symbol
      symbol: class LoadTestConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\security\SecurityTest.java
      Error:(32, 33) java: package com.eviware.soapui.config does not exist
      Error:(33, 33) java: package com.eviware.soapui.config does not exist
      Error:(34, 33) java: package com.eviware.soapui.config does not exist
      Error:(35, 33) java: package com.eviware.soapui.config does not exist
      Error:(59, 75) java: cannot find symbol
      symbol: class SecurityTestConfig
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\assertions\json\JsonPathRegExAssertion.java
      Warning:(33, 23) java: junit.framework.Assert in junit.framework has been deprecated
      Warning:(169, 13) java: junit.framework.Assert in junit.framework has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\support\xml\XmlUtils.java
      Warning:(29, 32) java: org.apache.xml.serialize.OutputFormat in org.apache.xml.serialize has been deprecated
      Warning:(30, 32) java: org.apache.xml.serialize.XMLSerializer in org.apache.xml.serialize has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\assertions\json\JsonPathExistenceAssertion.java
      Warning:(33, 23) java: junit.framework.Assert in junit.framework has been deprecated
      Warning:(112, 13) java: junit.framework.Assert in junit.framework has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\assertions\json\JsonPathContentAssertion.java
      Warning:(34, 23) java: junit.framework.Assert in junit.framework has been deprecated
      Warning:(178, 17) java: junit.framework.Assert in junit.framework has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\assertions\json\JsonPathCountAssertion.java
      Warning:(33, 23) java: junit.framework.Assert in junit.framework has been deprecated
      Warning:(126, 13) java: junit.framework.Assert in junit.framework has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\model\support\TestRunListenerAdapter.java
      Warning:(36, 17) java: beforeStep(com.eviware.soapui.model.testsuite.TestCaseRunner,com.eviware.soapui.model.testsuite.TestCaseRunContext) in com.eviware.soapui.model.testsuite.TestRunListener has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\support\wss\IncomingWss.java
      Warning:(147, 60) java: ENCRYPTED_KEY_TOKEN in org.apache.ws.security.WSPasswordCallback has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\support\wsrm\WsrmTestRunListener.java
      Warning:(58, 17) java: beforeStep(com.eviware.soapui.model.testsuite.TestCaseRunner,com.eviware.soapui.model.testsuite.TestCaseRunContext) in com.eviware.soapui.model.testsuite.TestRunListener has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\submit\filters\AbstractRequestFilter.java
      Warning:(87, 17) java: afterRequest(com.eviware.soapui.model.iface.SubmitContext,com.eviware.soapui.model.iface.Response) in com.eviware.soapui.impl.wsdl.submit.RequestFilter has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\org\syntax\jedit\TextAreaPainter.java
      Warning:(93, 26) java: isManagingFocus() in javax.swing.JComponent has been deprecated
      Warning:(364, 41) java: getFontMetrics(java.awt.Font) in java.awt.Toolkit has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\org\syntax\jedit\JEditTextArea.java
      Warning:(216, 26) java: isManagingFocus() in javax.swing.JComponent has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\org\syntax\jedit\SyntaxStyle.java
      Warning:(104, 50) java: getFontMetrics(java.awt.Font) in java.awt.Toolkit has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\endpoint\DefaultEndpointStrategy.java
      Warning:(544, 17) java: afterRequest(com.eviware.soapui.model.iface.SubmitContext,com.eviware.soapui.model.iface.Response) in com.eviware.soapui.impl.wsdl.submit.RequestFilter has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\submit\filters\WssRequestFilter.java
      Warning:(33, 8) java: afterRequest(com.eviware.soapui.model.iface.SubmitContext,com.eviware.soapui.model.iface.Response) in com.eviware.soapui.impl.wsdl.submit.RequestFilter has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\org\apache\commons\httpclient\URIException.java
      Warning:(150, 16) java: getReasonCode() in org.apache.commons.httpclient.HttpException has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\tools\AbstractSoapUITestRunner.java
      Warning:(178, 23) java: beforeStep(com.eviware.soapui.model.testsuite.TestCaseRunner,com.eviware.soapui.model.testsuite.TestCaseRunContext) in com.eviware.soapui.model.testsuite.TestRunListener has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\teststeps\assertions\basic\XQueryContainsAssertion.java
      Warning:(286, 21) java: setContent(java.lang.String) in com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.AbstractXmlContainsAssertion has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\impl\wsdl\panels\teststeps\amf\AMFTestRunListener.java
      Warning:(99, 17) java: beforeStep(com.eviware.soapui.model.testsuite.TestCaseRunner,com.eviware.soapui.model.testsuite.TestCaseRunContext) in com.eviware.soapui.model.testsuite.TestRunListener has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\report\JUnitReportCollector.java
      Warning:(208, 17) java: beforeStep(com.eviware.soapui.model.testsuite.TestCaseRunner,com.eviware.soapui.model.testsuite.TestCaseRunContext) in com.eviware.soapui.model.testsuite.TestRunListener has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\support\action\swing\SwingMultiActionDelegate.java
      Warning:(81, 32) java: switchClassloader in com.eviware.soapui.support.action.swing.SwingActionDelegate has been deprecated
      C:\Users\tshi\Documents\soapui\soapui\soapui\src\main\java\com\eviware\soapui\support\components\JPropertiesTable.java
      Information:java: Some input files use unchecked or unsafe operations.
      Information:java: Recompile with -Xlint:unchecked for details.

      • kondasamy's avatar
        kondasamy
        Regular Contributor

        This should be Maven dependency issue. I just gave a try compiling the SoapUI source code and could able to see the expected deliverable.

         

        Could you please try resolving the maven dependencies using the below command and then compile the source,

        mvn dependency:resolve

        Thanks,

        Kondasamy