SoapUI in IntelliJ IDEA 8.1.3

The latest and greatest IntelliJ IDEA 8.1.3, a cute Java IDE, has soapUI integrated as a plugin. That’s a handy open-source helper for developing and testing SOAP-based web services.

However, after installing the plugin and starting it from Tools – SoapUI – Start SoapUI, you can only see the soapUI Navigator tool window, showing the project structure. You can not see or invoke the famous two-pane SoapUI ModelItem Editor displaying SOAP request-response pairs (at least in MS Windows).

A brief check of the soapUI Log – error log discovers that a class named RSyntaxTextArea cannot be found:

java.lang.NoClassDefFoundError: org/fife/ui/rsyntaxtextarea/RSyntaxTextArea

That’s easily helped: just download RSyntaxTextArea from the SourceForge and copy

rsyntaxtextarea.jar

to

%USERPROFILE%\.IntelliJIdea80\config\plugins\intellij-soapui-plugin\lib

3 Responses to “SoapUI in IntelliJ IDEA 8.1.3”

  1. Danny Says:

    The latest 1.3.x versions of RSyntaxTextArea will not fully work either – they no longer have RSyntaxTextArea.restoreDefaultSyntaxHighlightingColorScheme(). Use a 1.2.x version instead.

  2. Danny Says:

    Correction: Turns out that the versions after 1.1 are missing RSyntaxTextArea.setSyntaxEditingStyle(int). And no version seems to have RSyntaxTextArea.setCurrentLineHighlightEnabled(Z), which the plugin calls. Go figure…

  3. kid_gorgeous Says:

    Danny:

    Actually, looking in SVN, it appears that the SoapUI plugin is probably using RSyntaxTextArea 1.0. That release seems to have both setSyntaxEditingStyle(int) and setcurrentLineHighlightEnabled(boolean). So try grabbing that version and see if that helps.

    These methods were renamed in more recent versions. setSyntaxEditingStyle(int) has been replaced by setSyntaxEditingStyle(String) in more recent versions.
    Also, setCurrentLineHighlightEnabled(boolean) has been replaced by the shorter setHighlightCurrentLine(boolean).