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 2019/07/18 12:23:38 UTC

Re: Build Error in cTAKES YTEX [EXTERNAL]

Hi Maral,

What version of java are you using?  Java 8 is the recommended version.

Sean
________________________________________
From: Maral Amir <ma...@gmail.com>
Sent: Thursday, July 18, 2019 1:39 AM
To: dev@ctakes.apache.org
Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]

Hi Gandhi,

Thank you for your reply. I installed the source code following the
Developer's install guide. ( subversion + Git and then Rebase after svn
checkin)
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=4ZFZ9gtgiaIRnqTY6fIS5zQTvrApEjeQC-9ekag5nB0&e=

I should mention I have not worked with Java and Maven before. Is there any
other working directory that you would recommend me to get the source code
from. I have macOS Mojave.

Thanks,
Maral

On Wed, Jul 17, 2019 at 8:25 PM gandhi rajan <ga...@gmail.com>
wrote:

> Hi Maral,
>
> I could see the following error in the stacktrace,
>
> java.lang.NoClassDefFoundError:
> javax/activation/MimeTypeParseException
>
> Could be an issue related to missing jar or classpath. Between, from where
> did you check out the source code from?
>
> On Thursday, July 18, 2019, Maral Amir <ma...@gmail.com> wrote:
>
> > Hi,
> >
> > I am building the cTAKES developer version using the following command.
> >
> > mvn --fail-at-end --errors --update-snapshots clean install sonar:sonar
> > -DskipTests=false -Dsonar.scm.provider=svn -Dsonar.host.url=
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__builds.apache.org_analysis&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=cddyaF0GBjzB-VeKidp23cWQ3u3Py5GYA5xAYNFnoNY&e=
> >
> > I also tried the following command:
> >
> >
> > mvn clean install
> >
> >
> > For both I get the following error:
> >
> >
> >
> > [*INFO*] *-------------------< *org.apache.ctakes:ctakes-ytex*
> > >--------------------*
> >
> > [*INFO*] *Building Apache cTAKES YTEX 4.0.1-SNAPSHOT
> > [48/53]*
> >
> > [*INFO*] *--------------------------------[ jar
> > ]---------------------------------*
> >
> > [*INFO*]
> >
> > [*INFO*] *--- *maven-clean-plugin:2.4.1:clean *(default-clean)* @
> > ctakes-ytex* ---*
> >
> > [*INFO*] Deleting /Users/mamir/projects/ctakes/trunk/ctakes-ytex/target
> >
> > [*INFO*]
> >
> > [*INFO*] *--- *jaxb2-maven-plugin:1.6:xjc *(default)* @ ctakes-ytex* ---*
> >
> > [*INFO*] Generating source...
> >
> > [*INFO*] parsing a schema...
> >
> > [*INFO*]
> >
> *------------------------------------------------------------------------*
> >
> > [*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*
> >
> > [*INFO*]
> >
> > [*INFO*] Apache cTAKES ......................................
> > *SUCCESS* [  0.870
> > s]
> >
> > [*INFO*] ctakes-gui-res .....................................
> > *SUCCESS* [  0.862
> > s]
> >
> > [*INFO*] Apache cTAKES Resources coreference ................
> > *SUCCESS* [  3.261
> > s]
> >
> > [*INFO*] Apache cTAKES Resources temporal ...................
> > *SUCCESS* [  0.584
> > s]
> >
> > [*INFO*] Apache cTAKES Resources relation-extractor .........
> > *SUCCESS* [  0.267
> > s]
> >
> > [*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
> > *SUCCESS* [  0.945
> > s]
> >
> > [*INFO*] Apache cTAKES Resources core .......................
> > *SUCCESS* [  0.355
> > s]
> >
> > [*INFO*] Apache cTAKES common type system ...................
> > *SUCCESS* [  3.086
> > s]
> >
> > [*INFO*] Apache cTAKES utils ................................
> > *SUCCESS* [  0.783
> > s]
> >
> > [*INFO*] Apache cTAKES core .................................
> > *SUCCESS* [  5.913
> > s]
> >
> > [*INFO*] Apache cTAKES dictionary lookup fast ...............
> > *SUCCESS* [  0.890
> > s]
> >
> > [*INFO*] Apache cTAKES document preprocessor ................
> > *SUCCESS* [  0.911
> > s]
> >
> > [*INFO*] Apache cTAKES Resources lvg ........................ *SUCCESS* [
> > 11.864 s]
> >
> > [*INFO*] Apache cTAKES LVG lexical tools ....................
> > *SUCCESS* [  0.719
> > s]
> >
> > [*INFO*] Apache cTAKES Resources ne-contexts ................
> > *SUCCESS* [  0.226
> > s]
> >
> > [*INFO*] Apache cTAKES named entity contexts ................
> > *SUCCESS* [  1.503
> > s]
> >
> > [*INFO*] Apache cTAKES Resources assertion ..................
> > *SUCCESS* [  1.482
> > s]
> >
> > [*INFO*] Apache cTAKES Resources constituency-parser ........
> > *SUCCESS* [  1.999
> > s]
> >
> > [*INFO*] Apache cTAKES Constituency Parser ..................
> > *SUCCESS* [  0.769
> > s]
> >
> > [*INFO*] Apache cTAKES Resources dependency-parser .......... *SUCCESS* [
> > 14.499 s]
> >
> > [*INFO*] Apache cTAKES Resources pos-tagger .................
> > *SUCCESS* [  0.878
> > s]
> >
> > [*INFO*] Apache cTAKES part-of-speech tagger ................
> > *SUCCESS* [  1.723
> > s]
> >
> > [*INFO*] Apache cTAKES Dependency Parser .................... *SUCCESS* [
> > 17.419 s]
> >
> > [*INFO*] Apache cTAKES context dependent tokenizer ..........
> > *SUCCESS* [  1.547
> > s]
> >
> > [*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
> > *SUCCESS* [  0.822
> > s]
> >
> > [*INFO*] Apache cTAKES chunker ..............................
> > *SUCCESS* [  0.835
> > s]
> >
> > [*INFO*] Apache cTAKES Assertion ............................
> > *SUCCESS* [  1.726
> > s]
> >
> > [*INFO*] ctakes-clinical-pipeline-res .......................
> > *SUCCESS* [  0.200
> > s]
> >
> > [*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
> > *SUCCESS* [  1.046
> > s]
> >
> > [*INFO*] Apache cTAKES Relation Extractor ...................
> > *SUCCESS* [  3.062
> > s]
> >
> > [*INFO*] Apache cTAKES Temporal Information Extraction ...... *SUCCESS* [
> > 52.554 s]
> >
> > [*INFO*] Apache cTAKES CoReference Resolver .................
> > *SUCCESS* [  2.403
> > s]
> >
> > [*INFO*] ctakes-gui .........................................
> > *SUCCESS* [  1.531
> > s]
> >
> > [*INFO*] Apache cTAKES fhir support .........................
> > *SUCCESS* [  0.759
> > s]
> >
> > [*INFO*] Apache cTAKES Resources dictionary-lookup ..........
> > *SUCCESS* [  7.312
> > s]
> >
> > [*INFO*] Apache cTAKES dictionary lookup ....................
> > *SUCCESS* [  0.711
> > s]
> >
> > [*INFO*] Apache cTAKES Resources drug-ner ...................
> > *SUCCESS* [  0.272
> > s]
> >
> > [*INFO*] Apache cTAKES Drug NER .............................
> > *SUCCESS* [  1.158
> > s]
> >
> > [*INFO*] Apache cTAKES Resources side-effect ................
> > *SUCCESS* [  0.268
> > s]
> >
> > [*INFO*] Apache cTAKES Side Effects .........................
> > *SUCCESS* [  0.837
> > s]
> >
> > [*INFO*] Apache cTAKES Resources smoking-status .............
> > *SUCCESS* [  0.347
> > s]
> >
> > [*INFO*] Apache cTAKES Smoking Status .......................
> > *SUCCESS* [  1.081
> > s]
> >
> > [*INFO*] Apache cTAKES Resources assertion-zoner ............
> > *SUCCESS* [  0.296
> > s]
> >
> > [*INFO*] Apache cTAKES Assertion's zoner ....................
> > *SUCCESS* [  0.686
> > s]
> >
> > [*INFO*] ctakes-examples-res ................................
> > *SUCCESS* [  0.443
> > s]
> >
> > [*INFO*] ctakes-examples ....................................
> > *SUCCESS* [  1.060
> > s]
> >
> > [*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
> > *SUCCESS* [  0.321
> > s]
> >
> > [*INFO*] Apache cTAKES YTEX .................................
> > *FAILURE* [  0.666
> > s]
> >
> > [*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:  02:34 min
> >
> > [*INFO*] Finished at: 2019-07-17T17:53:36-07:00
> >
> > [*INFO*]
> >
> *------------------------------------------------------------------------*
> >
> > ---------------------------------------------------
> >
> > constituent[0]: file:/Users/mamir/apache-maven-3.6.1/conf/logging/
> >
> > constituent[1]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-builder-3.6.1.jar
> >
> > constituent[2]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > resolver-transport-wagon-1.3.3.jar
> >
> > constituent[3]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-compat-3.6.1.jar
> >
> > constituent[4]: file:/Users/mamir/apache-maven-3.6.1/lib/aopalliance-1.
> > 0.jar
> >
> > constituent[5]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-plugin-api-3.6.1.jar
> >
> > constituent[6]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-cipher-1.7.jar
> >
> > constituent[7]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-interpolation-1.25.jar
> >
> > constituent[8]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/guice-4.2.1-no_aop.jar
> >
> > constituent[9]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/slf4j-api-1.7.25.jar
> >
> > constituent[10]:
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/error_prone_annotations-2.1.3.jar
> >
> > constituent[11]: file:/Users/mamir/apache-maven-3.6.1/lib/cdi-api-1.0.jar
> >
> > constituent[12]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-slf4j-provider-3.6.1.jar
> >
> > constituent[13]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/jcl-over-slf4j-1.7.25.jar
> >
> > constituent[14]:
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-provider-3.6.1.jar
> >
> > constituent[15]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-artifact-3.6.1.jar
> >
> > constituent[16]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-spi-1.3.3.jar
> >
> > constituent[17]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-util-1.3.3.jar
> >
> > constituent[18]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-http-3.3.2-shaded.jar
> >
> > constituent[19]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-sec-dispatcher-1.4.jar
> >
> > constituent[20]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-
> > component-annotations-1.7.1.jar
> >
> > constituent[21]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > repository-metadata-3.6.1.jar
> >
> > constituent[22]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-utils-3.2.0.jar
> >
> > constituent[23]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/commons-cli-1.4.jar
> >
> > constituent[24]: file:/Users/mamir/apache-maven-3.6.1/lib/commons-io-2.
> > 5.jar
> >
> > constituent[25]:
> file:/Users/mamir/apache-maven-3.6.1/lib/jansi-1.17.1.jar
> >
> > constituent[26]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-impl-1.3.3.jar
> >
> > constituent[27]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-embedder-3.6.1.jar
> >
> > constituent[28]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-builder-3.6.1.jar
> >
> > constituent[29]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/checker-compat-qual-2.0.0.jar
> >
> > constituent[30]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/j2objc-annotations-1.1.jar
> >
> > constituent[31]:
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.inject-0.3.3.jar
> >
> > constituent[32]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-file-3.3.2.jar
> >
> > constituent[33]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-3.6.1.jar
> >
> > constituent[34]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-3.6.1.jar
> >
> > constituent[35]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-api-1.3.3.jar
> >
> > constituent[36]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > resolver-connector-basic-1.3.3.jar
> >
> > constituent[37]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/animal-
> > sniffer-annotations-1.14.jar
> >
> > constituent[38]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-builder-support-3.6.1.jar
> >
> > constituent[39]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-shared-utils-3.2.1.jar
> >
> > constituent[40]:
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.plexus-0.3.3.jar
> >
> > constituent[41]:
> file:/Users/mamir/apache-maven-3.6.1/lib/jsr305-3.0.2.jar
> >
> > constituent[42]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-core-3.6.1.jar
> >
> > constituent[43]: file:/Users/mamir/apache-maven-3.6.1/lib/javax.inject-
> > 1.jar
> >
> > constituent[44]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/commons-lang3-3.8.1.jar
> >
> > constituent[45]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/guava-25.1-android.jar
> >
> > constituent[46]: file:/Users/mamir/apache-maven-3.6.1/lib/jsr250-api-1.
> > 0.jar
> >
> > constituent[47]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-provider-api-3.3.2.jar
> >
> > ---------------------------------------------------
> >
> > Exception in thread "main" java.lang.Error:
> > java.lang.reflect.InvocationTargetException
> >
> > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> >
> > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.<init>(
> > BGMBuilder.java:147)
> >
> > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(
> > BGMBuilder.java:117)
> >
> > at com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:425)
> >
> > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
> >
> > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
> >
> > at com.sun.tools.xjc.Driver.run(Driver.java:333)
> >
> > at org.codehaus.mojo.jaxb2.AbstractXjcMojo.execute(
> > AbstractXjcMojo.java:316)
> >
> > at
> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > DefaultBuildPluginManager.java:137)
> >
> > at
> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:210)
> >
> > at
> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:156)
> >
> > at
> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:148)
> >
> > at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > LifecycleModuleBuilder.java:117)
> >
> > at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > LifecycleModuleBuilder.java:81)
> >
> > at
> > org.apache.maven.lifecycle.internal.builder.singlethreaded.
> > SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> >
> > at
> > org.apache.maven.lifecycle.internal.LifecycleStarter.
> > execute(LifecycleStarter.java:128)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
> >
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
> >
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
> >
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> >
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
> >
> > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >
> > at
> > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:62)
> >
> > at
> > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:43)
> >
> > at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> >
> > at
> > org.codehaus.plexus.classworlds.launcher.Launcher.
> > launchEnhanced(Launcher.java:282)
> >
> > at
> > org.codehaus.plexus.classworlds.launcher.Launcher.
> > launch(Launcher.java:225)
> >
> > at
> > org.codehaus.plexus.classworlds.launcher.Launcher.
> > mainWithExitCode(Launcher.java:406)
> >
> > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > main(Launcher.java:347)
> >
> > Caused by: java.lang.reflect.InvocationTargetException
> >
> > at
> > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > newInstance0(Native
> > Method)
> >
> > at
> > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > NativeConstructorAccessorImpl.java:62)
> >
> > at
> > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >
> > at
> > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > Constructor.java:500)
> >
> > at java.base/java.lang.reflect.Constructor.newInstance(
> > Constructor.java:481)
> >
> > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> >
> > ... 29 more
> >
> > Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
> >
> > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> >
> > at
> > com.sun.tools.xjc.reader.xmlschema.BindingComponent.getClassSelector(
> > BindingComponent.java:65)
> >
> > at
> >
> com.sun.tools.xjc.reader.xmlschema.ColorBinder.<init>(ColorBinder.java:62)
> >
> > at com.sun.tools.xjc.reader.xmlschema.BindGreen.<init>(BindGreen.java:63)
> >
> > ... 35 more
> >
> > Caused by: java.lang.reflect.InvocationTargetException
> >
> > at
> > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > newInstance0(Native
> > Method)
> >
> > at
> > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > NativeConstructorAccessorImpl.java:62)
> >
> > at
> > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >
> > at
> > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > Constructor.java:500)
> >
> > at java.base/java.lang.reflect.Constructor.newInstance(
> > Constructor.java:481)
> >
> > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> >
> > ... 38 more
> >
> > Caused by: java.lang.NoClassDefFoundError:
> > javax/activation/MimeTypeParseException
> >
> > at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
> >
> > at java.base/java.lang.Class.privateGetDeclaredConstructors
> > (Class.java:3143)
> >
> > at java.base/java.lang.Class.getConstructor0(Class.java:3348)
> >
> > at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2559)
> >
> > at com.sun.tools.xjc.reader.Ring.get(Ring.java:100)
> >
> > at
> > com.sun.tools.xjc.reader.xmlschema.DefaultClassBinder.<
> > init>(DefaultClassBinder.java:98)
> >
> > at
> > com.sun.tools.xjc.reader.xmlschema.ClassSelector.<init>
> > (ClassSelector.java:214)
> >
> > ... 44 more
> >
> > Caused by: java.lang.ClassNotFoundException:
> > javax.activation.MimeTypeParseException
> >
> > at
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
> > SelfFirstStrategy.java:50)
> >
> > at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(
> > ClassRealm.java:271)
> >
> > at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > loadClass(ClassRealm.java:247)
> >
> > at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > loadClass(ClassRealm.java:239)
> >
> > ... 51 more
> >
> >
> >
> >
> > I really appreciate any help.
> >
> > Thanks.
> > Maral
> >
>
>
> --
> Regards,
> Gandhi
>
> "The best way to find urself is to lose urself in the service of others
> !!!"
>

Re: Build Error in cTAKES YTEX [EXTERNAL]

Posted by Maral Amir <ma...@gmail.com>.
Hi,

The error went away using the command you both suggested:

mvn clean install -Dmaven.test.skip=true

Yaaay! Thank you so much Sean and Gandhi for your prompt replies! This mail
list is a life saver!

All the Best,
Maral

On Thu, Jul 18, 2019 at 10:00 AM gandhi rajan <ga...@gmail.com>
wrote:

> Hi Maral,
>
> I remember there was one flaky test in ytex module which many users have
> complained about. As Sean mentioned try using the following command:
>
> mvn clean install -Dmaven.test.skip=true
>
> @Finan, Sean <Se...@childrens.harvard.edu> I guess ctakes ytex is a
> different web module. Wouldn't it be better to remove this module depedency
> from the cTAKES core pom.xml so that the users can build the project
> without hiccups? If required, ytex module can be built separately as I dont
> see any active support for ytex moduele for quiet sometime. Your thoughts?
>
> On Thu, Jul 18, 2019 at 10:13 PM Finan, Sean <
> Sean.Finan@childrens.harvard.edu> wrote:
>
> > Hi Maral,
> >
> > It looks like the failure came from a test:
> >
> > >project ctakes-ytex: *There are test failures.*
> >
> > What happens if you turn off the maven tests?  Add "-DskipTests" to the
> > maven command.   If you are using an IDE there is probably an option
> > (checkbox, other) to turn off tests.
> >
> > Make sure that you run a maven clean after switching jdk versions.
> >
> > Sean
> >
> > ________________________________________
> > From: Maral Amir <ma...@gmail.com>
> > Sent: Thursday, July 18, 2019 12:26 PM
> > To: dev@ctakes.apache.org
> > Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]
> >
> > Hi Sean,
> >
> > Thank you for your reply. I was using Java SE 12.0.1. I installed Java 8
> > after your response.
> >
> > java -version
> > openjdk version "1.8.0_212"
> >
> > OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b04)
> >
> > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b04, mixed mode)
> >
> >
> > Now I get the following error when I build:
> >
> >
> >
> >
> > [*INFO*]
> >
> > [*INFO*] *--- *sonar-maven-plugin:3.6.0.1398:sonar *(default-cli)* @
> > ctakes*
> > ---*
> >
> > [*INFO*] User cache: /Users/mamir/.sonar/cache
> >
> > [*INFO*] SonarQube version: 5.6.3
> >
> > [*INFO*] Default locale: "en_US", source code encoding: "UTF-8"
> >
> > [*INFO*] Load global repositories
> >
> > [*INFO*]
> >
> *------------------------------------------------------------------------*
> >
> > [*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*
> >
> > [*INFO*]
> >
> > [*INFO*] Apache cTAKES ...................................... *FAILURE* [
> > 17.109 s]
> >
> > [*INFO*] ctakes-gui-res .....................................
> > *SUCCESS* [  0.729
> > s]
> >
> > [*INFO*] Apache cTAKES Resources coreference ................
> > *SUCCESS* [  3.359
> > s]
> >
> > [*INFO*] Apache cTAKES Resources temporal ...................
> > *SUCCESS* [  0.602
> > s]
> >
> > [*INFO*] Apache cTAKES Resources relation-extractor .........
> > *SUCCESS* [  0.269
> > s]
> >
> > [*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
> > *SUCCESS* [  1.048
> > s]
> >
> > [*INFO*] Apache cTAKES Resources core .......................
> > *SUCCESS* [  0.355
> > s]
> >
> > [*INFO*] Apache cTAKES common type system ...................
> > *SUCCESS* [  3.008
> > s]
> >
> > [*INFO*] Apache cTAKES utils ................................
> > *SUCCESS* [  0.753
> > s]
> >
> > [*INFO*] Apache cTAKES core .................................
> > *SUCCESS* [  6.828
> > s]
> >
> > [*INFO*] Apache cTAKES dictionary lookup fast ...............
> > *SUCCESS* [  0.700
> > s]
> >
> > [*INFO*] Apache cTAKES document preprocessor ................
> > *SUCCESS* [  0.850
> > s]
> >
> > [*INFO*] Apache cTAKES Resources lvg ........................ *SUCCESS* [
> > 11.420 s]
> >
> > [*INFO*] Apache cTAKES LVG lexical tools ....................
> > *SUCCESS* [  0.639
> > s]
> >
> > [*INFO*] Apache cTAKES Resources ne-contexts ................
> > *SUCCESS* [  0.210
> > s]
> >
> > [*INFO*] Apache cTAKES named entity contexts ................
> > *SUCCESS* [  1.214
> > s]
> >
> > [*INFO*] Apache cTAKES Resources assertion ..................
> > *SUCCESS* [  1.279
> > s]
> >
> > [*INFO*] Apache cTAKES Resources constituency-parser ........
> > *SUCCESS* [  1.765
> > s]
> >
> > [*INFO*] Apache cTAKES Constituency Parser ..................
> > *SUCCESS* [  0.503
> > s]
> >
> > [*INFO*] Apache cTAKES Resources dependency-parser .......... *SUCCESS* [
> > 13.205 s]
> >
> > [*INFO*] Apache cTAKES Resources pos-tagger .................
> > *SUCCESS* [  0.920
> > s]
> >
> > [*INFO*] Apache cTAKES part-of-speech tagger ................
> > *SUCCESS* [  1.693
> > s]
> >
> > [*INFO*] Apache cTAKES Dependency Parser .................... *SUCCESS* [
> > 20.948 s]
> >
> > [*INFO*] Apache cTAKES context dependent tokenizer ..........
> > *SUCCESS* [  1.389
> > s]
> >
> > [*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
> > *SUCCESS* [  0.773
> > s]
> >
> > [*INFO*] Apache cTAKES chunker ..............................
> > *SUCCESS* [  0.520
> > s]
> >
> > [*INFO*] Apache cTAKES Assertion ............................
> > *SUCCESS* [  1.412
> > s]
> >
> > [*INFO*] ctakes-clinical-pipeline-res .......................
> > *SUCCESS* [  0.200
> > s]
> >
> > [*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
> > *SUCCESS* [  0.740
> > s]
> >
> > [*INFO*] Apache cTAKES Relation Extractor ...................
> > *SUCCESS* [  2.244
> > s]
> >
> > [*INFO*] Apache cTAKES Temporal Information Extraction ...... *SUCCESS* [
> > 56.385 s]
> >
> > [*INFO*] Apache cTAKES CoReference Resolver .................
> > *SUCCESS* [  1.674
> > s]
> >
> > [*INFO*] ctakes-gui .........................................
> > *SUCCESS* [  1.158
> > s]
> >
> > [*INFO*] Apache cTAKES fhir support .........................
> > *SUCCESS* [  0.690
> > s]
> >
> > [*INFO*] Apache cTAKES Resources dictionary-lookup ..........
> > *SUCCESS* [  6.639
> > s]
> >
> > [*INFO*] Apache cTAKES dictionary lookup ....................
> > *SUCCESS* [  0.641
> > s]
> >
> > [*INFO*] Apache cTAKES Resources drug-ner ...................
> > *SUCCESS* [  0.244
> > s]
> >
> > [*INFO*] Apache cTAKES Drug NER .............................
> > *SUCCESS* [  0.837
> > s]
> >
> > [*INFO*] Apache cTAKES Resources side-effect ................
> > *SUCCESS* [  0.287
> > s]
> >
> > [*INFO*] Apache cTAKES Side Effects .........................
> > *SUCCESS* [  0.560
> > s]
> >
> > [*INFO*] Apache cTAKES Resources smoking-status .............
> > *SUCCESS* [  0.279
> > s]
> >
> > [*INFO*] Apache cTAKES Smoking Status .......................
> > *SUCCESS* [  0.655
> > s]
> >
> > [*INFO*] Apache cTAKES Resources assertion-zoner ............
> > *SUCCESS* [  0.290
> > s]
> >
> > [*INFO*] Apache cTAKES Assertion's zoner ....................
> > *SUCCESS* [  0.411
> > s]
> >
> > [*INFO*] ctakes-examples-res ................................
> > *SUCCESS* [  0.306
> > s]
> >
> > [*INFO*] ctakes-examples ....................................
> > *SUCCESS* [  0.809
> > s]
> >
> > [*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
> > *SUCCESS* [  0.271
> > s]
> >
> > [*INFO*] Apache cTAKES YTEX ................................. *FAILURE* [
> > 36.312 s]
> >
> > [*INFO*] Apache cTAKES YTEX UIMA ............................ *SKIPPED*
> >
> > [*INFO*] Apache cTAKES YTEX Web ............................. *SKIPPED*
> >
> > [*INFO*] Apache cTAKES Distribution ......................... *SKIPPED*
> >
> > [*INFO*] Apache cTAKES Regression-test ...................... *SUCCESS* [
> > 24.494 s]
> >
> > [*INFO*] Apache cTAKES template filler ......................
> > *SUCCESS* [  0.638
> > s]
> >
> > [*INFO*]
> >
> *------------------------------------------------------------------------*
> >
> > [*INFO*] *BUILD FAILURE*
> >
> > [*INFO*]
> >
> *------------------------------------------------------------------------*
> >
> > [*INFO*] Total time:  03:52 min
> >
> > [*INFO*] Finished at: 2019-07-18T09:16:11-07:00
> >
> > [*INFO*]
> >
> *------------------------------------------------------------------------*
> >
> > [*ERROR*] Failed to execute goal
> > org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify *(default)*
> on
> > project ctakes-ytex: *There are test failures.*
> >
> > [*ERROR*]
> >
> > [*ERROR*] *Please refer to
> >
> /Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
> > for the individual test results.*
> >
> > [*ERROR*] *Please refer to dump files (if any exist)
> [date]-jvmRun[N].dump,
> > [date].dumpstream and [date]-jvmRun[N].dumpstream.*
> >
> > [*ERROR*] -> *[Help 1]*
> >
> > *org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
> > execute goal
> > **org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify*
> > *(default)* on project ctakes-ytex: *There are test failures.*
> >
> >
> > *Please refer to
> >
> /Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
> > for the individual test results.*
> >
> > *Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> > [date].dumpstream and [date]-jvmRun[N].dumpstream.*
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:215*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:156*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:148*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:117*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:81*)
> >
> >     *at*
> >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > (*SingleThreadedBuilder.java:56*)
> >
> >     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> > *LifecycleStarter.java:128*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:305*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:192*)
> >
> >     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
> >
> >     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
> >
> >     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
> >
> >     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> > *NativeMethodAccessorImpl.java:62*)
> >
> >     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > *DelegatingMethodAccessorImpl.java:43*)
> >
> >     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> > *Launcher.java:282*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> > *Launcher.java:225*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (*Launcher.java:406*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> > *Launcher.java:347*)
> >
> > *Caused by*: org.apache.maven.plugin.MojoFailureException: *There are
> test
> > failures.*
> >
> >
> > *Please refer to
> >
> /Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
> > for the individual test results.*
> >
> > *Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> > [date].dumpstream and [date]-jvmRun[N].dumpstream.*
> >
> >     *at* org.apache.maven.plugin.surefire.SurefireHelper.throwException (
> > *SurefireHelper.java:240*)
> >
> >     *at* org.apache.maven.plugin.surefire.SurefireHelper.reportExecution
> (
> > *SurefireHelper.java:112*)
> >
> >     *at* org.apache.maven.plugin.failsafe.VerifyMojo.execute (
> > *VerifyMojo.java:188*)
> >
> >     *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
> > *DefaultBuildPluginManager.java:137*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:210*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:156*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:148*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:117*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:81*)
> >
> >     *at*
> >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > (*SingleThreadedBuilder.java:56*)
> >
> >     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> > *LifecycleStarter.java:128*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:305*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:192*)
> >
> >     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
> >
> >     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
> >
> >     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
> >
> >     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> > *NativeMethodAccessorImpl.java:62*)
> >
> >     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > *DelegatingMethodAccessorImpl.java:43*)
> >
> >     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> > *Launcher.java:282*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> > *Launcher.java:225*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (*Launcher.java:406*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> > *Launcher.java:347*)
> >
> > [*ERROR*] Failed to execute goal
> > org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar
> > *(default-cli)* on project ctakes: *You're not authorized to execute any
> > SonarQube analysis. Please contact your SonarQube administrator.* ->
> *[Help
> > 2]*
> >
> > *org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
> > execute goal *
> > *org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar*
> > *(default-cli)* on project ctakes: *You're not authorized to execute any
> > SonarQube analysis. Please contact your SonarQube administrator.*
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:215*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:156*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:148*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:117*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:81*)
> >
> >     *at*
> >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > (*SingleThreadedBuilder.java:56*)
> >
> >     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> > *LifecycleStarter.java:128*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:305*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:192*)
> >
> >     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
> >
> >     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
> >
> >     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
> >
> >     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> > *NativeMethodAccessorImpl.java:62*)
> >
> >     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > *DelegatingMethodAccessorImpl.java:43*)
> >
> >     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> > *Launcher.java:282*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> > *Launcher.java:225*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (*Launcher.java:406*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> > *Launcher.java:347*)
> >
> > *Caused by*: org.apache.maven.plugin.MojoExecutionException: *You're not
> > authorized to execute any SonarQube analysis. Please contact your
> SonarQube
> > administrator.*
> >
> >     *at*
> > org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (
> > *ScannerBootstrapper.java:67*)
> >
> >     *at* org.sonarsource.scanner.maven.SonarQubeMojo.execute (
> > *SonarQubeMojo.java:104*)
> >
> >     *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
> > *DefaultBuildPluginManager.java:137*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:210*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:156*)
> >
> >     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> > *MojoExecutor.java:148*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:117*)
> >
> >     *at*
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> > *LifecycleModuleBuilder.java:81*)
> >
> >     *at*
> >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > (*SingleThreadedBuilder.java:56*)
> >
> >     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> > *LifecycleStarter.java:128*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:305*)
> >
> >     *at* org.apache.maven.DefaultMaven.doExecute
> (*DefaultMaven.java:192*)
> >
> >     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
> >
> >     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
> >
> >     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
> >
> >     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
> >
> >     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> > *NativeMethodAccessorImpl.java:62*)
> >
> >     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > *DelegatingMethodAccessorImpl.java:43*)
> >
> >     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> > *Launcher.java:282*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> > *Launcher.java:225*)
> >
> >     *at*
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > (*Launcher.java:406*)
> >
> >     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> > *Launcher.java:347*)
> >
> > *Caused by*: org.sonar.api.utils.MessageException: *You're not authorized
> > to execute any SonarQube analysis. Please contact your SonarQube
> > administrator.*
> >
> > [*ERROR*]
> >
> > [*ERROR*] Re-run Maven using the *-X* switch to enable full debug
> logging.
> >
> > [*ERROR*]
> >
> > [*ERROR*] For more information about the errors and possible solutions,
> > please read the following articles:
> >
> > [*ERROR*] *[Help 1]*
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=nPn3YIWpjzdhxoqmNewNKZVwA8qHAIDHrWMmAsM7N1Y&s=_0lC0NhCpBhfHYvaXSivV6HNgO436jjXSoHaS6Ilrb0&e=
> >
> > [*ERROR*] *[Help 2]*
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoExecutionException&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=nPn3YIWpjzdhxoqmNewNKZVwA8qHAIDHrWMmAsM7N1Y&s=dF8UECpLMGH-1JXOIdBh9G1H-wIsYvELedRo0r8M8S0&e=
> >
> > [*ERROR*]
> >
> > [*ERROR*] After correcting the problems, you can resume the build with
> the
> > command
> >
> > [*ERROR*]   *mvn <goals> -rf :ctakes-ytex*
> >
> >
> >
> >
> >
> >
> > Thanks,
> >
> > Maral
> >
> > On Thu, Jul 18, 2019 at 5:23 AM Finan, Sean <
> > Sean.Finan@childrens.harvard.edu> wrote:
> >
> > > Hi Maral,
> > >
> > > What version of java are you using?  Java 8 is the recommended version.
> > >
> > > Sean
> > > ________________________________________
> > > From: Maral Amir <ma...@gmail.com>
> > > Sent: Thursday, July 18, 2019 1:39 AM
> > > To: dev@ctakes.apache.org
> > > Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]
> > >
> > > Hi Gandhi,
> > >
> > > Thank you for your reply. I installed the source code following the
> > > Developer's install guide. ( subversion + Git and then Rebase after svn
> > > checkin)
> > >
> > >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=4ZFZ9gtgiaIRnqTY6fIS5zQTvrApEjeQC-9ekag5nB0&e=
> > >
> > > I should mention I have not worked with Java and Maven before. Is there
> > any
> > > other working directory that you would recommend me to get the source
> > code
> > > from. I have macOS Mojave.
> > >
> > > Thanks,
> > > Maral
> > >
> > > On Wed, Jul 17, 2019 at 8:25 PM gandhi rajan <ga...@gmail.com>
> > > wrote:
> > >
> > > > Hi Maral,
> > > >
> > > > I could see the following error in the stacktrace,
> > > >
> > > > java.lang.NoClassDefFoundError:
> > > > javax/activation/MimeTypeParseException
> > > >
> > > > Could be an issue related to missing jar or classpath. Between, from
> > > where
> > > > did you check out the source code from?
> > > >
> > > > On Thursday, July 18, 2019, Maral Amir <ma...@gmail.com>
> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I am building the cTAKES developer version using the following
> > command.
> > > > >
> > > > > mvn --fail-at-end --errors --update-snapshots clean install
> > sonar:sonar
> > > > > -DskipTests=false -Dsonar.scm.provider=svn -Dsonar.host.url=
> > > > >
> > >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__builds.apache.org_analysis&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=cddyaF0GBjzB-VeKidp23cWQ3u3Py5GYA5xAYNFnoNY&e=
> > > > >
> > > > > I also tried the following command:
> > > > >
> > > > >
> > > > > mvn clean install
> > > > >
> > > > >
> > > > > For both I get the following error:
> > > > >
> > > > >
> > > > >
> > > > > [*INFO*] *-------------------< *org.apache.ctakes:ctakes-ytex*
> > > > > >--------------------*
> > > > >
> > > > > [*INFO*] *Building Apache cTAKES YTEX 4.0.1-SNAPSHOT
> > > > > [48/53]*
> > > > >
> > > > > [*INFO*] *--------------------------------[ jar
> > > > > ]---------------------------------*
> > > > >
> > > > > [*INFO*]
> > > > >
> > > > > [*INFO*] *--- *maven-clean-plugin:2.4.1:clean *(default-clean)* @
> > > > > ctakes-ytex* ---*
> > > > >
> > > > > [*INFO*] Deleting
> > /Users/mamir/projects/ctakes/trunk/ctakes-ytex/target
> > > > >
> > > > > [*INFO*]
> > > > >
> > > > > [*INFO*] *--- *jaxb2-maven-plugin:1.6:xjc *(default)* @
> ctakes-ytex*
> > > ---*
> > > > >
> > > > > [*INFO*] Generating source...
> > > > >
> > > > > [*INFO*] parsing a schema...
> > > > >
> > > > > [*INFO*]
> > > > >
> > > >
> > >
> >
> *------------------------------------------------------------------------*
> > > > >
> > > > > [*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*
> > > > >
> > > > > [*INFO*]
> > > > >
> > > > > [*INFO*] Apache cTAKES ......................................
> > > > > *SUCCESS* [  0.870
> > > > > s]
> > > > >
> > > > > [*INFO*] ctakes-gui-res .....................................
> > > > > *SUCCESS* [  0.862
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources coreference ................
> > > > > *SUCCESS* [  3.261
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources temporal ...................
> > > > > *SUCCESS* [  0.584
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources relation-extractor .........
> > > > > *SUCCESS* [  0.267
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
> > > > > *SUCCESS* [  0.945
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources core .......................
> > > > > *SUCCESS* [  0.355
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES common type system ...................
> > > > > *SUCCESS* [  3.086
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES utils ................................
> > > > > *SUCCESS* [  0.783
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES core .................................
> > > > > *SUCCESS* [  5.913
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES dictionary lookup fast ...............
> > > > > *SUCCESS* [  0.890
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES document preprocessor ................
> > > > > *SUCCESS* [  0.911
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources lvg ........................
> > > *SUCCESS* [
> > > > > 11.864 s]
> > > > >
> > > > > [*INFO*] Apache cTAKES LVG lexical tools ....................
> > > > > *SUCCESS* [  0.719
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources ne-contexts ................
> > > > > *SUCCESS* [  0.226
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES named entity contexts ................
> > > > > *SUCCESS* [  1.503
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources assertion ..................
> > > > > *SUCCESS* [  1.482
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources constituency-parser ........
> > > > > *SUCCESS* [  1.999
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Constituency Parser ..................
> > > > > *SUCCESS* [  0.769
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources dependency-parser ..........
> > > *SUCCESS* [
> > > > > 14.499 s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources pos-tagger .................
> > > > > *SUCCESS* [  0.878
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES part-of-speech tagger ................
> > > > > *SUCCESS* [  1.723
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Dependency Parser ....................
> > > *SUCCESS* [
> > > > > 17.419 s]
> > > > >
> > > > > [*INFO*] Apache cTAKES context dependent tokenizer ..........
> > > > > *SUCCESS* [  1.547
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
> > > > > *SUCCESS* [  0.822
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES chunker ..............................
> > > > > *SUCCESS* [  0.835
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Assertion ............................
> > > > > *SUCCESS* [  1.726
> > > > > s]
> > > > >
> > > > > [*INFO*] ctakes-clinical-pipeline-res .......................
> > > > > *SUCCESS* [  0.200
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
> > > > > *SUCCESS* [  1.046
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Relation Extractor ...................
> > > > > *SUCCESS* [  3.062
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Temporal Information Extraction ......
> > > *SUCCESS* [
> > > > > 52.554 s]
> > > > >
> > > > > [*INFO*] Apache cTAKES CoReference Resolver .................
> > > > > *SUCCESS* [  2.403
> > > > > s]
> > > > >
> > > > > [*INFO*] ctakes-gui .........................................
> > > > > *SUCCESS* [  1.531
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES fhir support .........................
> > > > > *SUCCESS* [  0.759
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources dictionary-lookup ..........
> > > > > *SUCCESS* [  7.312
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES dictionary lookup ....................
> > > > > *SUCCESS* [  0.711
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources drug-ner ...................
> > > > > *SUCCESS* [  0.272
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Drug NER .............................
> > > > > *SUCCESS* [  1.158
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources side-effect ................
> > > > > *SUCCESS* [  0.268
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Side Effects .........................
> > > > > *SUCCESS* [  0.837
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources smoking-status .............
> > > > > *SUCCESS* [  0.347
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Smoking Status .......................
> > > > > *SUCCESS* [  1.081
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources assertion-zoner ............
> > > > > *SUCCESS* [  0.296
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Assertion's zoner ....................
> > > > > *SUCCESS* [  0.686
> > > > > s]
> > > > >
> > > > > [*INFO*] ctakes-examples-res ................................
> > > > > *SUCCESS* [  0.443
> > > > > s]
> > > > >
> > > > > [*INFO*] ctakes-examples ....................................
> > > > > *SUCCESS* [  1.060
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
> > > > > *SUCCESS* [  0.321
> > > > > s]
> > > > >
> > > > > [*INFO*] Apache cTAKES YTEX .................................
> > > > > *FAILURE* [  0.666
> > > > > s]
> > > > >
> > > > > [*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:  02:34 min
> > > > >
> > > > > [*INFO*] Finished at: 2019-07-17T17:53:36-07:00
> > > > >
> > > > > [*INFO*]
> > > > >
> > > >
> > >
> >
> *------------------------------------------------------------------------*
> > > > >
> > > > > ---------------------------------------------------
> > > > >
> > > > > constituent[0]: file:/Users/mamir/apache-maven-3.6.1/conf/logging/
> > > > >
> > > > > constituent[1]:
> > > > >
> > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-builder-3.6.1.jar
> > > > >
> > > > > constituent[2]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > > > resolver-transport-wagon-1.3.3.jar
> > > > >
> > > > > constituent[3]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-compat-3.6.1.jar
> > > > >
> > > > > constituent[4]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/aopalliance-1.
> > > > > 0.jar
> > > > >
> > > > > constituent[5]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-plugin-api-3.6.1.jar
> > > > >
> > > > > constituent[6]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-cipher-1.7.jar
> > > > >
> > > > > constituent[7]:
> > > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-interpolation-1.25.jar
> > > > >
> > > > > constituent[8]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/guice-4.2.1-no_aop.jar
> > > > >
> > > > > constituent[9]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/slf4j-api-1.7.25.jar
> > > > >
> > > > > constituent[10]:
> > > > >
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/error_prone_annotations-2.1.3.jar
> > > > >
> > > > > constituent[11]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/cdi-api-1.0.jar
> > > > >
> > > > > constituent[12]:
> > > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-slf4j-provider-3.6.1.jar
> > > > >
> > > > > constituent[13]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/jcl-over-slf4j-1.7.25.jar
> > > > >
> > > > > constituent[14]:
> > > > >
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-provider-3.6.1.jar
> > > > >
> > > > > constituent[15]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-artifact-3.6.1.jar
> > > > >
> > > > > constituent[16]:
> > > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-spi-1.3.3.jar
> > > > >
> > > > > constituent[17]:
> > > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-util-1.3.3.jar
> > > > >
> > > > > constituent[18]:
> > > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/wagon-http-3.3.2-shaded.jar
> > > > >
> > > > > constituent[19]:
> > > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-sec-dispatcher-1.4.jar
> > > > >
> > > > > constituent[20]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-
> > > > > component-annotations-1.7.1.jar
> > > > >
> > > > > constituent[21]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > > > repository-metadata-3.6.1.jar
> > > > >
> > > > > constituent[22]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-utils-3.2.0.jar
> > > > >
> > > > > constituent[23]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-cli-1.4.jar
> > > > >
> > > > > constituent[24]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/commons-io-2.
> > > > > 5.jar
> > > > >
> > > > > constituent[25]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/jansi-1.17.1.jar
> > > > >
> > > > > constituent[26]:
> > > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-impl-1.3.3.jar
> > > > >
> > > > > constituent[27]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-embedder-3.6.1.jar
> > > > >
> > > > > constituent[28]:
> > > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-builder-3.6.1.jar
> > > > >
> > > > > constituent[29]:
> > > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/checker-compat-qual-2.0.0.jar
> > > > >
> > > > > constituent[30]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/j2objc-annotations-1.1.jar
> > > > >
> > > > > constituent[31]:
> > > > >
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.inject-0.3.3.jar
> > > > >
> > > > > constituent[32]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-file-3.3.2.jar
> > > > >
> > > > > constituent[33]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-3.6.1.jar
> > > > >
> > > > > constituent[34]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-3.6.1.jar
> > > > >
> > > > > constituent[35]:
> > > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-api-1.3.3.jar
> > > > >
> > > > > constituent[36]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > > > resolver-connector-basic-1.3.3.jar
> > > > >
> > > > > constituent[37]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/animal-
> > > > > sniffer-annotations-1.14.jar
> > > > >
> > > > > constituent[38]:
> > > > >
> > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-builder-support-3.6.1.jar
> > > > >
> > > > > constituent[39]:
> > > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-shared-utils-3.2.1.jar
> > > > >
> > > > > constituent[40]:
> > > > >
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.plexus-0.3.3.jar
> > > > >
> > > > > constituent[41]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/jsr305-3.0.2.jar
> > > > >
> > > > > constituent[42]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-core-3.6.1.jar
> > > > >
> > > > > constituent[43]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/javax.inject-
> > > > > 1.jar
> > > > >
> > > > > constituent[44]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-lang3-3.8.1.jar
> > > > >
> > > > > constituent[45]:
> > > > > file:/Users/mamir/apache-maven-3.6.1/lib/guava-25.1-android.jar
> > > > >
> > > > > constituent[46]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/jsr250-api-1.
> > > > > 0.jar
> > > > >
> > > > > constituent[47]:
> > > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/wagon-provider-api-3.3.2.jar
> > > > >
> > > > > ---------------------------------------------------
> > > > >
> > > > > Exception in thread "main" java.lang.Error:
> > > > > java.lang.reflect.InvocationTargetException
> > > > >
> > > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > > > >
> > > > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.<init>(
> > > > > BGMBuilder.java:147)
> > > > >
> > > > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(
> > > > > BGMBuilder.java:117)
> > > > >
> > > > > at
> > > com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:425)
> > > > >
> > > > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
> > > > >
> > > > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
> > > > >
> > > > > at com.sun.tools.xjc.Driver.run(Driver.java:333)
> > > > >
> > > > > at org.codehaus.mojo.jaxb2.AbstractXjcMojo.execute(
> > > > > AbstractXjcMojo.java:316)
> > > > >
> > > > > at
> > > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > > > > DefaultBuildPluginManager.java:137)
> > > > >
> > > > > at
> > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > > > MojoExecutor.java:210)
> > > > >
> > > > > at
> > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > > > MojoExecutor.java:156)
> > > > >
> > > > > at
> > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > > > MojoExecutor.java:148)
> > > > >
> > > > > at
> > > > >
> > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > > > LifecycleModuleBuilder.java:117)
> > > > >
> > > > > at
> > > > >
> > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > > > LifecycleModuleBuilder.java:81)
> > > > >
> > > > > at
> > > > > org.apache.maven.lifecycle.internal.builder.singlethreaded.
> > > > > SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> > > > >
> > > > > at
> > > > > org.apache.maven.lifecycle.internal.LifecycleStarter.
> > > > > execute(LifecycleStarter.java:128)
> > > > >
> > > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
> > > > >
> > > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
> > > > >
> > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
> > > > >
> > > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
> > > > >
> > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> > > > >
> > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
> > > > >
> > > > > at
> > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > Method)
> > > > >
> > > > > at
> > > > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
> > > > > NativeMethodAccessorImpl.java:62)
> > > > >
> > > > > at
> > > > > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
> > > > > DelegatingMethodAccessorImpl.java:43)
> > > > >
> > > > > at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> > > > >
> > > > > at
> > > > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > > launchEnhanced(Launcher.java:282)
> > > > >
> > > > > at
> > > > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > > launch(Launcher.java:225)
> > > > >
> > > > > at
> > > > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > > mainWithExitCode(Launcher.java:406)
> > > > >
> > > > > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > > main(Launcher.java:347)
> > > > >
> > > > > Caused by: java.lang.reflect.InvocationTargetException
> > > > >
> > > > > at
> > > > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > > > newInstance0(Native
> > > > > Method)
> > > > >
> > > > > at
> > > > >
> > >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > > > NativeConstructorAccessorImpl.java:62)
> > > > >
> > > > > at
> > > > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > > > >
> > > > > at
> > > > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > > > Constructor.java:500)
> > > > >
> > > > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > > > Constructor.java:481)
> > > > >
> > > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > > > >
> > > > > ... 29 more
> > > > >
> > > > > Caused by: java.lang.Error:
> > java.lang.reflect.InvocationTargetException
> > > > >
> > > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > > > >
> > > > > at
> > > > >
> com.sun.tools.xjc.reader.xmlschema.BindingComponent.getClassSelector(
> > > > > BindingComponent.java:65)
> > > > >
> > > > > at
> > > > >
> > > >
> > >
> >
> com.sun.tools.xjc.reader.xmlschema.ColorBinder.<init>(ColorBinder.java:62)
> > > > >
> > > > > at
> > > com.sun.tools.xjc.reader.xmlschema.BindGreen.<init>(BindGreen.java:63)
> > > > >
> > > > > ... 35 more
> > > > >
> > > > > Caused by: java.lang.reflect.InvocationTargetException
> > > > >
> > > > > at
> > > > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > > > newInstance0(Native
> > > > > Method)
> > > > >
> > > > > at
> > > > >
> > >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > > > NativeConstructorAccessorImpl.java:62)
> > > > >
> > > > > at
> > > > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > > > >
> > > > > at
> > > > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > > > Constructor.java:500)
> > > > >
> > > > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > > > Constructor.java:481)
> > > > >
> > > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > > > >
> > > > > ... 38 more
> > > > >
> > > > > Caused by: java.lang.NoClassDefFoundError:
> > > > > javax/activation/MimeTypeParseException
> > > > >
> > > > > at java.base/java.lang.Class.getDeclaredConstructors0(Native
> Method)
> > > > >
> > > > > at java.base/java.lang.Class.privateGetDeclaredConstructors
> > > > > (Class.java:3143)
> > > > >
> > > > > at java.base/java.lang.Class.getConstructor0(Class.java:3348)
> > > > >
> > > > > at
> java.base/java.lang.Class.getDeclaredConstructor(Class.java:2559)
> > > > >
> > > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:100)
> > > > >
> > > > > at
> > > > > com.sun.tools.xjc.reader.xmlschema.DefaultClassBinder.<
> > > > > init>(DefaultClassBinder.java:98)
> > > > >
> > > > > at
> > > > > com.sun.tools.xjc.reader.xmlschema.ClassSelector.<init>
> > > > > (ClassSelector.java:214)
> > > > >
> > > > > ... 44 more
> > > > >
> > > > > Caused by: java.lang.ClassNotFoundException:
> > > > > javax.activation.MimeTypeParseException
> > > > >
> > > > > at
> > > > >
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
> > > > > SelfFirstStrategy.java:50)
> > > > >
> > > > > at
> > > > >
> > >
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(
> > > > > ClassRealm.java:271)
> > > > >
> > > > > at
> > > > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > > > loadClass(ClassRealm.java:247)
> > > > >
> > > > > at
> > > > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > > > loadClass(ClassRealm.java:239)
> > > > >
> > > > > ... 51 more
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I really appreciate any help.
> > > > >
> > > > > Thanks.
> > > > > Maral
> > > > >
> > > >
> > > >
> > > > --
> > > > Regards,
> > > > Gandhi
> > > >
> > > > "The best way to find urself is to lose urself in the service of
> others
> > > > !!!"
> > > >
> > >
> >
> >
>
> --
> Regards,
> Gandhi
>
> "The best way to find urself is to lose urself in the service of others
> !!!"
>

Re: Build Error in cTAKES YTEX [EXTERNAL]

Posted by gandhi rajan <ga...@gmail.com>.
Hi Maral,

I remember there was one flaky test in ytex module which many users have
complained about. As Sean mentioned try using the following command:

mvn clean install -Dmaven.test.skip=true

@Finan, Sean <Se...@childrens.harvard.edu> I guess ctakes ytex is a
different web module. Wouldn't it be better to remove this module depedency
from the cTAKES core pom.xml so that the users can build the project
without hiccups? If required, ytex module can be built separately as I dont
see any active support for ytex moduele for quiet sometime. Your thoughts?

On Thu, Jul 18, 2019 at 10:13 PM Finan, Sean <
Sean.Finan@childrens.harvard.edu> wrote:

> Hi Maral,
>
> It looks like the failure came from a test:
>
> >project ctakes-ytex: *There are test failures.*
>
> What happens if you turn off the maven tests?  Add "-DskipTests" to the
> maven command.   If you are using an IDE there is probably an option
> (checkbox, other) to turn off tests.
>
> Make sure that you run a maven clean after switching jdk versions.
>
> Sean
>
> ________________________________________
> From: Maral Amir <ma...@gmail.com>
> Sent: Thursday, July 18, 2019 12:26 PM
> To: dev@ctakes.apache.org
> Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]
>
> Hi Sean,
>
> Thank you for your reply. I was using Java SE 12.0.1. I installed Java 8
> after your response.
>
> java -version
> openjdk version "1.8.0_212"
>
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b04)
>
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b04, mixed mode)
>
>
> Now I get the following error when I build:
>
>
>
>
> [*INFO*]
>
> [*INFO*] *--- *sonar-maven-plugin:3.6.0.1398:sonar *(default-cli)* @
> ctakes*
> ---*
>
> [*INFO*] User cache: /Users/mamir/.sonar/cache
>
> [*INFO*] SonarQube version: 5.6.3
>
> [*INFO*] Default locale: "en_US", source code encoding: "UTF-8"
>
> [*INFO*] Load global repositories
>
> [*INFO*]
> *------------------------------------------------------------------------*
>
> [*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*
>
> [*INFO*]
>
> [*INFO*] Apache cTAKES ...................................... *FAILURE* [
> 17.109 s]
>
> [*INFO*] ctakes-gui-res .....................................
> *SUCCESS* [  0.729
> s]
>
> [*INFO*] Apache cTAKES Resources coreference ................
> *SUCCESS* [  3.359
> s]
>
> [*INFO*] Apache cTAKES Resources temporal ...................
> *SUCCESS* [  0.602
> s]
>
> [*INFO*] Apache cTAKES Resources relation-extractor .........
> *SUCCESS* [  0.269
> s]
>
> [*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
> *SUCCESS* [  1.048
> s]
>
> [*INFO*] Apache cTAKES Resources core .......................
> *SUCCESS* [  0.355
> s]
>
> [*INFO*] Apache cTAKES common type system ...................
> *SUCCESS* [  3.008
> s]
>
> [*INFO*] Apache cTAKES utils ................................
> *SUCCESS* [  0.753
> s]
>
> [*INFO*] Apache cTAKES core .................................
> *SUCCESS* [  6.828
> s]
>
> [*INFO*] Apache cTAKES dictionary lookup fast ...............
> *SUCCESS* [  0.700
> s]
>
> [*INFO*] Apache cTAKES document preprocessor ................
> *SUCCESS* [  0.850
> s]
>
> [*INFO*] Apache cTAKES Resources lvg ........................ *SUCCESS* [
> 11.420 s]
>
> [*INFO*] Apache cTAKES LVG lexical tools ....................
> *SUCCESS* [  0.639
> s]
>
> [*INFO*] Apache cTAKES Resources ne-contexts ................
> *SUCCESS* [  0.210
> s]
>
> [*INFO*] Apache cTAKES named entity contexts ................
> *SUCCESS* [  1.214
> s]
>
> [*INFO*] Apache cTAKES Resources assertion ..................
> *SUCCESS* [  1.279
> s]
>
> [*INFO*] Apache cTAKES Resources constituency-parser ........
> *SUCCESS* [  1.765
> s]
>
> [*INFO*] Apache cTAKES Constituency Parser ..................
> *SUCCESS* [  0.503
> s]
>
> [*INFO*] Apache cTAKES Resources dependency-parser .......... *SUCCESS* [
> 13.205 s]
>
> [*INFO*] Apache cTAKES Resources pos-tagger .................
> *SUCCESS* [  0.920
> s]
>
> [*INFO*] Apache cTAKES part-of-speech tagger ................
> *SUCCESS* [  1.693
> s]
>
> [*INFO*] Apache cTAKES Dependency Parser .................... *SUCCESS* [
> 20.948 s]
>
> [*INFO*] Apache cTAKES context dependent tokenizer ..........
> *SUCCESS* [  1.389
> s]
>
> [*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
> *SUCCESS* [  0.773
> s]
>
> [*INFO*] Apache cTAKES chunker ..............................
> *SUCCESS* [  0.520
> s]
>
> [*INFO*] Apache cTAKES Assertion ............................
> *SUCCESS* [  1.412
> s]
>
> [*INFO*] ctakes-clinical-pipeline-res .......................
> *SUCCESS* [  0.200
> s]
>
> [*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
> *SUCCESS* [  0.740
> s]
>
> [*INFO*] Apache cTAKES Relation Extractor ...................
> *SUCCESS* [  2.244
> s]
>
> [*INFO*] Apache cTAKES Temporal Information Extraction ...... *SUCCESS* [
> 56.385 s]
>
> [*INFO*] Apache cTAKES CoReference Resolver .................
> *SUCCESS* [  1.674
> s]
>
> [*INFO*] ctakes-gui .........................................
> *SUCCESS* [  1.158
> s]
>
> [*INFO*] Apache cTAKES fhir support .........................
> *SUCCESS* [  0.690
> s]
>
> [*INFO*] Apache cTAKES Resources dictionary-lookup ..........
> *SUCCESS* [  6.639
> s]
>
> [*INFO*] Apache cTAKES dictionary lookup ....................
> *SUCCESS* [  0.641
> s]
>
> [*INFO*] Apache cTAKES Resources drug-ner ...................
> *SUCCESS* [  0.244
> s]
>
> [*INFO*] Apache cTAKES Drug NER .............................
> *SUCCESS* [  0.837
> s]
>
> [*INFO*] Apache cTAKES Resources side-effect ................
> *SUCCESS* [  0.287
> s]
>
> [*INFO*] Apache cTAKES Side Effects .........................
> *SUCCESS* [  0.560
> s]
>
> [*INFO*] Apache cTAKES Resources smoking-status .............
> *SUCCESS* [  0.279
> s]
>
> [*INFO*] Apache cTAKES Smoking Status .......................
> *SUCCESS* [  0.655
> s]
>
> [*INFO*] Apache cTAKES Resources assertion-zoner ............
> *SUCCESS* [  0.290
> s]
>
> [*INFO*] Apache cTAKES Assertion's zoner ....................
> *SUCCESS* [  0.411
> s]
>
> [*INFO*] ctakes-examples-res ................................
> *SUCCESS* [  0.306
> s]
>
> [*INFO*] ctakes-examples ....................................
> *SUCCESS* [  0.809
> s]
>
> [*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
> *SUCCESS* [  0.271
> s]
>
> [*INFO*] Apache cTAKES YTEX ................................. *FAILURE* [
> 36.312 s]
>
> [*INFO*] Apache cTAKES YTEX UIMA ............................ *SKIPPED*
>
> [*INFO*] Apache cTAKES YTEX Web ............................. *SKIPPED*
>
> [*INFO*] Apache cTAKES Distribution ......................... *SKIPPED*
>
> [*INFO*] Apache cTAKES Regression-test ...................... *SUCCESS* [
> 24.494 s]
>
> [*INFO*] Apache cTAKES template filler ......................
> *SUCCESS* [  0.638
> s]
>
> [*INFO*]
> *------------------------------------------------------------------------*
>
> [*INFO*] *BUILD FAILURE*
>
> [*INFO*]
> *------------------------------------------------------------------------*
>
> [*INFO*] Total time:  03:52 min
>
> [*INFO*] Finished at: 2019-07-18T09:16:11-07:00
>
> [*INFO*]
> *------------------------------------------------------------------------*
>
> [*ERROR*] Failed to execute goal
> org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify *(default)* on
> project ctakes-ytex: *There are test failures.*
>
> [*ERROR*]
>
> [*ERROR*] *Please refer to
> /Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
> for the individual test results.*
>
> [*ERROR*] *Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> [date].dumpstream and [date]-jvmRun[N].dumpstream.*
>
> [*ERROR*] -> *[Help 1]*
>
> *org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
> execute goal
> **org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify*
> *(default)* on project ctakes-ytex: *There are test failures.*
>
>
> *Please refer to
> /Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
> for the individual test results.*
>
> *Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> [date].dumpstream and [date]-jvmRun[N].dumpstream.*
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:215*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:156*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:148*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:117*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:81*)
>
>     *at*
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (*SingleThreadedBuilder.java:56*)
>
>     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> *LifecycleStarter.java:128*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)
>
>     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
>
>     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
>
>     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
>
>     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> *NativeMethodAccessorImpl.java:62*)
>
>     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> *DelegatingMethodAccessorImpl.java:43*)
>
>     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> *Launcher.java:282*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> *Launcher.java:225*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (*Launcher.java:406*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> *Launcher.java:347*)
>
> *Caused by*: org.apache.maven.plugin.MojoFailureException: *There are test
> failures.*
>
>
> *Please refer to
> /Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
> for the individual test results.*
>
> *Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> [date].dumpstream and [date]-jvmRun[N].dumpstream.*
>
>     *at* org.apache.maven.plugin.surefire.SurefireHelper.throwException (
> *SurefireHelper.java:240*)
>
>     *at* org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (
> *SurefireHelper.java:112*)
>
>     *at* org.apache.maven.plugin.failsafe.VerifyMojo.execute (
> *VerifyMojo.java:188*)
>
>     *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
> *DefaultBuildPluginManager.java:137*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:210*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:156*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:148*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:117*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:81*)
>
>     *at*
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (*SingleThreadedBuilder.java:56*)
>
>     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> *LifecycleStarter.java:128*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)
>
>     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
>
>     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
>
>     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
>
>     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> *NativeMethodAccessorImpl.java:62*)
>
>     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> *DelegatingMethodAccessorImpl.java:43*)
>
>     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> *Launcher.java:282*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> *Launcher.java:225*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (*Launcher.java:406*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> *Launcher.java:347*)
>
> [*ERROR*] Failed to execute goal
> org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar
> *(default-cli)* on project ctakes: *You're not authorized to execute any
> SonarQube analysis. Please contact your SonarQube administrator.* -> *[Help
> 2]*
>
> *org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
> execute goal *
> *org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar*
> *(default-cli)* on project ctakes: *You're not authorized to execute any
> SonarQube analysis. Please contact your SonarQube administrator.*
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:215*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:156*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:148*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:117*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:81*)
>
>     *at*
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (*SingleThreadedBuilder.java:56*)
>
>     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> *LifecycleStarter.java:128*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)
>
>     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
>
>     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
>
>     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
>
>     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> *NativeMethodAccessorImpl.java:62*)
>
>     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> *DelegatingMethodAccessorImpl.java:43*)
>
>     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> *Launcher.java:282*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> *Launcher.java:225*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (*Launcher.java:406*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> *Launcher.java:347*)
>
> *Caused by*: org.apache.maven.plugin.MojoExecutionException: *You're not
> authorized to execute any SonarQube analysis. Please contact your SonarQube
> administrator.*
>
>     *at*
> org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (
> *ScannerBootstrapper.java:67*)
>
>     *at* org.sonarsource.scanner.maven.SonarQubeMojo.execute (
> *SonarQubeMojo.java:104*)
>
>     *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
> *DefaultBuildPluginManager.java:137*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:210*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:156*)
>
>     *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
> *MojoExecutor.java:148*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:117*)
>
>     *at*
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
> *LifecycleModuleBuilder.java:81*)
>
>     *at*
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (*SingleThreadedBuilder.java:56*)
>
>     *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
> *LifecycleStarter.java:128*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)
>
>     *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)
>
>     *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)
>
>     *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)
>
>     *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)
>
>     *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)
>
>     *at* sun.reflect.NativeMethodAccessorImpl.invoke (
> *NativeMethodAccessorImpl.java:62*)
>
>     *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
> *DelegatingMethodAccessorImpl.java:43*)
>
>     *at* java.lang.reflect.Method.invoke (*Method.java:498*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
> *Launcher.java:282*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
> *Launcher.java:225*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (*Launcher.java:406*)
>
>     *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
> *Launcher.java:347*)
>
> *Caused by*: org.sonar.api.utils.MessageException: *You're not authorized
> to execute any SonarQube analysis. Please contact your SonarQube
> administrator.*
>
> [*ERROR*]
>
> [*ERROR*] Re-run Maven using the *-X* switch to enable full debug logging.
>
> [*ERROR*]
>
> [*ERROR*] For more information about the errors and possible solutions,
> please read the following articles:
>
> [*ERROR*] *[Help 1]*
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=nPn3YIWpjzdhxoqmNewNKZVwA8qHAIDHrWMmAsM7N1Y&s=_0lC0NhCpBhfHYvaXSivV6HNgO436jjXSoHaS6Ilrb0&e=
>
> [*ERROR*] *[Help 2]*
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoExecutionException&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=nPn3YIWpjzdhxoqmNewNKZVwA8qHAIDHrWMmAsM7N1Y&s=dF8UECpLMGH-1JXOIdBh9G1H-wIsYvELedRo0r8M8S0&e=
>
> [*ERROR*]
>
> [*ERROR*] After correcting the problems, you can resume the build with the
> command
>
> [*ERROR*]   *mvn <goals> -rf :ctakes-ytex*
>
>
>
>
>
>
> Thanks,
>
> Maral
>
> On Thu, Jul 18, 2019 at 5:23 AM Finan, Sean <
> Sean.Finan@childrens.harvard.edu> wrote:
>
> > Hi Maral,
> >
> > What version of java are you using?  Java 8 is the recommended version.
> >
> > Sean
> > ________________________________________
> > From: Maral Amir <ma...@gmail.com>
> > Sent: Thursday, July 18, 2019 1:39 AM
> > To: dev@ctakes.apache.org
> > Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]
> >
> > Hi Gandhi,
> >
> > Thank you for your reply. I installed the source code following the
> > Developer's install guide. ( subversion + Git and then Rebase after svn
> > checkin)
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=4ZFZ9gtgiaIRnqTY6fIS5zQTvrApEjeQC-9ekag5nB0&e=
> >
> > I should mention I have not worked with Java and Maven before. Is there
> any
> > other working directory that you would recommend me to get the source
> code
> > from. I have macOS Mojave.
> >
> > Thanks,
> > Maral
> >
> > On Wed, Jul 17, 2019 at 8:25 PM gandhi rajan <ga...@gmail.com>
> > wrote:
> >
> > > Hi Maral,
> > >
> > > I could see the following error in the stacktrace,
> > >
> > > java.lang.NoClassDefFoundError:
> > > javax/activation/MimeTypeParseException
> > >
> > > Could be an issue related to missing jar or classpath. Between, from
> > where
> > > did you check out the source code from?
> > >
> > > On Thursday, July 18, 2019, Maral Amir <ma...@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > I am building the cTAKES developer version using the following
> command.
> > > >
> > > > mvn --fail-at-end --errors --update-snapshots clean install
> sonar:sonar
> > > > -DskipTests=false -Dsonar.scm.provider=svn -Dsonar.host.url=
> > > >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__builds.apache.org_analysis&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=cddyaF0GBjzB-VeKidp23cWQ3u3Py5GYA5xAYNFnoNY&e=
> > > >
> > > > I also tried the following command:
> > > >
> > > >
> > > > mvn clean install
> > > >
> > > >
> > > > For both I get the following error:
> > > >
> > > >
> > > >
> > > > [*INFO*] *-------------------< *org.apache.ctakes:ctakes-ytex*
> > > > >--------------------*
> > > >
> > > > [*INFO*] *Building Apache cTAKES YTEX 4.0.1-SNAPSHOT
> > > > [48/53]*
> > > >
> > > > [*INFO*] *--------------------------------[ jar
> > > > ]---------------------------------*
> > > >
> > > > [*INFO*]
> > > >
> > > > [*INFO*] *--- *maven-clean-plugin:2.4.1:clean *(default-clean)* @
> > > > ctakes-ytex* ---*
> > > >
> > > > [*INFO*] Deleting
> /Users/mamir/projects/ctakes/trunk/ctakes-ytex/target
> > > >
> > > > [*INFO*]
> > > >
> > > > [*INFO*] *--- *jaxb2-maven-plugin:1.6:xjc *(default)* @ ctakes-ytex*
> > ---*
> > > >
> > > > [*INFO*] Generating source...
> > > >
> > > > [*INFO*] parsing a schema...
> > > >
> > > > [*INFO*]
> > > >
> > >
> >
> *------------------------------------------------------------------------*
> > > >
> > > > [*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*
> > > >
> > > > [*INFO*]
> > > >
> > > > [*INFO*] Apache cTAKES ......................................
> > > > *SUCCESS* [  0.870
> > > > s]
> > > >
> > > > [*INFO*] ctakes-gui-res .....................................
> > > > *SUCCESS* [  0.862
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources coreference ................
> > > > *SUCCESS* [  3.261
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources temporal ...................
> > > > *SUCCESS* [  0.584
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources relation-extractor .........
> > > > *SUCCESS* [  0.267
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
> > > > *SUCCESS* [  0.945
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources core .......................
> > > > *SUCCESS* [  0.355
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES common type system ...................
> > > > *SUCCESS* [  3.086
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES utils ................................
> > > > *SUCCESS* [  0.783
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES core .................................
> > > > *SUCCESS* [  5.913
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES dictionary lookup fast ...............
> > > > *SUCCESS* [  0.890
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES document preprocessor ................
> > > > *SUCCESS* [  0.911
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources lvg ........................
> > *SUCCESS* [
> > > > 11.864 s]
> > > >
> > > > [*INFO*] Apache cTAKES LVG lexical tools ....................
> > > > *SUCCESS* [  0.719
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources ne-contexts ................
> > > > *SUCCESS* [  0.226
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES named entity contexts ................
> > > > *SUCCESS* [  1.503
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources assertion ..................
> > > > *SUCCESS* [  1.482
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources constituency-parser ........
> > > > *SUCCESS* [  1.999
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Constituency Parser ..................
> > > > *SUCCESS* [  0.769
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources dependency-parser ..........
> > *SUCCESS* [
> > > > 14.499 s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources pos-tagger .................
> > > > *SUCCESS* [  0.878
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES part-of-speech tagger ................
> > > > *SUCCESS* [  1.723
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Dependency Parser ....................
> > *SUCCESS* [
> > > > 17.419 s]
> > > >
> > > > [*INFO*] Apache cTAKES context dependent tokenizer ..........
> > > > *SUCCESS* [  1.547
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
> > > > *SUCCESS* [  0.822
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES chunker ..............................
> > > > *SUCCESS* [  0.835
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Assertion ............................
> > > > *SUCCESS* [  1.726
> > > > s]
> > > >
> > > > [*INFO*] ctakes-clinical-pipeline-res .......................
> > > > *SUCCESS* [  0.200
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
> > > > *SUCCESS* [  1.046
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Relation Extractor ...................
> > > > *SUCCESS* [  3.062
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Temporal Information Extraction ......
> > *SUCCESS* [
> > > > 52.554 s]
> > > >
> > > > [*INFO*] Apache cTAKES CoReference Resolver .................
> > > > *SUCCESS* [  2.403
> > > > s]
> > > >
> > > > [*INFO*] ctakes-gui .........................................
> > > > *SUCCESS* [  1.531
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES fhir support .........................
> > > > *SUCCESS* [  0.759
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources dictionary-lookup ..........
> > > > *SUCCESS* [  7.312
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES dictionary lookup ....................
> > > > *SUCCESS* [  0.711
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources drug-ner ...................
> > > > *SUCCESS* [  0.272
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Drug NER .............................
> > > > *SUCCESS* [  1.158
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources side-effect ................
> > > > *SUCCESS* [  0.268
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Side Effects .........................
> > > > *SUCCESS* [  0.837
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources smoking-status .............
> > > > *SUCCESS* [  0.347
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Smoking Status .......................
> > > > *SUCCESS* [  1.081
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources assertion-zoner ............
> > > > *SUCCESS* [  0.296
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Assertion's zoner ....................
> > > > *SUCCESS* [  0.686
> > > > s]
> > > >
> > > > [*INFO*] ctakes-examples-res ................................
> > > > *SUCCESS* [  0.443
> > > > s]
> > > >
> > > > [*INFO*] ctakes-examples ....................................
> > > > *SUCCESS* [  1.060
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
> > > > *SUCCESS* [  0.321
> > > > s]
> > > >
> > > > [*INFO*] Apache cTAKES YTEX .................................
> > > > *FAILURE* [  0.666
> > > > s]
> > > >
> > > > [*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:  02:34 min
> > > >
> > > > [*INFO*] Finished at: 2019-07-17T17:53:36-07:00
> > > >
> > > > [*INFO*]
> > > >
> > >
> >
> *------------------------------------------------------------------------*
> > > >
> > > > ---------------------------------------------------
> > > >
> > > > constituent[0]: file:/Users/mamir/apache-maven-3.6.1/conf/logging/
> > > >
> > > > constituent[1]:
> > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-builder-3.6.1.jar
> > > >
> > > > constituent[2]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > > resolver-transport-wagon-1.3.3.jar
> > > >
> > > > constituent[3]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-compat-3.6.1.jar
> > > >
> > > > constituent[4]:
> file:/Users/mamir/apache-maven-3.6.1/lib/aopalliance-1.
> > > > 0.jar
> > > >
> > > > constituent[5]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-plugin-api-3.6.1.jar
> > > >
> > > > constituent[6]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-cipher-1.7.jar
> > > >
> > > > constituent[7]:
> > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/plexus-interpolation-1.25.jar
> > > >
> > > > constituent[8]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/guice-4.2.1-no_aop.jar
> > > >
> > > > constituent[9]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/slf4j-api-1.7.25.jar
> > > >
> > > > constituent[10]:
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/error_prone_annotations-2.1.3.jar
> > > >
> > > > constituent[11]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/cdi-api-1.0.jar
> > > >
> > > > constituent[12]:
> > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-slf4j-provider-3.6.1.jar
> > > >
> > > > constituent[13]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/jcl-over-slf4j-1.7.25.jar
> > > >
> > > > constituent[14]:
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-provider-3.6.1.jar
> > > >
> > > > constituent[15]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-artifact-3.6.1.jar
> > > >
> > > > constituent[16]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-spi-1.3.3.jar
> > > >
> > > > constituent[17]:
> > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-util-1.3.3.jar
> > > >
> > > > constituent[18]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-http-3.3.2-shaded.jar
> > > >
> > > > constituent[19]:
> > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/plexus-sec-dispatcher-1.4.jar
> > > >
> > > > constituent[20]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-
> > > > component-annotations-1.7.1.jar
> > > >
> > > > constituent[21]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > > repository-metadata-3.6.1.jar
> > > >
> > > > constituent[22]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-utils-3.2.0.jar
> > > >
> > > > constituent[23]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-cli-1.4.jar
> > > >
> > > > constituent[24]:
> file:/Users/mamir/apache-maven-3.6.1/lib/commons-io-2.
> > > > 5.jar
> > > >
> > > > constituent[25]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/jansi-1.17.1.jar
> > > >
> > > > constituent[26]:
> > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-impl-1.3.3.jar
> > > >
> > > > constituent[27]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-embedder-3.6.1.jar
> > > >
> > > > constituent[28]:
> > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-builder-3.6.1.jar
> > > >
> > > > constituent[29]:
> > > >
> file:/Users/mamir/apache-maven-3.6.1/lib/checker-compat-qual-2.0.0.jar
> > > >
> > > > constituent[30]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/j2objc-annotations-1.1.jar
> > > >
> > > > constituent[31]:
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.inject-0.3.3.jar
> > > >
> > > > constituent[32]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-file-3.3.2.jar
> > > >
> > > > constituent[33]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-3.6.1.jar
> > > >
> > > > constituent[34]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-3.6.1.jar
> > > >
> > > > constituent[35]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-api-1.3.3.jar
> > > >
> > > > constituent[36]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > > resolver-connector-basic-1.3.3.jar
> > > >
> > > > constituent[37]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/animal-
> > > > sniffer-annotations-1.14.jar
> > > >
> > > > constituent[38]:
> > > >
> > file:/Users/mamir/apache-maven-3.6.1/lib/maven-builder-support-3.6.1.jar
> > > >
> > > > constituent[39]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-shared-utils-3.2.1.jar
> > > >
> > > > constituent[40]:
> > > >
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.plexus-0.3.3.jar
> > > >
> > > > constituent[41]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/jsr305-3.0.2.jar
> > > >
> > > > constituent[42]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-core-3.6.1.jar
> > > >
> > > > constituent[43]:
> file:/Users/mamir/apache-maven-3.6.1/lib/javax.inject-
> > > > 1.jar
> > > >
> > > > constituent[44]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-lang3-3.8.1.jar
> > > >
> > > > constituent[45]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/guava-25.1-android.jar
> > > >
> > > > constituent[46]:
> file:/Users/mamir/apache-maven-3.6.1/lib/jsr250-api-1.
> > > > 0.jar
> > > >
> > > > constituent[47]:
> > > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-provider-api-3.3.2.jar
> > > >
> > > > ---------------------------------------------------
> > > >
> > > > Exception in thread "main" java.lang.Error:
> > > > java.lang.reflect.InvocationTargetException
> > > >
> > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > > >
> > > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.<init>(
> > > > BGMBuilder.java:147)
> > > >
> > > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(
> > > > BGMBuilder.java:117)
> > > >
> > > > at
> > com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:425)
> > > >
> > > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
> > > >
> > > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
> > > >
> > > > at com.sun.tools.xjc.Driver.run(Driver.java:333)
> > > >
> > > > at org.codehaus.mojo.jaxb2.AbstractXjcMojo.execute(
> > > > AbstractXjcMojo.java:316)
> > > >
> > > > at
> > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > > > DefaultBuildPluginManager.java:137)
> > > >
> > > > at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > > MojoExecutor.java:210)
> > > >
> > > > at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > > MojoExecutor.java:156)
> > > >
> > > > at
> > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > > MojoExecutor.java:148)
> > > >
> > > > at
> > > >
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > > LifecycleModuleBuilder.java:117)
> > > >
> > > > at
> > > >
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > > LifecycleModuleBuilder.java:81)
> > > >
> > > > at
> > > > org.apache.maven.lifecycle.internal.builder.singlethreaded.
> > > > SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> > > >
> > > > at
> > > > org.apache.maven.lifecycle.internal.LifecycleStarter.
> > > > execute(LifecycleStarter.java:128)
> > > >
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
> > > >
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
> > > >
> > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
> > > >
> > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
> > > >
> > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> > > >
> > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
> > > >
> > > > at
> > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > Method)
> > > >
> > > > at
> > > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
> > > > NativeMethodAccessorImpl.java:62)
> > > >
> > > > at
> > > > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
> > > > DelegatingMethodAccessorImpl.java:43)
> > > >
> > > > at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> > > >
> > > > at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > launchEnhanced(Launcher.java:282)
> > > >
> > > > at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > launch(Launcher.java:225)
> > > >
> > > > at
> > > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > mainWithExitCode(Launcher.java:406)
> > > >
> > > > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > > > main(Launcher.java:347)
> > > >
> > > > Caused by: java.lang.reflect.InvocationTargetException
> > > >
> > > > at
> > > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > > newInstance0(Native
> > > > Method)
> > > >
> > > > at
> > > >
> > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > > NativeConstructorAccessorImpl.java:62)
> > > >
> > > > at
> > > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > > >
> > > > at
> > > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > > Constructor.java:500)
> > > >
> > > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > > Constructor.java:481)
> > > >
> > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > > >
> > > > ... 29 more
> > > >
> > > > Caused by: java.lang.Error:
> java.lang.reflect.InvocationTargetException
> > > >
> > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > > >
> > > > at
> > > > com.sun.tools.xjc.reader.xmlschema.BindingComponent.getClassSelector(
> > > > BindingComponent.java:65)
> > > >
> > > > at
> > > >
> > >
> >
> com.sun.tools.xjc.reader.xmlschema.ColorBinder.<init>(ColorBinder.java:62)
> > > >
> > > > at
> > com.sun.tools.xjc.reader.xmlschema.BindGreen.<init>(BindGreen.java:63)
> > > >
> > > > ... 35 more
> > > >
> > > > Caused by: java.lang.reflect.InvocationTargetException
> > > >
> > > > at
> > > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > > newInstance0(Native
> > > > Method)
> > > >
> > > > at
> > > >
> > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > > NativeConstructorAccessorImpl.java:62)
> > > >
> > > > at
> > > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > > >
> > > > at
> > > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > > Constructor.java:500)
> > > >
> > > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > > Constructor.java:481)
> > > >
> > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > > >
> > > > ... 38 more
> > > >
> > > > Caused by: java.lang.NoClassDefFoundError:
> > > > javax/activation/MimeTypeParseException
> > > >
> > > > at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
> > > >
> > > > at java.base/java.lang.Class.privateGetDeclaredConstructors
> > > > (Class.java:3143)
> > > >
> > > > at java.base/java.lang.Class.getConstructor0(Class.java:3348)
> > > >
> > > > at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2559)
> > > >
> > > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:100)
> > > >
> > > > at
> > > > com.sun.tools.xjc.reader.xmlschema.DefaultClassBinder.<
> > > > init>(DefaultClassBinder.java:98)
> > > >
> > > > at
> > > > com.sun.tools.xjc.reader.xmlschema.ClassSelector.<init>
> > > > (ClassSelector.java:214)
> > > >
> > > > ... 44 more
> > > >
> > > > Caused by: java.lang.ClassNotFoundException:
> > > > javax.activation.MimeTypeParseException
> > > >
> > > > at
> > > > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
> > > > SelfFirstStrategy.java:50)
> > > >
> > > > at
> > > >
> > org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(
> > > > ClassRealm.java:271)
> > > >
> > > > at
> > > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > > loadClass(ClassRealm.java:247)
> > > >
> > > > at
> > > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > > loadClass(ClassRealm.java:239)
> > > >
> > > > ... 51 more
> > > >
> > > >
> > > >
> > > >
> > > > I really appreciate any help.
> > > >
> > > > Thanks.
> > > > Maral
> > > >
> > >
> > >
> > > --
> > > Regards,
> > > Gandhi
> > >
> > > "The best way to find urself is to lose urself in the service of others
> > > !!!"
> > >
> >
>
>

-- 
Regards,
Gandhi

"The best way to find urself is to lose urself in the service of others !!!"

Re: Build Error in cTAKES YTEX [EXTERNAL]

Posted by "Finan, Sean" <Se...@childrens.harvard.edu>.
Hi Maral,

It looks like the failure came from a test:

>project ctakes-ytex: *There are test failures.*

What happens if you turn off the maven tests?  Add "-DskipTests" to the maven command.   If you are using an IDE there is probably an option (checkbox, other) to turn off tests.

Make sure that you run a maven clean after switching jdk versions.

Sean

________________________________________
From: Maral Amir <ma...@gmail.com>
Sent: Thursday, July 18, 2019 12:26 PM
To: dev@ctakes.apache.org
Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]

Hi Sean,

Thank you for your reply. I was using Java SE 12.0.1. I installed Java 8
after your response.

java -version
openjdk version "1.8.0_212"

OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b04)

OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b04, mixed mode)


Now I get the following error when I build:




[*INFO*]

[*INFO*] *--- *sonar-maven-plugin:3.6.0.1398:sonar *(default-cli)* @ ctakes*
---*

[*INFO*] User cache: /Users/mamir/.sonar/cache

[*INFO*] SonarQube version: 5.6.3

[*INFO*] Default locale: "en_US", source code encoding: "UTF-8"

[*INFO*] Load global repositories

[*INFO*]
*------------------------------------------------------------------------*

[*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*

[*INFO*]

[*INFO*] Apache cTAKES ...................................... *FAILURE* [
17.109 s]

[*INFO*] ctakes-gui-res .....................................
*SUCCESS* [  0.729
s]

[*INFO*] Apache cTAKES Resources coreference ................
*SUCCESS* [  3.359
s]

[*INFO*] Apache cTAKES Resources temporal ...................
*SUCCESS* [  0.602
s]

[*INFO*] Apache cTAKES Resources relation-extractor .........
*SUCCESS* [  0.269
s]

[*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
*SUCCESS* [  1.048
s]

[*INFO*] Apache cTAKES Resources core .......................
*SUCCESS* [  0.355
s]

[*INFO*] Apache cTAKES common type system ...................
*SUCCESS* [  3.008
s]

[*INFO*] Apache cTAKES utils ................................
*SUCCESS* [  0.753
s]

[*INFO*] Apache cTAKES core .................................
*SUCCESS* [  6.828
s]

[*INFO*] Apache cTAKES dictionary lookup fast ...............
*SUCCESS* [  0.700
s]

[*INFO*] Apache cTAKES document preprocessor ................
*SUCCESS* [  0.850
s]

[*INFO*] Apache cTAKES Resources lvg ........................ *SUCCESS* [
11.420 s]

[*INFO*] Apache cTAKES LVG lexical tools ....................
*SUCCESS* [  0.639
s]

[*INFO*] Apache cTAKES Resources ne-contexts ................
*SUCCESS* [  0.210
s]

[*INFO*] Apache cTAKES named entity contexts ................
*SUCCESS* [  1.214
s]

[*INFO*] Apache cTAKES Resources assertion ..................
*SUCCESS* [  1.279
s]

[*INFO*] Apache cTAKES Resources constituency-parser ........
*SUCCESS* [  1.765
s]

[*INFO*] Apache cTAKES Constituency Parser ..................
*SUCCESS* [  0.503
s]

[*INFO*] Apache cTAKES Resources dependency-parser .......... *SUCCESS* [
13.205 s]

[*INFO*] Apache cTAKES Resources pos-tagger .................
*SUCCESS* [  0.920
s]

[*INFO*] Apache cTAKES part-of-speech tagger ................
*SUCCESS* [  1.693
s]

[*INFO*] Apache cTAKES Dependency Parser .................... *SUCCESS* [
20.948 s]

[*INFO*] Apache cTAKES context dependent tokenizer ..........
*SUCCESS* [  1.389
s]

[*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
*SUCCESS* [  0.773
s]

[*INFO*] Apache cTAKES chunker ..............................
*SUCCESS* [  0.520
s]

[*INFO*] Apache cTAKES Assertion ............................
*SUCCESS* [  1.412
s]

[*INFO*] ctakes-clinical-pipeline-res .......................
*SUCCESS* [  0.200
s]

[*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
*SUCCESS* [  0.740
s]

[*INFO*] Apache cTAKES Relation Extractor ...................
*SUCCESS* [  2.244
s]

[*INFO*] Apache cTAKES Temporal Information Extraction ...... *SUCCESS* [
56.385 s]

[*INFO*] Apache cTAKES CoReference Resolver .................
*SUCCESS* [  1.674
s]

[*INFO*] ctakes-gui .........................................
*SUCCESS* [  1.158
s]

[*INFO*] Apache cTAKES fhir support .........................
*SUCCESS* [  0.690
s]

[*INFO*] Apache cTAKES Resources dictionary-lookup ..........
*SUCCESS* [  6.639
s]

[*INFO*] Apache cTAKES dictionary lookup ....................
*SUCCESS* [  0.641
s]

[*INFO*] Apache cTAKES Resources drug-ner ...................
*SUCCESS* [  0.244
s]

[*INFO*] Apache cTAKES Drug NER .............................
*SUCCESS* [  0.837
s]

[*INFO*] Apache cTAKES Resources side-effect ................
*SUCCESS* [  0.287
s]

[*INFO*] Apache cTAKES Side Effects .........................
*SUCCESS* [  0.560
s]

[*INFO*] Apache cTAKES Resources smoking-status .............
*SUCCESS* [  0.279
s]

[*INFO*] Apache cTAKES Smoking Status .......................
*SUCCESS* [  0.655
s]

[*INFO*] Apache cTAKES Resources assertion-zoner ............
*SUCCESS* [  0.290
s]

[*INFO*] Apache cTAKES Assertion's zoner ....................
*SUCCESS* [  0.411
s]

[*INFO*] ctakes-examples-res ................................
*SUCCESS* [  0.306
s]

[*INFO*] ctakes-examples ....................................
*SUCCESS* [  0.809
s]

[*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
*SUCCESS* [  0.271
s]

[*INFO*] Apache cTAKES YTEX ................................. *FAILURE* [
36.312 s]

[*INFO*] Apache cTAKES YTEX UIMA ............................ *SKIPPED*

[*INFO*] Apache cTAKES YTEX Web ............................. *SKIPPED*

[*INFO*] Apache cTAKES Distribution ......................... *SKIPPED*

[*INFO*] Apache cTAKES Regression-test ...................... *SUCCESS* [
24.494 s]

[*INFO*] Apache cTAKES template filler ......................
*SUCCESS* [  0.638
s]

[*INFO*]
*------------------------------------------------------------------------*

[*INFO*] *BUILD FAILURE*

[*INFO*]
*------------------------------------------------------------------------*

[*INFO*] Total time:  03:52 min

[*INFO*] Finished at: 2019-07-18T09:16:11-07:00

[*INFO*]
*------------------------------------------------------------------------*

[*ERROR*] Failed to execute goal
org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify *(default)* on
project ctakes-ytex: *There are test failures.*

[*ERROR*]

[*ERROR*] *Please refer to
/Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
for the individual test results.*

[*ERROR*] *Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.*

[*ERROR*] -> *[Help 1]*

*org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
execute goal **org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify*
*(default)* on project ctakes-ytex: *There are test failures.*


*Please refer to
/Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
for the individual test results.*

*Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.*

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:215*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

*Caused by*: org.apache.maven.plugin.MojoFailureException: *There are test
failures.*


*Please refer to
/Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
for the individual test results.*

*Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.*

    *at* org.apache.maven.plugin.surefire.SurefireHelper.throwException (
*SurefireHelper.java:240*)

    *at* org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (
*SurefireHelper.java:112*)

    *at* org.apache.maven.plugin.failsafe.VerifyMojo.execute (
*VerifyMojo.java:188*)

    *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
*DefaultBuildPluginManager.java:137*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:210*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

[*ERROR*] Failed to execute goal
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar
*(default-cli)* on project ctakes: *You're not authorized to execute any
SonarQube analysis. Please contact your SonarQube administrator.* -> *[Help
2]*

*org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
execute goal *
*org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar*
*(default-cli)* on project ctakes: *You're not authorized to execute any
SonarQube analysis. Please contact your SonarQube administrator.*

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:215*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

*Caused by*: org.apache.maven.plugin.MojoExecutionException: *You're not
authorized to execute any SonarQube analysis. Please contact your SonarQube
administrator.*

    *at*
org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (
*ScannerBootstrapper.java:67*)

    *at* org.sonarsource.scanner.maven.SonarQubeMojo.execute (
*SonarQubeMojo.java:104*)

    *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
*DefaultBuildPluginManager.java:137*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:210*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

*Caused by*: org.sonar.api.utils.MessageException: *You're not authorized
to execute any SonarQube analysis. Please contact your SonarQube
administrator.*

[*ERROR*]

[*ERROR*] Re-run Maven using the *-X* switch to enable full debug logging.

[*ERROR*]

[*ERROR*] For more information about the errors and possible solutions,
please read the following articles:

[*ERROR*] *[Help 1]*
https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoFailureException&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=nPn3YIWpjzdhxoqmNewNKZVwA8qHAIDHrWMmAsM7N1Y&s=_0lC0NhCpBhfHYvaXSivV6HNgO436jjXSoHaS6Ilrb0&e=

[*ERROR*] *[Help 2]*
https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoExecutionException&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=nPn3YIWpjzdhxoqmNewNKZVwA8qHAIDHrWMmAsM7N1Y&s=dF8UECpLMGH-1JXOIdBh9G1H-wIsYvELedRo0r8M8S0&e=

[*ERROR*]

[*ERROR*] After correcting the problems, you can resume the build with the
command

[*ERROR*]   *mvn <goals> -rf :ctakes-ytex*






Thanks,

Maral

On Thu, Jul 18, 2019 at 5:23 AM Finan, Sean <
Sean.Finan@childrens.harvard.edu> wrote:

> Hi Maral,
>
> What version of java are you using?  Java 8 is the recommended version.
>
> Sean
> ________________________________________
> From: Maral Amir <ma...@gmail.com>
> Sent: Thursday, July 18, 2019 1:39 AM
> To: dev@ctakes.apache.org
> Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]
>
> Hi Gandhi,
>
> Thank you for your reply. I installed the source code following the
> Developer's install guide. ( subversion + Git and then Rebase after svn
> checkin)
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=4ZFZ9gtgiaIRnqTY6fIS5zQTvrApEjeQC-9ekag5nB0&e=
>
> I should mention I have not worked with Java and Maven before. Is there any
> other working directory that you would recommend me to get the source code
> from. I have macOS Mojave.
>
> Thanks,
> Maral
>
> On Wed, Jul 17, 2019 at 8:25 PM gandhi rajan <ga...@gmail.com>
> wrote:
>
> > Hi Maral,
> >
> > I could see the following error in the stacktrace,
> >
> > java.lang.NoClassDefFoundError:
> > javax/activation/MimeTypeParseException
> >
> > Could be an issue related to missing jar or classpath. Between, from
> where
> > did you check out the source code from?
> >
> > On Thursday, July 18, 2019, Maral Amir <ma...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I am building the cTAKES developer version using the following command.
> > >
> > > mvn --fail-at-end --errors --update-snapshots clean install sonar:sonar
> > > -DskipTests=false -Dsonar.scm.provider=svn -Dsonar.host.url=
> > >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__builds.apache.org_analysis&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=cddyaF0GBjzB-VeKidp23cWQ3u3Py5GYA5xAYNFnoNY&e=
> > >
> > > I also tried the following command:
> > >
> > >
> > > mvn clean install
> > >
> > >
> > > For both I get the following error:
> > >
> > >
> > >
> > > [*INFO*] *-------------------< *org.apache.ctakes:ctakes-ytex*
> > > >--------------------*
> > >
> > > [*INFO*] *Building Apache cTAKES YTEX 4.0.1-SNAPSHOT
> > > [48/53]*
> > >
> > > [*INFO*] *--------------------------------[ jar
> > > ]---------------------------------*
> > >
> > > [*INFO*]
> > >
> > > [*INFO*] *--- *maven-clean-plugin:2.4.1:clean *(default-clean)* @
> > > ctakes-ytex* ---*
> > >
> > > [*INFO*] Deleting /Users/mamir/projects/ctakes/trunk/ctakes-ytex/target
> > >
> > > [*INFO*]
> > >
> > > [*INFO*] *--- *jaxb2-maven-plugin:1.6:xjc *(default)* @ ctakes-ytex*
> ---*
> > >
> > > [*INFO*] Generating source...
> > >
> > > [*INFO*] parsing a schema...
> > >
> > > [*INFO*]
> > >
> >
> *------------------------------------------------------------------------*
> > >
> > > [*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*
> > >
> > > [*INFO*]
> > >
> > > [*INFO*] Apache cTAKES ......................................
> > > *SUCCESS* [  0.870
> > > s]
> > >
> > > [*INFO*] ctakes-gui-res .....................................
> > > *SUCCESS* [  0.862
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources coreference ................
> > > *SUCCESS* [  3.261
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources temporal ...................
> > > *SUCCESS* [  0.584
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources relation-extractor .........
> > > *SUCCESS* [  0.267
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
> > > *SUCCESS* [  0.945
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources core .......................
> > > *SUCCESS* [  0.355
> > > s]
> > >
> > > [*INFO*] Apache cTAKES common type system ...................
> > > *SUCCESS* [  3.086
> > > s]
> > >
> > > [*INFO*] Apache cTAKES utils ................................
> > > *SUCCESS* [  0.783
> > > s]
> > >
> > > [*INFO*] Apache cTAKES core .................................
> > > *SUCCESS* [  5.913
> > > s]
> > >
> > > [*INFO*] Apache cTAKES dictionary lookup fast ...............
> > > *SUCCESS* [  0.890
> > > s]
> > >
> > > [*INFO*] Apache cTAKES document preprocessor ................
> > > *SUCCESS* [  0.911
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources lvg ........................
> *SUCCESS* [
> > > 11.864 s]
> > >
> > > [*INFO*] Apache cTAKES LVG lexical tools ....................
> > > *SUCCESS* [  0.719
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources ne-contexts ................
> > > *SUCCESS* [  0.226
> > > s]
> > >
> > > [*INFO*] Apache cTAKES named entity contexts ................
> > > *SUCCESS* [  1.503
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources assertion ..................
> > > *SUCCESS* [  1.482
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources constituency-parser ........
> > > *SUCCESS* [  1.999
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Constituency Parser ..................
> > > *SUCCESS* [  0.769
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources dependency-parser ..........
> *SUCCESS* [
> > > 14.499 s]
> > >
> > > [*INFO*] Apache cTAKES Resources pos-tagger .................
> > > *SUCCESS* [  0.878
> > > s]
> > >
> > > [*INFO*] Apache cTAKES part-of-speech tagger ................
> > > *SUCCESS* [  1.723
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Dependency Parser ....................
> *SUCCESS* [
> > > 17.419 s]
> > >
> > > [*INFO*] Apache cTAKES context dependent tokenizer ..........
> > > *SUCCESS* [  1.547
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
> > > *SUCCESS* [  0.822
> > > s]
> > >
> > > [*INFO*] Apache cTAKES chunker ..............................
> > > *SUCCESS* [  0.835
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Assertion ............................
> > > *SUCCESS* [  1.726
> > > s]
> > >
> > > [*INFO*] ctakes-clinical-pipeline-res .......................
> > > *SUCCESS* [  0.200
> > > s]
> > >
> > > [*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
> > > *SUCCESS* [  1.046
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Relation Extractor ...................
> > > *SUCCESS* [  3.062
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Temporal Information Extraction ......
> *SUCCESS* [
> > > 52.554 s]
> > >
> > > [*INFO*] Apache cTAKES CoReference Resolver .................
> > > *SUCCESS* [  2.403
> > > s]
> > >
> > > [*INFO*] ctakes-gui .........................................
> > > *SUCCESS* [  1.531
> > > s]
> > >
> > > [*INFO*] Apache cTAKES fhir support .........................
> > > *SUCCESS* [  0.759
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources dictionary-lookup ..........
> > > *SUCCESS* [  7.312
> > > s]
> > >
> > > [*INFO*] Apache cTAKES dictionary lookup ....................
> > > *SUCCESS* [  0.711
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources drug-ner ...................
> > > *SUCCESS* [  0.272
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Drug NER .............................
> > > *SUCCESS* [  1.158
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources side-effect ................
> > > *SUCCESS* [  0.268
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Side Effects .........................
> > > *SUCCESS* [  0.837
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources smoking-status .............
> > > *SUCCESS* [  0.347
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Smoking Status .......................
> > > *SUCCESS* [  1.081
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources assertion-zoner ............
> > > *SUCCESS* [  0.296
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Assertion's zoner ....................
> > > *SUCCESS* [  0.686
> > > s]
> > >
> > > [*INFO*] ctakes-examples-res ................................
> > > *SUCCESS* [  0.443
> > > s]
> > >
> > > [*INFO*] ctakes-examples ....................................
> > > *SUCCESS* [  1.060
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
> > > *SUCCESS* [  0.321
> > > s]
> > >
> > > [*INFO*] Apache cTAKES YTEX .................................
> > > *FAILURE* [  0.666
> > > s]
> > >
> > > [*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:  02:34 min
> > >
> > > [*INFO*] Finished at: 2019-07-17T17:53:36-07:00
> > >
> > > [*INFO*]
> > >
> >
> *------------------------------------------------------------------------*
> > >
> > > ---------------------------------------------------
> > >
> > > constituent[0]: file:/Users/mamir/apache-maven-3.6.1/conf/logging/
> > >
> > > constituent[1]:
> > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-builder-3.6.1.jar
> > >
> > > constituent[2]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > resolver-transport-wagon-1.3.3.jar
> > >
> > > constituent[3]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-compat-3.6.1.jar
> > >
> > > constituent[4]: file:/Users/mamir/apache-maven-3.6.1/lib/aopalliance-1.
> > > 0.jar
> > >
> > > constituent[5]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-plugin-api-3.6.1.jar
> > >
> > > constituent[6]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-cipher-1.7.jar
> > >
> > > constituent[7]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-interpolation-1.25.jar
> > >
> > > constituent[8]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/guice-4.2.1-no_aop.jar
> > >
> > > constituent[9]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/slf4j-api-1.7.25.jar
> > >
> > > constituent[10]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/error_prone_annotations-2.1.3.jar
> > >
> > > constituent[11]:
> file:/Users/mamir/apache-maven-3.6.1/lib/cdi-api-1.0.jar
> > >
> > > constituent[12]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-slf4j-provider-3.6.1.jar
> > >
> > > constituent[13]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/jcl-over-slf4j-1.7.25.jar
> > >
> > > constituent[14]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-provider-3.6.1.jar
> > >
> > > constituent[15]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-artifact-3.6.1.jar
> > >
> > > constituent[16]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-spi-1.3.3.jar
> > >
> > > constituent[17]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-util-1.3.3.jar
> > >
> > > constituent[18]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-http-3.3.2-shaded.jar
> > >
> > > constituent[19]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-sec-dispatcher-1.4.jar
> > >
> > > constituent[20]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-
> > > component-annotations-1.7.1.jar
> > >
> > > constituent[21]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > repository-metadata-3.6.1.jar
> > >
> > > constituent[22]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-utils-3.2.0.jar
> > >
> > > constituent[23]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-cli-1.4.jar
> > >
> > > constituent[24]: file:/Users/mamir/apache-maven-3.6.1/lib/commons-io-2.
> > > 5.jar
> > >
> > > constituent[25]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/jansi-1.17.1.jar
> > >
> > > constituent[26]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-impl-1.3.3.jar
> > >
> > > constituent[27]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-embedder-3.6.1.jar
> > >
> > > constituent[28]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-builder-3.6.1.jar
> > >
> > > constituent[29]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/checker-compat-qual-2.0.0.jar
> > >
> > > constituent[30]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/j2objc-annotations-1.1.jar
> > >
> > > constituent[31]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.inject-0.3.3.jar
> > >
> > > constituent[32]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-file-3.3.2.jar
> > >
> > > constituent[33]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-3.6.1.jar
> > >
> > > constituent[34]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-3.6.1.jar
> > >
> > > constituent[35]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-api-1.3.3.jar
> > >
> > > constituent[36]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > resolver-connector-basic-1.3.3.jar
> > >
> > > constituent[37]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/animal-
> > > sniffer-annotations-1.14.jar
> > >
> > > constituent[38]:
> > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-builder-support-3.6.1.jar
> > >
> > > constituent[39]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-shared-utils-3.2.1.jar
> > >
> > > constituent[40]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.plexus-0.3.3.jar
> > >
> > > constituent[41]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/jsr305-3.0.2.jar
> > >
> > > constituent[42]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-core-3.6.1.jar
> > >
> > > constituent[43]: file:/Users/mamir/apache-maven-3.6.1/lib/javax.inject-
> > > 1.jar
> > >
> > > constituent[44]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-lang3-3.8.1.jar
> > >
> > > constituent[45]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/guava-25.1-android.jar
> > >
> > > constituent[46]: file:/Users/mamir/apache-maven-3.6.1/lib/jsr250-api-1.
> > > 0.jar
> > >
> > > constituent[47]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-provider-api-3.3.2.jar
> > >
> > > ---------------------------------------------------
> > >
> > > Exception in thread "main" java.lang.Error:
> > > java.lang.reflect.InvocationTargetException
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > >
> > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.<init>(
> > > BGMBuilder.java:147)
> > >
> > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(
> > > BGMBuilder.java:117)
> > >
> > > at
> com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:425)
> > >
> > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
> > >
> > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
> > >
> > > at com.sun.tools.xjc.Driver.run(Driver.java:333)
> > >
> > > at org.codehaus.mojo.jaxb2.AbstractXjcMojo.execute(
> > > AbstractXjcMojo.java:316)
> > >
> > > at
> > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > > DefaultBuildPluginManager.java:137)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > MojoExecutor.java:210)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > MojoExecutor.java:156)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > MojoExecutor.java:148)
> > >
> > > at
> > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > LifecycleModuleBuilder.java:117)
> > >
> > > at
> > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > LifecycleModuleBuilder.java:81)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.builder.singlethreaded.
> > > SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.LifecycleStarter.
> > > execute(LifecycleStarter.java:128)
> > >
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
> > >
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
> > >
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
> > >
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
> > >
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> > >
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
> > >
> > > at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > >
> > > at
> > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:62)
> > >
> > > at
> > > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > >
> > > at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > launchEnhanced(Launcher.java:282)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > launch(Launcher.java:225)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > mainWithExitCode(Launcher.java:406)
> > >
> > > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > > main(Launcher.java:347)
> > >
> > > Caused by: java.lang.reflect.InvocationTargetException
> > >
> > > at
> > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > newInstance0(Native
> > > Method)
> > >
> > > at
> > >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > NativeConstructorAccessorImpl.java:62)
> > >
> > > at
> > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > >
> > > at
> > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > Constructor.java:500)
> > >
> > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > Constructor.java:481)
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > >
> > > ... 29 more
> > >
> > > Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > >
> > > at
> > > com.sun.tools.xjc.reader.xmlschema.BindingComponent.getClassSelector(
> > > BindingComponent.java:65)
> > >
> > > at
> > >
> >
> com.sun.tools.xjc.reader.xmlschema.ColorBinder.<init>(ColorBinder.java:62)
> > >
> > > at
> com.sun.tools.xjc.reader.xmlschema.BindGreen.<init>(BindGreen.java:63)
> > >
> > > ... 35 more
> > >
> > > Caused by: java.lang.reflect.InvocationTargetException
> > >
> > > at
> > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > newInstance0(Native
> > > Method)
> > >
> > > at
> > >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > NativeConstructorAccessorImpl.java:62)
> > >
> > > at
> > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > >
> > > at
> > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > Constructor.java:500)
> > >
> > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > Constructor.java:481)
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > >
> > > ... 38 more
> > >
> > > Caused by: java.lang.NoClassDefFoundError:
> > > javax/activation/MimeTypeParseException
> > >
> > > at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
> > >
> > > at java.base/java.lang.Class.privateGetDeclaredConstructors
> > > (Class.java:3143)
> > >
> > > at java.base/java.lang.Class.getConstructor0(Class.java:3348)
> > >
> > > at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2559)
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:100)
> > >
> > > at
> > > com.sun.tools.xjc.reader.xmlschema.DefaultClassBinder.<
> > > init>(DefaultClassBinder.java:98)
> > >
> > > at
> > > com.sun.tools.xjc.reader.xmlschema.ClassSelector.<init>
> > > (ClassSelector.java:214)
> > >
> > > ... 44 more
> > >
> > > Caused by: java.lang.ClassNotFoundException:
> > > javax.activation.MimeTypeParseException
> > >
> > > at
> > > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
> > > SelfFirstStrategy.java:50)
> > >
> > > at
> > >
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(
> > > ClassRealm.java:271)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > loadClass(ClassRealm.java:247)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > loadClass(ClassRealm.java:239)
> > >
> > > ... 51 more
> > >
> > >
> > >
> > >
> > > I really appreciate any help.
> > >
> > > Thanks.
> > > Maral
> > >
> >
> >
> > --
> > Regards,
> > Gandhi
> >
> > "The best way to find urself is to lose urself in the service of others
> > !!!"
> >
>


Re: Build Error in cTAKES YTEX [EXTERNAL]

Posted by Maral Amir <ma...@gmail.com>.
Hi Sean,

Thank you for your reply. I was using Java SE 12.0.1. I installed Java 8
after your response.

java -version
openjdk version "1.8.0_212"

OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b04)

OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b04, mixed mode)


Now I get the following error when I build:




[*INFO*]

[*INFO*] *--- *sonar-maven-plugin:3.6.0.1398:sonar *(default-cli)* @ ctakes*
---*

[*INFO*] User cache: /Users/mamir/.sonar/cache

[*INFO*] SonarQube version: 5.6.3

[*INFO*] Default locale: "en_US", source code encoding: "UTF-8"

[*INFO*] Load global repositories

[*INFO*]
*------------------------------------------------------------------------*

[*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*

[*INFO*]

[*INFO*] Apache cTAKES ...................................... *FAILURE* [
17.109 s]

[*INFO*] ctakes-gui-res .....................................
*SUCCESS* [  0.729
s]

[*INFO*] Apache cTAKES Resources coreference ................
*SUCCESS* [  3.359
s]

[*INFO*] Apache cTAKES Resources temporal ...................
*SUCCESS* [  0.602
s]

[*INFO*] Apache cTAKES Resources relation-extractor .........
*SUCCESS* [  0.269
s]

[*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
*SUCCESS* [  1.048
s]

[*INFO*] Apache cTAKES Resources core .......................
*SUCCESS* [  0.355
s]

[*INFO*] Apache cTAKES common type system ...................
*SUCCESS* [  3.008
s]

[*INFO*] Apache cTAKES utils ................................
*SUCCESS* [  0.753
s]

[*INFO*] Apache cTAKES core .................................
*SUCCESS* [  6.828
s]

[*INFO*] Apache cTAKES dictionary lookup fast ...............
*SUCCESS* [  0.700
s]

[*INFO*] Apache cTAKES document preprocessor ................
*SUCCESS* [  0.850
s]

[*INFO*] Apache cTAKES Resources lvg ........................ *SUCCESS* [
11.420 s]

[*INFO*] Apache cTAKES LVG lexical tools ....................
*SUCCESS* [  0.639
s]

[*INFO*] Apache cTAKES Resources ne-contexts ................
*SUCCESS* [  0.210
s]

[*INFO*] Apache cTAKES named entity contexts ................
*SUCCESS* [  1.214
s]

[*INFO*] Apache cTAKES Resources assertion ..................
*SUCCESS* [  1.279
s]

[*INFO*] Apache cTAKES Resources constituency-parser ........
*SUCCESS* [  1.765
s]

[*INFO*] Apache cTAKES Constituency Parser ..................
*SUCCESS* [  0.503
s]

[*INFO*] Apache cTAKES Resources dependency-parser .......... *SUCCESS* [
13.205 s]

[*INFO*] Apache cTAKES Resources pos-tagger .................
*SUCCESS* [  0.920
s]

[*INFO*] Apache cTAKES part-of-speech tagger ................
*SUCCESS* [  1.693
s]

[*INFO*] Apache cTAKES Dependency Parser .................... *SUCCESS* [
20.948 s]

[*INFO*] Apache cTAKES context dependent tokenizer ..........
*SUCCESS* [  1.389
s]

[*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
*SUCCESS* [  0.773
s]

[*INFO*] Apache cTAKES chunker ..............................
*SUCCESS* [  0.520
s]

[*INFO*] Apache cTAKES Assertion ............................
*SUCCESS* [  1.412
s]

[*INFO*] ctakes-clinical-pipeline-res .......................
*SUCCESS* [  0.200
s]

[*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
*SUCCESS* [  0.740
s]

[*INFO*] Apache cTAKES Relation Extractor ...................
*SUCCESS* [  2.244
s]

[*INFO*] Apache cTAKES Temporal Information Extraction ...... *SUCCESS* [
56.385 s]

[*INFO*] Apache cTAKES CoReference Resolver .................
*SUCCESS* [  1.674
s]

[*INFO*] ctakes-gui .........................................
*SUCCESS* [  1.158
s]

[*INFO*] Apache cTAKES fhir support .........................
*SUCCESS* [  0.690
s]

[*INFO*] Apache cTAKES Resources dictionary-lookup ..........
*SUCCESS* [  6.639
s]

[*INFO*] Apache cTAKES dictionary lookup ....................
*SUCCESS* [  0.641
s]

[*INFO*] Apache cTAKES Resources drug-ner ...................
*SUCCESS* [  0.244
s]

[*INFO*] Apache cTAKES Drug NER .............................
*SUCCESS* [  0.837
s]

[*INFO*] Apache cTAKES Resources side-effect ................
*SUCCESS* [  0.287
s]

[*INFO*] Apache cTAKES Side Effects .........................
*SUCCESS* [  0.560
s]

[*INFO*] Apache cTAKES Resources smoking-status .............
*SUCCESS* [  0.279
s]

[*INFO*] Apache cTAKES Smoking Status .......................
*SUCCESS* [  0.655
s]

[*INFO*] Apache cTAKES Resources assertion-zoner ............
*SUCCESS* [  0.290
s]

[*INFO*] Apache cTAKES Assertion's zoner ....................
*SUCCESS* [  0.411
s]

[*INFO*] ctakes-examples-res ................................
*SUCCESS* [  0.306
s]

[*INFO*] ctakes-examples ....................................
*SUCCESS* [  0.809
s]

[*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
*SUCCESS* [  0.271
s]

[*INFO*] Apache cTAKES YTEX ................................. *FAILURE* [
36.312 s]

[*INFO*] Apache cTAKES YTEX UIMA ............................ *SKIPPED*

[*INFO*] Apache cTAKES YTEX Web ............................. *SKIPPED*

[*INFO*] Apache cTAKES Distribution ......................... *SKIPPED*

[*INFO*] Apache cTAKES Regression-test ...................... *SUCCESS* [
24.494 s]

[*INFO*] Apache cTAKES template filler ......................
*SUCCESS* [  0.638
s]

[*INFO*]
*------------------------------------------------------------------------*

[*INFO*] *BUILD FAILURE*

[*INFO*]
*------------------------------------------------------------------------*

[*INFO*] Total time:  03:52 min

[*INFO*] Finished at: 2019-07-18T09:16:11-07:00

[*INFO*]
*------------------------------------------------------------------------*

[*ERROR*] Failed to execute goal
org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify *(default)* on
project ctakes-ytex: *There are test failures.*

[*ERROR*]

[*ERROR*] *Please refer to
/Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
for the individual test results.*

[*ERROR*] *Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.*

[*ERROR*] -> *[Help 1]*

*org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
execute goal **org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify*
*(default)* on project ctakes-ytex: *There are test failures.*


*Please refer to
/Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
for the individual test results.*

*Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.*

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:215*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

*Caused by*: org.apache.maven.plugin.MojoFailureException: *There are test
failures.*


*Please refer to
/Users/mamir/project_ctake/ctake/trunk/ctakes-ytex/target/failsafe-reports
for the individual test results.*

*Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
[date].dumpstream and [date]-jvmRun[N].dumpstream.*

    *at* org.apache.maven.plugin.surefire.SurefireHelper.throwException (
*SurefireHelper.java:240*)

    *at* org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (
*SurefireHelper.java:112*)

    *at* org.apache.maven.plugin.failsafe.VerifyMojo.execute (
*VerifyMojo.java:188*)

    *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
*DefaultBuildPluginManager.java:137*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:210*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

[*ERROR*] Failed to execute goal
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar
*(default-cli)* on project ctakes: *You're not authorized to execute any
SonarQube analysis. Please contact your SonarQube administrator.* -> *[Help
2]*

*org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to
execute goal *
*org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar*
*(default-cli)* on project ctakes: *You're not authorized to execute any
SonarQube analysis. Please contact your SonarQube administrator.*

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:215*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

*Caused by*: org.apache.maven.plugin.MojoExecutionException: *You're not
authorized to execute any SonarQube analysis. Please contact your SonarQube
administrator.*

    *at*
org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (
*ScannerBootstrapper.java:67*)

    *at* org.sonarsource.scanner.maven.SonarQubeMojo.execute (
*SonarQubeMojo.java:104*)

    *at* org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (
*DefaultBuildPluginManager.java:137*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:210*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:156*)

    *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute (
*MojoExecutor.java:148*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:117*)

    *at*
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
*LifecycleModuleBuilder.java:81*)

    *at*
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(*SingleThreadedBuilder.java:56*)

    *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute (
*LifecycleStarter.java:128*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:305*)

    *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:192*)

    *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:105*)

    *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:956*)

    *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:288*)

    *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:192*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (
*Launcher.java:282*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch (
*Launcher.java:225*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(*Launcher.java:406*)

    *at* org.codehaus.plexus.classworlds.launcher.Launcher.main (
*Launcher.java:347*)

*Caused by*: org.sonar.api.utils.MessageException: *You're not authorized
to execute any SonarQube analysis. Please contact your SonarQube
administrator.*

[*ERROR*]

[*ERROR*] Re-run Maven using the *-X* switch to enable full debug logging.

[*ERROR*]

[*ERROR*] For more information about the errors and possible solutions,
please read the following articles:

[*ERROR*] *[Help 1]*
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[*ERROR*] *[Help 2]*
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[*ERROR*]

[*ERROR*] After correcting the problems, you can resume the build with the
command

[*ERROR*]   *mvn <goals> -rf :ctakes-ytex*






Thanks,

Maral

On Thu, Jul 18, 2019 at 5:23 AM Finan, Sean <
Sean.Finan@childrens.harvard.edu> wrote:

> Hi Maral,
>
> What version of java are you using?  Java 8 is the recommended version.
>
> Sean
> ________________________________________
> From: Maral Amir <ma...@gmail.com>
> Sent: Thursday, July 18, 2019 1:39 AM
> To: dev@ctakes.apache.org
> Subject: Re: Build Error in cTAKES YTEX [EXTERNAL]
>
> Hi Gandhi,
>
> Thank you for your reply. I installed the source code following the
> Developer's install guide. ( subversion + Git and then Rebase after svn
> checkin)
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=4ZFZ9gtgiaIRnqTY6fIS5zQTvrApEjeQC-9ekag5nB0&e=
>
> I should mention I have not worked with Java and Maven before. Is there any
> other working directory that you would recommend me to get the source code
> from. I have macOS Mojave.
>
> Thanks,
> Maral
>
> On Wed, Jul 17, 2019 at 8:25 PM gandhi rajan <ga...@gmail.com>
> wrote:
>
> > Hi Maral,
> >
> > I could see the following error in the stacktrace,
> >
> > java.lang.NoClassDefFoundError:
> > javax/activation/MimeTypeParseException
> >
> > Could be an issue related to missing jar or classpath. Between, from
> where
> > did you check out the source code from?
> >
> > On Thursday, July 18, 2019, Maral Amir <ma...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I am building the cTAKES developer version using the following command.
> > >
> > > mvn --fail-at-end --errors --update-snapshots clean install sonar:sonar
> > > -DskipTests=false -Dsonar.scm.provider=svn -Dsonar.host.url=
> > >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__builds.apache.org_analysis&d=DwIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=OLKvVsKS9cIs1OvEOxLJN83uY13mWEPmfQaxzMeicqs&s=cddyaF0GBjzB-VeKidp23cWQ3u3Py5GYA5xAYNFnoNY&e=
> > >
> > > I also tried the following command:
> > >
> > >
> > > mvn clean install
> > >
> > >
> > > For both I get the following error:
> > >
> > >
> > >
> > > [*INFO*] *-------------------< *org.apache.ctakes:ctakes-ytex*
> > > >--------------------*
> > >
> > > [*INFO*] *Building Apache cTAKES YTEX 4.0.1-SNAPSHOT
> > > [48/53]*
> > >
> > > [*INFO*] *--------------------------------[ jar
> > > ]---------------------------------*
> > >
> > > [*INFO*]
> > >
> > > [*INFO*] *--- *maven-clean-plugin:2.4.1:clean *(default-clean)* @
> > > ctakes-ytex* ---*
> > >
> > > [*INFO*] Deleting /Users/mamir/projects/ctakes/trunk/ctakes-ytex/target
> > >
> > > [*INFO*]
> > >
> > > [*INFO*] *--- *jaxb2-maven-plugin:1.6:xjc *(default)* @ ctakes-ytex*
> ---*
> > >
> > > [*INFO*] Generating source...
> > >
> > > [*INFO*] parsing a schema...
> > >
> > > [*INFO*]
> > >
> >
> *------------------------------------------------------------------------*
> > >
> > > [*INFO*] *Reactor Summary for Apache cTAKES 4.0.1-SNAPSHOT:*
> > >
> > > [*INFO*]
> > >
> > > [*INFO*] Apache cTAKES ......................................
> > > *SUCCESS* [  0.870
> > > s]
> > >
> > > [*INFO*] ctakes-gui-res .....................................
> > > *SUCCESS* [  0.862
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources coreference ................
> > > *SUCCESS* [  3.261
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources temporal ...................
> > > *SUCCESS* [  0.584
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources relation-extractor .........
> > > *SUCCESS* [  0.267
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources dictionary-lookup-fast-res .
> > > *SUCCESS* [  0.945
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources core .......................
> > > *SUCCESS* [  0.355
> > > s]
> > >
> > > [*INFO*] Apache cTAKES common type system ...................
> > > *SUCCESS* [  3.086
> > > s]
> > >
> > > [*INFO*] Apache cTAKES utils ................................
> > > *SUCCESS* [  0.783
> > > s]
> > >
> > > [*INFO*] Apache cTAKES core .................................
> > > *SUCCESS* [  5.913
> > > s]
> > >
> > > [*INFO*] Apache cTAKES dictionary lookup fast ...............
> > > *SUCCESS* [  0.890
> > > s]
> > >
> > > [*INFO*] Apache cTAKES document preprocessor ................
> > > *SUCCESS* [  0.911
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources lvg ........................
> *SUCCESS* [
> > > 11.864 s]
> > >
> > > [*INFO*] Apache cTAKES LVG lexical tools ....................
> > > *SUCCESS* [  0.719
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources ne-contexts ................
> > > *SUCCESS* [  0.226
> > > s]
> > >
> > > [*INFO*] Apache cTAKES named entity contexts ................
> > > *SUCCESS* [  1.503
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources assertion ..................
> > > *SUCCESS* [  1.482
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources constituency-parser ........
> > > *SUCCESS* [  1.999
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Constituency Parser ..................
> > > *SUCCESS* [  0.769
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources dependency-parser ..........
> *SUCCESS* [
> > > 14.499 s]
> > >
> > > [*INFO*] Apache cTAKES Resources pos-tagger .................
> > > *SUCCESS* [  0.878
> > > s]
> > >
> > > [*INFO*] Apache cTAKES part-of-speech tagger ................
> > > *SUCCESS* [  1.723
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Dependency Parser ....................
> *SUCCESS* [
> > > 17.419 s]
> > >
> > > [*INFO*] Apache cTAKES context dependent tokenizer ..........
> > > *SUCCESS* [  1.547
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources ctakes-chunker-res .........
> > > *SUCCESS* [  0.822
> > > s]
> > >
> > > [*INFO*] Apache cTAKES chunker ..............................
> > > *SUCCESS* [  0.835
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Assertion ............................
> > > *SUCCESS* [  1.726
> > > s]
> > >
> > > [*INFO*] ctakes-clinical-pipeline-res .......................
> > > *SUCCESS* [  0.200
> > > s]
> > >
> > > [*INFO*] Apache cTAKES ctakes-clinical-pipeline .............
> > > *SUCCESS* [  1.046
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Relation Extractor ...................
> > > *SUCCESS* [  3.062
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Temporal Information Extraction ......
> *SUCCESS* [
> > > 52.554 s]
> > >
> > > [*INFO*] Apache cTAKES CoReference Resolver .................
> > > *SUCCESS* [  2.403
> > > s]
> > >
> > > [*INFO*] ctakes-gui .........................................
> > > *SUCCESS* [  1.531
> > > s]
> > >
> > > [*INFO*] Apache cTAKES fhir support .........................
> > > *SUCCESS* [  0.759
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources dictionary-lookup ..........
> > > *SUCCESS* [  7.312
> > > s]
> > >
> > > [*INFO*] Apache cTAKES dictionary lookup ....................
> > > *SUCCESS* [  0.711
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources drug-ner ...................
> > > *SUCCESS* [  0.272
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Drug NER .............................
> > > *SUCCESS* [  1.158
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources side-effect ................
> > > *SUCCESS* [  0.268
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Side Effects .........................
> > > *SUCCESS* [  0.837
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources smoking-status .............
> > > *SUCCESS* [  0.347
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Smoking Status .......................
> > > *SUCCESS* [  1.081
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources assertion-zoner ............
> > > *SUCCESS* [  0.296
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Assertion's zoner ....................
> > > *SUCCESS* [  0.686
> > > s]
> > >
> > > [*INFO*] ctakes-examples-res ................................
> > > *SUCCESS* [  0.443
> > > s]
> > >
> > > [*INFO*] ctakes-examples ....................................
> > > *SUCCESS* [  1.060
> > > s]
> > >
> > > [*INFO*] Apache cTAKES Resources ctakes-ytex-res ............
> > > *SUCCESS* [  0.321
> > > s]
> > >
> > > [*INFO*] Apache cTAKES YTEX .................................
> > > *FAILURE* [  0.666
> > > s]
> > >
> > > [*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:  02:34 min
> > >
> > > [*INFO*] Finished at: 2019-07-17T17:53:36-07:00
> > >
> > > [*INFO*]
> > >
> >
> *------------------------------------------------------------------------*
> > >
> > > ---------------------------------------------------
> > >
> > > constituent[0]: file:/Users/mamir/apache-maven-3.6.1/conf/logging/
> > >
> > > constituent[1]:
> > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-builder-3.6.1.jar
> > >
> > > constituent[2]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > resolver-transport-wagon-1.3.3.jar
> > >
> > > constituent[3]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-compat-3.6.1.jar
> > >
> > > constituent[4]: file:/Users/mamir/apache-maven-3.6.1/lib/aopalliance-1.
> > > 0.jar
> > >
> > > constituent[5]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-plugin-api-3.6.1.jar
> > >
> > > constituent[6]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-cipher-1.7.jar
> > >
> > > constituent[7]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-interpolation-1.25.jar
> > >
> > > constituent[8]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/guice-4.2.1-no_aop.jar
> > >
> > > constituent[9]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/slf4j-api-1.7.25.jar
> > >
> > > constituent[10]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/error_prone_annotations-2.1.3.jar
> > >
> > > constituent[11]:
> file:/Users/mamir/apache-maven-3.6.1/lib/cdi-api-1.0.jar
> > >
> > > constituent[12]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-slf4j-provider-3.6.1.jar
> > >
> > > constituent[13]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/jcl-over-slf4j-1.7.25.jar
> > >
> > > constituent[14]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-provider-3.6.1.jar
> > >
> > > constituent[15]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-artifact-3.6.1.jar
> > >
> > > constituent[16]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-spi-1.3.3.jar
> > >
> > > constituent[17]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-util-1.3.3.jar
> > >
> > > constituent[18]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-http-3.3.2-shaded.jar
> > >
> > > constituent[19]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-sec-dispatcher-1.4.jar
> > >
> > > constituent[20]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-
> > > component-annotations-1.7.1.jar
> > >
> > > constituent[21]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > repository-metadata-3.6.1.jar
> > >
> > > constituent[22]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/plexus-utils-3.2.0.jar
> > >
> > > constituent[23]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-cli-1.4.jar
> > >
> > > constituent[24]: file:/Users/mamir/apache-maven-3.6.1/lib/commons-io-2.
> > > 5.jar
> > >
> > > constituent[25]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/jansi-1.17.1.jar
> > >
> > > constituent[26]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-impl-1.3.3.jar
> > >
> > > constituent[27]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-embedder-3.6.1.jar
> > >
> > > constituent[28]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-builder-3.6.1.jar
> > >
> > > constituent[29]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/checker-compat-qual-2.0.0.jar
> > >
> > > constituent[30]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/j2objc-annotations-1.1.jar
> > >
> > > constituent[31]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.inject-0.3.3.jar
> > >
> > > constituent[32]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-file-3.3.2.jar
> > >
> > > constituent[33]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-model-3.6.1.jar
> > >
> > > constituent[34]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-settings-3.6.1.jar
> > >
> > > constituent[35]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-resolver-api-1.3.3.jar
> > >
> > > constituent[36]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-
> > > resolver-connector-basic-1.3.3.jar
> > >
> > > constituent[37]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/animal-
> > > sniffer-annotations-1.14.jar
> > >
> > > constituent[38]:
> > >
> file:/Users/mamir/apache-maven-3.6.1/lib/maven-builder-support-3.6.1.jar
> > >
> > > constituent[39]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-shared-utils-3.2.1.jar
> > >
> > > constituent[40]:
> > >
> >
> file:/Users/mamir/apache-maven-3.6.1/lib/org.eclipse.sisu.plexus-0.3.3.jar
> > >
> > > constituent[41]:
> > file:/Users/mamir/apache-maven-3.6.1/lib/jsr305-3.0.2.jar
> > >
> > > constituent[42]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/maven-core-3.6.1.jar
> > >
> > > constituent[43]: file:/Users/mamir/apache-maven-3.6.1/lib/javax.inject-
> > > 1.jar
> > >
> > > constituent[44]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/commons-lang3-3.8.1.jar
> > >
> > > constituent[45]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/guava-25.1-android.jar
> > >
> > > constituent[46]: file:/Users/mamir/apache-maven-3.6.1/lib/jsr250-api-1.
> > > 0.jar
> > >
> > > constituent[47]:
> > > file:/Users/mamir/apache-maven-3.6.1/lib/wagon-provider-api-3.3.2.jar
> > >
> > > ---------------------------------------------------
> > >
> > > Exception in thread "main" java.lang.Error:
> > > java.lang.reflect.InvocationTargetException
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > >
> > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.<init>(
> > > BGMBuilder.java:147)
> > >
> > > at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(
> > > BGMBuilder.java:117)
> > >
> > > at
> com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:425)
> > >
> > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:174)
> > >
> > > at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:119)
> > >
> > > at com.sun.tools.xjc.Driver.run(Driver.java:333)
> > >
> > > at org.codehaus.mojo.jaxb2.AbstractXjcMojo.execute(
> > > AbstractXjcMojo.java:316)
> > >
> > > at
> > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > > DefaultBuildPluginManager.java:137)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > MojoExecutor.java:210)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > MojoExecutor.java:156)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > > MojoExecutor.java:148)
> > >
> > > at
> > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > LifecycleModuleBuilder.java:117)
> > >
> > > at
> > >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
> > > LifecycleModuleBuilder.java:81)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.builder.singlethreaded.
> > > SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> > >
> > > at
> > > org.apache.maven.lifecycle.internal.LifecycleStarter.
> > > execute(LifecycleStarter.java:128)
> > >
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
> > >
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
> > >
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
> > >
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
> > >
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> > >
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
> > >
> > > at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > >
> > > at
> > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:62)
> > >
> > > at
> > > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:43)
> > >
> > > at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > launchEnhanced(Launcher.java:282)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > launch(Launcher.java:225)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.
> > > mainWithExitCode(Launcher.java:406)
> > >
> > > at org.codehaus.plexus.classworlds.launcher.Launcher.
> > > main(Launcher.java:347)
> > >
> > > Caused by: java.lang.reflect.InvocationTargetException
> > >
> > > at
> > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > newInstance0(Native
> > > Method)
> > >
> > > at
> > >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > NativeConstructorAccessorImpl.java:62)
> > >
> > > at
> > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > >
> > > at
> > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > Constructor.java:500)
> > >
> > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > Constructor.java:481)
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > >
> > > ... 29 more
> > >
> > > Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:113)
> > >
> > > at
> > > com.sun.tools.xjc.reader.xmlschema.BindingComponent.getClassSelector(
> > > BindingComponent.java:65)
> > >
> > > at
> > >
> >
> com.sun.tools.xjc.reader.xmlschema.ColorBinder.<init>(ColorBinder.java:62)
> > >
> > > at
> com.sun.tools.xjc.reader.xmlschema.BindGreen.<init>(BindGreen.java:63)
> > >
> > > ... 35 more
> > >
> > > Caused by: java.lang.reflect.InvocationTargetException
> > >
> > > at
> > > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.
> > > newInstance0(Native
> > > Method)
> > >
> > > at
> > >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
> > > NativeConstructorAccessorImpl.java:62)
> > >
> > > at
> > > java.base/jdk.internal.reflect.DelegatingConstructorAccessorI
> > > mpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > >
> > > at
> > > java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
> > > Constructor.java:500)
> > >
> > > at java.base/java.lang.reflect.Constructor.newInstance(
> > > Constructor.java:481)
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:102)
> > >
> > > ... 38 more
> > >
> > > Caused by: java.lang.NoClassDefFoundError:
> > > javax/activation/MimeTypeParseException
> > >
> > > at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
> > >
> > > at java.base/java.lang.Class.privateGetDeclaredConstructors
> > > (Class.java:3143)
> > >
> > > at java.base/java.lang.Class.getConstructor0(Class.java:3348)
> > >
> > > at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2559)
> > >
> > > at com.sun.tools.xjc.reader.Ring.get(Ring.java:100)
> > >
> > > at
> > > com.sun.tools.xjc.reader.xmlschema.DefaultClassBinder.<
> > > init>(DefaultClassBinder.java:98)
> > >
> > > at
> > > com.sun.tools.xjc.reader.xmlschema.ClassSelector.<init>
> > > (ClassSelector.java:214)
> > >
> > > ... 44 more
> > >
> > > Caused by: java.lang.ClassNotFoundException:
> > > javax.activation.MimeTypeParseException
> > >
> > > at
> > > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
> > > SelfFirstStrategy.java:50)
> > >
> > > at
> > >
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(
> > > ClassRealm.java:271)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > loadClass(ClassRealm.java:247)
> > >
> > > at
> > > org.codehaus.plexus.classworlds.realm.ClassRealm.
> > > loadClass(ClassRealm.java:239)
> > >
> > > ... 51 more
> > >
> > >
> > >
> > >
> > > I really appreciate any help.
> > >
> > > Thanks.
> > > Maral
> > >
> >
> >
> > --
> > Regards,
> > Gandhi
> >
> > "The best way to find urself is to lose urself in the service of others
> > !!!"
> >
>