You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Finan, Sean" <Se...@childrens.harvard.edu> on 2018/03/30 17:17:16 UTC

Re: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

This appears to be a bug in intellij, and oddly enough it just started showing up in my system today.

You can go through the possible solutions here (I haven't tried):
https://stackoverflow.com/questions/20496239/maven-plugins-can-not-be-found-in-intellij

There are probably other solutions out there.  If you find one please share.

Sean


________________________________________
From: Reed Villanueva <vi...@gmail.com>
Sent: Thursday, March 29, 2018 4:08 PM
To: dev@ctakes.apache.org
Subject: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

​Using the instructions of the dev guide (
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide-23cTAKES4.0DeveloperInstallGuide-2DRunningUIMACVDwithMaven&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y&s=7uzLWQ_UTWoiVqMKOzfom8yVgwXpBoHOeKpqzzlrWok&e=)​
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://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_23832192_mvn-2Dexecexec-2Dand-2Dmvn-2Dexecjava-2Ddifference&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y&s=lKgucjFz23lmBLcQEyhJpt_kX_bc4cZm3kVaQj3R5-I&e=),
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.

Re: Failing to compile runPiperGui profile in Intellij [EXTERNAL]

Posted by Reed Villanueva <vi...@gmail.com>.
I see, thanks for the info.

On Fri, Mar 30, 2018 at 7:17 AM, Finan, Sean <
Sean.Finan@childrens.harvard.edu> wrote:

> This appears to be a bug in intellij, and oddly enough it just started
> showing up in my system today.
>
> You can go through the possible solutions here (I haven't tried):
> https://stackoverflow.com/questions/20496239/maven-
> plugins-can-not-be-found-in-intellij
>
> There are probably other solutions out there.  If you find one please
> share.
>
> Sean
>
>
> ________________________________________
> From: Reed Villanueva <vi...@gmail.com>
> Sent: Thursday, March 29, 2018 4:08 PM
> To: dev@ctakes.apache.org
> Subject: Failing to compile runPiperGui profile in Intellij [EXTERNAL]
>
> ​Using the instructions of the dev guide (
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.
> apache.org_confluence_display_CTAKES_cTAKES-2B4.0-
> 2BDeveloper-2BInstall-2BGuide-23cTAKES4.0DeveloperInstallGuide-
> 2DRunningUIMACVDwithMaven&d=DwIFaQ&c=qS4goWBT7poplM69zy_
> 3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bc
> pKGd4f7d4gTao&m=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y&s=7uzLWQ_
> UTWoiVqMKOzfom8yVgwXpBoHOeKpqzzlrWok&e=)​
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__
> stackoverflow.com_questions_23832192_mvn-2Dexecexec-2Dand-
> 2Dmvn-2Dexecjava-2Ddifference&d=DwIFaQ&c=qS4goWBT7poplM69zy_
> 3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bc
> pKGd4f7d4gTao&m=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y&s=
> lKgucjFz23lmBLcQEyhJpt_kX_bc4cZm3kVaQj3R5-I&e=),
> 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.
>