​Using the instructions of the dev guide (
https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+Developer+Install+Guide#cTAKES4.0DeveloperInstallGuide-RunningUIMACVDwithMaven)​
to try to compile the runPiperGui profile in Intellij IDE, I get the
following error:

[INFO] ctakes-examples .................................... FAILURE [
> 9.248 s]
> [INFO] Apache cTAKES Resources ctakes-ytex-res ............ SKIPPED
> [INFO] Apache cTAKES YTEX ................................. SKIPPED
> [INFO] Apache cTAKES YTEX UIMA ............................ SKIPPED
> [INFO] Apache cTAKES YTEX Web ............................. SKIPPED
> [INFO] Apache cTAKES Distribution ......................... SKIPPED
> [INFO] Apache cTAKES Regression-test ...................... SKIPPED
> [INFO] Apache cTAKES template filler ...................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20.514 s
> [INFO] Finished at: 2018-03-29T09:38:11-10:00
> [INFO] Final Memory: 72M/1300M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project
> ctakes-examples: Unable to parse configuration of mojo
> org.codehaus.mojo:exec-maven-plugin:1.2.1:java for parameter arguments:
> Cannot store value into array: ArrayStoreException -> [Help 1]


Don't work with java often, but googling the error, looking at this stack
overflow post (
https://stackoverflow.com/questions/23832192/mvn-execexec-and-mvn-execjava-difference),
and taking a shot in the dark, I changed the
trunk/ctakes-examples/pom.xml's execution goal for the
org.codehaus.mojo.exec-maven-plugin plugin from

<plugins>
>     <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>exec-maven-plugin</artifactId>
>         <executions>
>             <execution>
>                 <goals>
>                     <goal>java</goal>
>                 </goals>
>             </execution>
>         </executions>
>         <configuration>
>
> to

> <plugins>
>     <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>exec-maven-plugin</artifactId>
>         <executions>
>             <execution>
>                 <goals>
>                     <goal>exec</goal>
>                 </goals>
>             </execution>
>         </executions>
>         <configuration>
>
> I now seem to be able to compile the piper submitter GUI (though the error
does show up after I close the GUI).

Could someone let me know what is happening here? Is this normal?
Thanks.

Reply via email to