Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B1DA17A02 for ; Fri, 27 Mar 2015 08:09:20 +0000 (UTC) Received: (qmail 61243 invoked by uid 500); 27 Mar 2015 08:09:17 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 61206 invoked by uid 500); 27 Mar 2015 08:09:17 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 61195 invoked by uid 99); 27 Mar 2015 08:09:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2015 08:09:16 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of webdoublefx@hotmail.com designates 157.55.2.86 as permitted sender) Received: from [157.55.2.86] (HELO DUB004-OMC4S11.hotmail.com) (157.55.2.86) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2015 08:08:50 +0000 Received: from DUB118-W13 ([157.55.2.71]) by DUB004-OMC4S11.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Fri, 27 Mar 2015 01:08:48 -0700 X-TMN: [aDgBqS2InPp3+Ht7nF4hVYXtGBeJ3YhR] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_f1519610-8160-4954-b81b-36cdc3f5ad2e_" From: =?iso-8859-1?B?RnLpZOlyaWMgVEhPTUFT?= To: "dev@flex.apache.org" Subject: RE: ERROR Build BlazeDS - Could not find artifact com.sun:tools:jar:jdk-version Date: Fri, 27 Mar 2015 08:08:48 +0000 Importance: Normal In-Reply-To: <1427395378539-45824.post@n4.nabble.com> References: <1427395378539-45824.post@n4.nabble.com> MIME-Version: 1.0 X-OriginalArrivalTime: 27 Mar 2015 08:08:48.0900 (UTC) FILETIME=[41393C40:01D06865] X-Virus-Checked: Checked by ClamAV on apache.org --_f1519610-8160-4954-b81b-36cdc3f5ad2e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Edgar=2C > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/t= ools.jar This error seems to indicate you are using the JRE instead of the JDK. Fr=E9d=E9ric THOMAS > Date: Thu=2C 26 Mar 2015 11:42:58 -0700 > From: edgarmariorivera@gmail.com > To: dev@flex.apache.org > Subject: ERROR Build BlazeDS - Could not find artifact com.sun:tools:jar:= jdk-version >=20 > Hi guys I'm trying to build BlazeDS locally and I got this error >=20 > -----------------------> > The following artifacts could not be resolved: > com.sun:tools:jar:jdk-version=2C > org.apache.flex.blazeds:flex-messaging-opt:jar:4.7.0: Could not find > artifact com.sun:tools:jar:jdk-version at specified path > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/t= ools.jar > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepend= encies(LifecycleDependencyResolver.java:220) > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolvePr= ojectDependencies(LifecycleDependencyResolver.java:127) > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreRes= olved(MojoExecutor.java:257) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:200) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:84) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:59) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(= LifecycleStarter.java:183) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSta= rter.java:161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher= .java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:22= 9) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launch= er.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.project.DependencyResolutionException: Could = not > resolve dependencies for project > com.businessinria.millionmindclub:millionmindclub-server:war:1.0.1-SNAPSH= OT: > The following artifacts could not be resolved: > com.sun:tools:jar:jdk-version=2C > org.apache.flex.blazeds:flex-messaging-opt:jar:4.7.0: Could not find > artifact com.sun:tools:jar:jdk-version at specified path > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/t= ools.jar > at > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defau= ltProjectDependenciesResolver.java:198) > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepend= encies(LifecycleDependencyResolver.java:195) > ... 22 more > Caused by: org.eclipse.aether.resolution.DependencyResolutionException: T= he > following artifacts could not be resolved: com.sun:tools:jar:jdk-version= =2C > org.apache.flex.blazeds:flex-messaging-opt:jar:4.7.0: Could not find > artifact com.sun:tools:jar:jdk-version at specified path > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/t= ools.jar > at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependenc= ies(DefaultRepositorySystem.java:384) > at > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defau= ltProjectDependenciesResolver.java:192) > ... 23 more > Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The > following artifacts could not be resolved: com.sun:tools:jar:jdk-version= =2C > org.apache.flex.blazeds:flex-messaging-opt:jar:4.7.0: Could not find > artifact com.sun:tools:jar:jdk-version at specified path > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/t= ools.jar > at > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultA= rtifactResolver.java:459) > at > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts= (DefaultArtifactResolver.java:262) > at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependenc= ies(DefaultRepositorySystem.java:367) > ... 24 more > Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could n= ot > find artifact com.sun:tools:jar:jdk-version at specified path > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/t= ools.jar > at > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultA= rtifactResolver.java:302) > ... 26 more > [ERROR]=20 > [ERROR]=20 > -----------------------> >=20 > In the README file from sources distribution I could read this >=20 > -----------------------> >=20 > Java SDK 1.6 or greater (*1) JAVA_HOME > (for Java 1.7 see note at (*2)) >=20 > Maven 2.2.0 or greater (*1) MAVEN_HOME >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > *1) The bin directories for MAVEN_HOME and JAVA_HOME should be added = to > your > PATH. >=20 > On Windows=2C set PATH to >=20 > PATH=3D%PATH%=3B%MAVEN_HOME%\bin=3B%JAVA_HOME%\bin >=20 > On the Mac (bash)=2C set PATH to >=20 > export PATH=3D"$PATH:$MAVEN_HOME/bin:$JAVA_HOME/bin" >=20 > On Linux make sure you path include MAVEN_HOME and JAVA_HOME. >=20 > -----------------------> >=20 > But there isn=B4t note 2 available on the file. I also tried to change ma= ven > dependencies in my pom file and I got same error. It looks like the error= is > because my JAVA_HOME point to java version "1.7.0_45". >=20 > Any help here? >=20 > Thanks >=20 > ..... > 4.7.0 > ..... >=20 > ..... > > org.apache.flex.blazeds > flex-messaging-common > ${blazeds.version} > > > org.apache.flex.blazeds > flex-messaging-core > ${blazeds.version} > > > org.apache.flex.blazeds > flex-messaging-opt > ${blazeds.version} > > > org.apache.flex.blazeds > flex-messaging-proxy > ${blazeds.version} > > > org.apache.flex.blazeds > flex-messaging-remoting > ${blazeds.version} > > ..... >=20 >=20 >=20 > -- > View this message in context: http://apache-flex-development.2333347.n4.n= abble.com/ERROR-Build-BlazeDS-Could-not-find-artifact-com-sun-tools-jar-jdk= -version-tp45824.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. = --_f1519610-8160-4954-b81b-36cdc3f5ad2e_--