it is not folder name it java method signature please try to clean maven repository folder (located in c:\Users\<your user nmae>\.m2 for Windows 7, most probably)
On 2 August 2014 00:29, yehanny olivares <[email protected]> wrote: > Hi maxim, I tried the commands and options you told me before and still > getting the same error. > > I believe there's an error in the .xml file when trying getting the Red5 > repositories from *https://github.com/Red5/red5-server.git > <https://github.com/Red5/red5-server.git>. *In fact, no matter what we do > we still getting the same error message, It seems it has a typo error on > this line: > *org.apache.maven.artifact.ant.DependenciesTask.setPathType(Ljava/lang/String;)V > where "* > *(Ljava/lang/String;)V" *is trying to reaching *Ljava *directory and > there's a *V *at the end of the line, that looks weird to me don't know > if I'm right > *. Check out this error below: * > > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> *-retrieve-red5-server: [delete] Deleting directory >> C:\work\om3\build\red5\server[git-clone] Cloning repository >> https://github.com/Red5/red5-server.git >> <https://github.com/Red5/red5-server.git>BUILD >> FAILEDC:\work\om3\build.xml:1178: java.lang.NoSuchMethodError: >> org.apache.maven.artifa >> ct.ant.DependenciesTask.setPathType(Ljava/lang/String;)V at >> org.apache.maven.artifact.ant.Mvn.downloadAndConfigureMaven(Mvn.java:108) >> at org.apache.maven.artifact.ant.Mvn.execute(Mvn.java:84) at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:57) at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav >> a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at >> org.apache.tools.ant.Target.execute(Target.java:435) at >> org.apache.tools.ant.Target.performTasks(Target.java:456) at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) >> at >> org.apache.tools.ant.Project.executeTarget(Project.java:1364) at >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >> at org.apache.tools.ant.Project.executeTargets(Project.java:1248) >> at org.apache.tools.ant.Main.runBuild(Main.java:851) at >> org.apache.tools.ant.Main.startAnt(Main.java:235) at >> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at >> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)* >> > > > > On Fri, Aug 1, 2014 at 6:02 AM, Maxim Solodovnik <[email protected]> > wrote: > >> *${red5.server.dir}/pom.xml *will result "*C:\Program >> Files\apache-ant-1.9.4\om3\build\red5\server*" in your case >> >> weird error never saw this before >> could you try something like: >> mkdir c:\work >> move "*C:\Program Files\apache-ant-1.9.4\om3*" c:\work\ >> cd c:\work\om3 >> ant clean.ivy dist prepare-eclipse >> >> >> >> On 1 August 2014 14:32, yehanny olivares <[email protected]> wrote: >> >>> Well, Maven installed and running. Antivirus and Firewall Stoped >>> >>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> *Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; >>>> 2014-06-17T09:21:42-04:30)Maven home: C:\Program >>>> Files\apache-maven-3.2.2Java version: 1.7.0_60, vendor: Oracle >>>> CorporationJava home: C:\Program Files\Java\jdk1.7.0_60\jre Default locale: >>>> es_VE, platform encoding: Cp1252OS name: "windows 7", version: "6.1", arch: >>>> "x86", family: "windows"C:\Program Files\apache-maven-3.2.2>* >>> >>> >>> Still getting this error and cannot proceed to import project: >>> >>> >>>> >>>> >>>> *BUILD FAILEDC:\Program Files\apache-ant-1.9.4\om3\build.xml:1178: >>>> java.lang.NoSuchMethodError: >>>> org.apache.maven.artifact.ant.DependenciesTask.setPathType(Ljava/lang/String;)V* >>>> >>> >>> This is the line of code from the build.xml:1178 >>> >>> >>>> *<artifact:mvn pom="${red5.server.dir}/pom.xml" >>>> mavenVersion="${maven.version}" fork="true" dir="${red5.server.dir}"> * >>> >>> >>> I tried to get the pom.xml file typing un command: *mvn >>> pom="${red5.server.dir}/pom.xml" *with no succeed and this is the error >>> I get: >>> >>> >>> >>> *[ERROR] The goal you specified requires a project to execute but there >>> is no POM in this directory (C:\Program Files\apache-maven-3.2.2). Please >>> verify you invoked Maven from the correct directory. -> [Help 1]* >>> >>> It seems that the pom.xml file from maven is missing am I right? How can >>> we fix that? >>> Any help will be great to advance from this point, thank so much for >>> your time... (= >>> >>> >>> On Fri, Aug 1, 2014 at 1:58 AM, yehanny olivares <[email protected]> >>> wrote: >>> >>>> I mean that I have all the services that Eclipse may need installed and >>>> running, don't know if it need them all but just in the case. >>>> >>>> Let me try then installing MAVEN and then we'll see what happens, I'll >>>> get back to you with further information and progress, thanks! (= >>>> >>>> >>>> On Fri, Aug 1, 2014 at 1:45 AM, Maxim Solodovnik <[email protected]> >>>> wrote: >>>> >>>>> what do you mean by "have the services RED5, TOMCAT, ANT, JDK, >>>>> APACHE, MYSQL running."? >>>>> I can understand APACHE, MYSQL others not sure >>>>> >>>>> you can't " tried to avoid it and go to the next step" you need to >>>>> complete this step >>>>> try to install apache maven and add MAVEN_HOME/bin to the PATH >>>>> >>>>> >>>>> On 1 August 2014 12:10, yehanny olivares <[email protected]> wrote: >>>>> >>>>>> Ok I did all the steps really carefully, I have the services RED5, >>>>>> TOMCAT, ANT, JDK, APACHE, MYSQL running. >>>>>> >>>>>> 1. svn co >>>>>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x om-3 >>>>>> 2. cd om-3 >>>>>> 3. ant dist prepare-eclipse >>>>>> 4. import existing project (located in om-3) into eclipse >>>>>> >>>>>> When I run the third step in some part of the code gave me this error: >>>>>> >>>>>> *BUILD FAILED* >>>>>>> *C:\Program Files\apache-ant-1.9.4\om-3\build.xml:1178: >>>>>>> java.lang.NoSuchMethodErr* >>>>>>> *or: >>>>>>> org.apache.maven.artifact.ant.DependenciesTask.setPathType(Ljava/lang/String* >>>>>>> *;)V* >>>>>>> >>>>>> >>>>>> I tried to avoid it and go to the next step: >>>>>> *File/Import/General/Existing >>>>>> Project into Workspace in Eclipse* >>>>>> But when Eclipse tryies to build the workspace shows this error: >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> *Errors occurred during the build.Errors running builder 'Faceted >>>>>>> Project Validation Builder' on project 'Openmeetings >>>>>>> 3.0.x'.java.lang.ExceptionInInitializerError* >>>>>> >>>>>> >>>>>> These are the errors showing in the 'Problems' Tab from Eclipse >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> *Description Resource Path Location Type Project >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/lib/java_16_tools.jar' Openmeetings 3.0.x Build path >>>>>>> Build Path ProblemProject 'Openmeetings 3.0.x' is missing required >>>>>>> library: >>>>>>> 'build/red5/client/dist/red5-client-jar-1.0.2-RC2.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/aopalliance-1.0.jar' Openmeetings 3.0.x >>>>>>> Build path Build Path ProblemProject 'Openmeetings 3.0.x' is >>>>>>> missing >>>>>>> required library: 'build/red5/server/dist/lib/bcprov-jdk15on-1.50.jar' >>>>>>> Openmeetings 3.0.x Build path Build Path Problem Project >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/red5/server/dist/lib/cglib-nodep-2.2.2.jar' Openmeetings 3.0.x >>>>>>> Build path Build Path ProblemProject 'Openmeetings 3.0.x' is >>>>>>> missing >>>>>>> required library: >>>>>>> 'build/red5/server/dist/lib/commons-beanutils-1.8.3.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/commons-collections-20040616.jar' >>>>>>> Openmeetings 3.0.x Build path Build Path ProblemProject >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/red5/server/dist/lib/commons-lang3-3.1.jar' Openmeetings 3.0.x >>>>>>> Build path Build Path Problem Project 'Openmeetings 3.0.x' is >>>>>>> missing required library: >>>>>>> 'build/red5/server/dist/lib/commons-pool-1.5.6.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path ProblemProject 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/ehcache-core-2.5.0.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/log4j-over-slf4j-1.7.7.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path ProblemProject 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/logback-classic-1.1.2.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/logback-core-1.1.2.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path ProblemProject 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/mina-core-2.0.7.jar' Openmeetings 3.0.x >>>>>>> Build path Build Path Problem Project 'Openmeetings 3.0.x' is >>>>>>> missing required library: 'build/red5/server/dist/lib/quartz-2.1.7.jar' >>>>>>> Openmeetings 3.0.x Build path Build Path ProblemProject >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/red5/server/dist/lib/red5-io-1.0.4-SNAPSHOT.jar' Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/slf4j-api-1.7.7.jar' Openmeetings 3.0.x >>>>>>> Build path Build Path ProblemProject 'Openmeetings 3.0.x' is >>>>>>> missing >>>>>>> required library: >>>>>>> 'build/red5/server/dist/lib/spring-aop-4.0.6.RELEASE.jar' >>>>>>> Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/spring-beans-4.0.6.RELEASE.jar' >>>>>>> Openmeetings >>>>>>> 3.0.x Build path Build Path ProblemProject 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/spring-context-4.0.6.RELEASE.jar' >>>>>>> Openmeetings 3.0.x Build path Build Path Problem Project >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/red5/server/dist/lib/spring-context-support-4.0.6.RELEASE.jar' >>>>>>> Openmeetings 3.0.x Build path Build Path ProblemProject >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/red5/server/dist/lib/spring-core-4.0.6.RELEASE.jar' >>>>>>> Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/spring-expression-4.0.6.RELEASE.jar' >>>>>>> Openmeetings 3.0.x Build path Build Path ProblemProject >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/red5/server/dist/lib/spring-test-4.0.6.RELEASE.jar' >>>>>>> Openmeetings >>>>>>> 3.0.x Build path Build Path Problem Project 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/lib/spring-web-4.0.6.RELEASE.jar' >>>>>>> Openmeetings >>>>>>> 3.0.x Build path Build Path ProblemProject 'Openmeetings >>>>>>> 3.0.x' >>>>>>> is missing required library: >>>>>>> 'build/red5/server/dist/plugins/tomcat-embed-core-7.0.50.jar' >>>>>>> Openmeetings 3.0.x Build path Build Path Problem Project >>>>>>> 'Openmeetings 3.0.x' is missing required library: >>>>>>> 'build/red5/server/dist/red5-server.jar' Openmeetings 3.0.x >>>>>>> Build >>>>>>> path Build Path ProblemThe project cannot be built until build path >>>>>>> errors are resolved Openmeetings 3.0.x Unknown Java >>>>>>> Problem * >>>>>> >>>>>> >>>>>> Any help would be grateful, thanks so much Maxim, you're great! lml >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Jul 31, 2014 at 11:37 PM, Maxim Solodovnik < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> svn co https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x >>>>>>> om-3 >>>>>>> cd om-3 >>>>>>> ant dist prepare-eclipse >>>>>>> >>>>>>> then import existing project (located in om-3) into eclipse >>>>>>> >>>>>>> >>>>>>> On 1 August 2014 11:01, yehanny olivares <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks for your reply Maxim, we really appreciate that! >>>>>>>> >>>>>>>> This is the SVN we're using: >>>>>>>> https://svn.apache.org/repos/asf/openmeetings/branches/3.0.x/ >>>>>>>> >>>>>>>> Also tried to run these commands a LOT of times and this is what we >>>>>>>> get: >>>>>>>> >>>>>>>> C:\Program Files\apache-ant-1.9.4>*ant -Ddb=openmeetings dist >>>>>>>> prepare-eclipse* >>>>>>>> Buildfile: C:\Program Files\apache-ant-1.9.4\build.xml >>>>>>>> >>>>>>>> BUILD FAILED >>>>>>>> Target "dist" does not exist in the project "antunit". >>>>>>>> >>>>>>>> Total time: 0 seconds >>>>>>>> >>>>>>>> And also >>>>>>>> C:\Program Files\apache-ant-1.9.4>*ant dist prepare-eclipse* >>>>>>>> Buildfile: C:\Program Files\apache-ant-1.9.4\build.xml >>>>>>>> >>>>>>>> BUILD FAILED >>>>>>>> Target "dist" does not exist in the project "antunit". >>>>>>>> >>>>>>>> Total time: 0 seconds >>>>>>>> >>>>>>>> WE know that this is an important step to get through and we're >>>>>>>> really stuck in there. The question is: How can we get the build file >>>>>>>> with >>>>>>>> the "dist" and "name" targeted on it, if we need to get first the SVN >>>>>>>> Repositories using Eclipse to generate the 'build.xml' for that >>>>>>>> specific >>>>>>>> project (Openmeeting)? >>>>>>>> >>>>>>>> Thanks for everything >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Jul 31, 2014 at 11:11 PM, Maxim Solodovnik < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> What SVN URL have you used? >>>>>>>>> I do remember I have fixed "Faceted violation" in project config. >>>>>>>>> >>>>>>>>> Before opening project in eclipse you need to run >>>>>>>>> ant dist prepare-eclipse >>>>>>>>> or >>>>>>>>> ant -Ddb=mysql dist prepare-eclipse >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On 1 August 2014 10:30, yehanny olivares <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi Maxim, hope everything it's ok. >>>>>>>>>> >>>>>>>>>> As you may know, my friend Nelson and developer partner has been >>>>>>>>>> writing you for a while asking about installing and configuring >>>>>>>>>> OpenMeeting >>>>>>>>>> in Windows. >>>>>>>>>> >>>>>>>>>> At this point we are trying to compile the whole openmeeting >>>>>>>>>> project using Java Eclipse that it's a great tool, since we started >>>>>>>>>> we have >>>>>>>>>> found a lot of errors in the process but we have solved them with a >>>>>>>>>> little >>>>>>>>>> research on Internet. By now these are the steps we followed: >>>>>>>>>> >>>>>>>>>> Install, run and tested ANT, RED5, TOMCAT, MySQL, APACHE, JDK >>>>>>>>>> services, Eclipse and all the repositories, libraries needed as far >>>>>>>>>> as we >>>>>>>>>> know. We're trying to get the OpenMeetings.3.0.x SVN into Eclipse >>>>>>>>>> and the >>>>>>>>>> process shows this error: >>>>>>>>>> >>>>>>>>>> Errors ocurred During the build. >>>>>>>>>> Errors running builder 'Faceted Project Validation Builder' on >>>>>>>>>> project 'Openmeetings3.0.x'. >>>>>>>>>> java.lang.ExceptionInInitializerError >>>>>>>>>> >>>>>>>>>> As you said in the previous message that we need to run ANT, I >>>>>>>>>> believe this is not the issue because we already tested that ANT was >>>>>>>>>> running first by typing in the cmd.exe 'ant -version' we get Apache >>>>>>>>>> Ant(TM) >>>>>>>>>> version 1.9.4 compiled on April 29 2014, so the question is: Is the >>>>>>>>>> any >>>>>>>>>> other thing causing this error while we're trying to get the SVN >>>>>>>>>> Repositories? >>>>>>>>>> >>>>>>>>>> Thanks and best regards! >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> NOTA: Si no quiere recibir más correos por favor responder con la >>>>>>>>>> palabra "ELIMINAR" y listo, si va a reenviar usar (CCO/Copia de >>>>>>>>>> Carbón >>>>>>>>>> Oculta - BCC/Background Carbon Copy) Antes de imprimir este correo >>>>>>>>>> piensa >>>>>>>>>> en tu medio ambiente, el planeta te necesita! >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> WBR >>>>>>>>> Maxim aka solomax >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> >>>>>>>> NOTA: Si no quiere recibir más correos por favor responder con la >>>>>>>> palabra "ELIMINAR" y listo, si va a reenviar usar (CCO/Copia de Carbón >>>>>>>> Oculta - BCC/Background Carbon Copy) Antes de imprimir este correo >>>>>>>> piensa >>>>>>>> en tu medio ambiente, el planeta te necesita! >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> WBR >>>>>>> Maxim aka solomax >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> NOTA: Si no quiere recibir más correos por favor responder con la >>>>>> palabra "ELIMINAR" y listo, si va a reenviar usar (CCO/Copia de Carbón >>>>>> Oculta - BCC/Background Carbon Copy) Antes de imprimir este correo piensa >>>>>> en tu medio ambiente, el planeta te necesita! >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> WBR >>>>> Maxim aka solomax >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> NOTA: Si no quiere recibir más correos por favor responder con la >>>> palabra "ELIMINAR" y listo, si va a reenviar usar (CCO/Copia de Carbón >>>> Oculta - BCC/Background Carbon Copy) Antes de imprimir este correo piensa >>>> en tu medio ambiente, el planeta te necesita! >>>> >>> >>> >>> >>> -- >>> >>> >>> NOTA: Si no quiere recibir más correos por favor responder con la >>> palabra "ELIMINAR" y listo, si va a reenviar usar (CCO/Copia de Carbón >>> Oculta - BCC/Background Carbon Copy) Antes de imprimir este correo piensa >>> en tu medio ambiente, el planeta te necesita! >>> >> >> >> >> -- >> WBR >> Maxim aka solomax >> > > > > -- > > > NOTA: Si no quiere recibir más correos por favor responder con la palabra > "ELIMINAR" y listo, si va a reenviar usar (CCO/Copia de Carbón Oculta - > BCC/Background Carbon Copy) Antes de imprimir este correo piensa en tu > medio ambiente, el planeta te necesita! > -- WBR Maxim aka solomax
