![]() |
Erro Maven
To tentando a dias resolver esse problema ve se alguem pode me da uma ajuda quando cliko sobre o maven vem esse erro
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar] Uploaded with [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar] |
Isso é apenas um Aviso.
Pelo menos aqui aparece porém não atrapalha o projeto, instalou os Plugins correto do Maven? Jdk e tudo mais? Da uma repassada pra ve se estão Ok! |
ja verifiquei tudo com esse erro quando vo copilar da failed no console
|
consegui arrumar o erro vo deixa aqui caso alguem teja o mesmo problema ja podera resolver
va no arguivo eclipse.ini e add essa linha na vm -vm c:\arquivo e programas \ seu jdk\bin\javaw.exe Agora to com outro problema seguindo o tutorial do kal na hora que vai em Run>Run Configurations> Maven build 2 Clikes add elipse eclipse:clean eclipse:eclipse appply run ai da esse erro no console [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for L2Emu:l2j-gameserver:jar:1.0.0 [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. @ L2Emu:l2j-gameserver:1.0.0, C:\Documents and Settings\Suporte\workspace\L2Emu_IL\L2Emu_GameServ er_IL\pom.xml [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [WARNING] Failed to retrieve plugin descriptor for Plugin [org.codehaus.mojo:maven-buildnumber-plugin]: Plugin org.codehaus.mojo:maven-buildnumber-plugin:0.9.5 or one of its dependencies could not be resolved: Missing: ---------- 1) org.codehaus.mojo:maven-buildnumber-plugin:maven-plugin:0.9.5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.mojo -DartifactId=maven-buildnumber-plugin -Dversion=0.9.5 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.mojo -DartifactId=maven-buildnumber-plugin -Dversion=0.9.5 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] ---------- 1 required artifact is missing. for artifact: org.codehaus.mojo:maven-buildnumber-plugin:maven-plugin:0.9.5 from the specified remote repositories: Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/, releases=false, snapshots=true), central l2j (http://www.l2jfree.com/maven/, releases=true, snapshots=true), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) 2010-08-26 22:19:41.843:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloading: http://www.l2jfree.com/maven/org/apache/maven/plugins/maven-metadata.xml [WARNING] Failed to retrieve org/apache/maven/plugins/maven-metadata.xml: Error transferring artifact. Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml Downloading: http://www.l2jfree.com/maven/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml [WARNING] Failed to retrieve org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml: Error transferring artifact. [WARNING] Failed to retrieve plugin descriptor for Plugin [org.codehaus.mojo:maven-buildnumber-plugin]: Plugin org.codehaus.mojo:maven-buildnumber-plugin:0.9.5 or one of its dependencies could not be resolved: Missing: ---------- 1) org.codehaus.mojo:maven-buildnumber-plugin:maven-plugin:0.9.5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.mojo -DartifactId=maven-buildnumber-plugin -Dversion=0.9.5 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.mojo -DartifactId=maven-buildnumber-plugin -Dversion=0.9.5 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] ---------- 1 required artifact is missing. for artifact: org.codehaus.mojo:maven-buildnumber-plugin:maven-plugin:0.9.5 from the specified remote repositories: Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/, releases=false, snapshots=true), central l2j (http://www.l2jfree.com/maven/, releases=true, snapshots=true), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-metadata.xml 2010-08-26 22:19:53.281:INFO::seeing JVM BUG(s) - cancelling interestOps==0 Downloading: http://www.l2jfree.com/maven/org/apache/maven/plugins/maven-metadata.xml [WARNING] Failed to retrieve org/apache/maven/plugins/maven-metadata.xml: Error transferring artifact. Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml Downloading: http://www.l2jfree.com/maven/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml [WARNING] Failed to retrieve org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml: Error transferring artifact. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - L2Emu:l2j-gameserver:jar:1.0.0 1.0.0 [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19.062s [INFO] Finished at: Thu Aug 26 22:19:59 BRT 2010 [INFO] Final Memory: 4M/16M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.codehaus.mojo:maven-buildnumber-plugin:0.9.5 or one of its dependencies could not be resolved: Missing: ---------- 1) org.codehaus.mojo:maven-buildnumber-plugin:maven-plugin:0.9.5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.mojo -DartifactId=maven-buildnumber-plugin -Dversion=0.9.5 -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.mojo -DartifactId=maven-buildnumber-plugin -Dversion=0.9.5 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] ---------- 1 required artifact is missing. for artifact: org.codehaus.mojo:maven-buildnumber-plugin:maven-plugin:0.9.5 from the specified remote repositories: Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/, releases=false, snapshots=true), central l2j (http://www.l2jfree.com/maven/, releases=true, snapshots=true), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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/PluginResolutionException Se alguem me da um help ai que eu tento aqui ve se resolver.. |
Pago para quem quizer me ajudar com ums probleminhas que to tendo aqui no eclipse e maven quem quizer fala ai que eu adiciono no msn
|
@tx300 ; cuidado ai postar seguidas vezes poderá leva uma punição porém você está tentando compilar uma Rev L2j Emu? Correto? que versão que é? Pelo que pude ver meio por cima tá tento erros no projeto da parte do eclipse.
Faça o seguinte, compila o L2J Emu usando as linhas de codigo por CMD. é mais certeza de compilar, apenas baixe o servidor usando o Eclipse e compile usando os comandos do Cmd. Caso nao saiba, uma previa dos comandos abaixo: Ir em EXECUTAR digite CMD ( enter ). digite o local que está a pasta do Gameserve Exemplo: Citação:
Citação:
Citação:
Agora por fim pra compilar a Rev digite isso ( lembrando que as pasta mudará pois vc salvou em outro lugar ) Citação:
Feito .. |
Caso não consiga tenta usar esse tutorial aqui:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar] Consegui compilar com ele :jiggy: |
Spoiler
|
Pelo que vi está tendo erro nessa parte..
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central l2j due to an error: Error transferring file Na hora de transferir os arquivos , e o link está off no qual ele mesmo fornece .. Me passa a Svn ai pra mim compilar aqui pra ve se é realmente isso. |
basta vc copilar sem o marven mano é msm coisa que copilar com ele não tem erro ;D :cute:
|
| Horários baseados na GMT -3. Agora são 04:41 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0