Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Ошибка при компиляции AC на linux
#1
Доброго времени суток всем!
В очередной раз прошу сдешних форумчан помочь разобраться с проблемой.
Что имеем:
Linux Mandriva 2010.1 (spring)
Сорцы Aion Core rev.89
JDK 1.6u22
JRE 1.6u22
Maven 2.0.11

Возможно будет важным:
Устанавливал java при помощи команды urpmi jdk, jre. Не обратил внимания какую версию установило и при компиле получил такую вот бяку:
Код:
[root@localhost tools]# sh build-all.sh
The path of the LoginServer project is ../AC-Login
The path of the GameServer project is ../AC-Game
The path of the Commons project is ../AC-Commons
The path of the Commons project is ../AC-CServer
Moving to folder
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building AionCore
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-Commons && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-Commons
[INFO] Storing buildNumber: 89 at timestamp: 1291328315175
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-Commons && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-Commons
[INFO] Storing buildScmBranch: trunk
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /aion/ac-go/trunk/AC-Commons/src/main/resources
[INFO] [compiler:compile]
[INFO] Compiling 109 source files to /aion/ac-go/trunk/AC-Commons/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] 1error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.


Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Fri Dec 03 00:18:38 EET 2010
[INFO] Final Memory: 13M/24M
[INFO] ------------------------------------------------------------------------
Moving to folder ../AC-Login
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[INFO] ------------------------------------------------------------------------
[INFO] Building AionCore
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building AionCore
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-Login && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-Login
[INFO] Storing buildNumber: 89 at timestamp: 1291328329258
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-Login && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-Login
[INFO] Storing buildScmBranch: trunk
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory: /aion/ac-go/trunk/AC-Login/data/scripts/system/database added.
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /aion/ac-go/trunk/AC-Login/src/main/resources
Downloading: http://download.java.net/maven/1//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo1 (http://download.java.net/maven/1/)
Downloading: http://download.java.net/maven/2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo2 (http://download.java.net/maven/2/)
Downloading: http://repo2.maven.org/maven2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo3 (http://repo2.maven.org/maven2/)
Downloading: http://subversion.assembla.com/svn/ac-go/repo/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central aioncore (http://subversion.assembla.com/svn/ac-go/repo)
Downloading: http://repo1.maven.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central (http://repo1.maven.org/maven2)
Downloading: http://download.java.net/maven/1//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo1 (http://download.java.net/maven/1/)
Downloading: http://download.java.net/maven/2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo2 (http://download.java.net/maven/2/)
Downloading: http://repo2.maven.org/maven2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo3 (http://repo2.maven.org/maven2/)
Downloading: http://subversion.assembla.com/svn/ac-go/repo/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central aioncore (http://subversion.assembla.com/svn/ac-go/repo)
Downloading: http://repo1.maven.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) AionCore:ac-commons:jar:1.0.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=AionCore -DartifactId=ac-commons -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=AionCore -DartifactId=ac-commons -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) AionCore:ac-login:jar:1.0.0
        2) AionCore:ac-commons:jar:1.0.0

----------
1 required artifact is missing.

for artifact:
  AionCore:ac-login:jar:1.0.0

from the specified remote repositories:
  central repo3 (http://repo2.maven.org/maven2/),
  central repo1 (http://download.java.net/maven/1/),
  central aioncore (http://subversion.assembla.com/svn/ac-go/repo),
  central repo2 (http://download.java.net/maven/2/),
  central (http://repo1.maven.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Fri Dec 03 00:18:55 EET 2010
[INFO] Final Memory: 15M/26M
[INFO] ------------------------------------------------------------------------
Moving to folder ../AC-Game
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[INFO] ------------------------------------------------------------------------
[INFO] Building AionCore
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building AionCore
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-Game && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-Game
[INFO] Storing buildNumber: 89 at timestamp: 1291328346540
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-Game && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-Game
[INFO] Storing buildScmBranch: trunk
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory: /aion/ac-go/trunk/AC-Game/data/scripts/system/handlers added.
[INFO] Source directory: /aion/ac-go/trunk/AC-Game/data/scripts/system/database added.
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /aion/ac-go/trunk/AC-Game/src/main/resources
Downloading: http://download.java.net/maven/1//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo1 (http://download.java.net/maven/1/)
Downloading: http://download.java.net/maven/2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo2 (http://download.java.net/maven/2/)
Downloading: http://repo2.maven.org/maven2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo3 (http://repo2.maven.org/maven2/)
Downloading: http://subversion.assembla.com/svn/ac-go/repo/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central aioncore (http://subversion.assembla.com/svn/ac-go/repo)
Downloading: http://repo1.maven.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central (http://repo1.maven.org/maven2)
Downloading: http://download.java.net/maven/1//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo1 (http://download.java.net/maven/1/)
Downloading: http://download.java.net/maven/2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo2 (http://download.java.net/maven/2/)
Downloading: http://repo2.maven.org/maven2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo3 (http://repo2.maven.org/maven2/)
Downloading: http://subversion.assembla.com/svn/ac-go/repo/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central aioncore (http://subversion.assembla.com/svn/ac-go/repo)
Downloading: http://repo1.maven.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) AionCore:ac-commons:jar:1.0.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=AionCore -DartifactId=ac-commons -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=AionCore -DartifactId=ac-commons -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) AionCore:ac-game:jar:1.0.0
        2) AionCore:ac-commons:jar:1.0.0

----------
1 required artifact is missing.

for artifact:
  AionCore:ac-game:jar:1.0.0

from the specified remote repositories:
  central repo3 (http://repo2.maven.org/maven2/),
  central repo1 (http://download.java.net/maven/1/),
  central aioncore (http://subversion.assembla.com/svn/ac-go/repo),
  central repo2 (http://download.java.net/maven/2/),
  central (http://repo1.maven.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Fri Dec 03 00:19:12 EET 2010
[INFO] Final Memory: 14M/26M
[INFO] ------------------------------------------------------------------------
Moving to folder ../AC-CServer
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[INFO] ------------------------------------------------------------------------
[INFO] Building AionCore
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building AionCore
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-CServer && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-CServer
[INFO] Storing buildNumber: 89 at timestamp: 1291328363296
[INFO] Executing: /bin/sh -c cd /aion/ac-go/trunk/AC-CServer && svn --non-interactive info
[INFO] Working directory: /aion/ac-go/trunk/AC-CServer
[INFO] Storing buildScmBranch: trunk
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /aion/ac-go/trunk/AC-CServer/src/main/resources
Downloading: http://download.java.net/maven/1//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo1 (http://download.java.net/maven/1/)
Downloading: http://download.java.net/maven/2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo2 (http://download.java.net/maven/2/)
Downloading: http://repo2.maven.org/maven2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo3 (http://repo2.maven.org/maven2/)
Downloading: http://repository.jboss.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central repo4 (http://repository.jboss.org/maven2)
Downloading: http://subversion.assembla.com/svn/ac-go/repo/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central aioncore (http://subversion.assembla.com/svn/ac-go/repo)
Downloading: http://repo1.maven.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.pom
[INFO] Unable to find resource 'AionCore:ac-commons:pom:1.0.0' in repository central (http://repo1.maven.org/maven2)
Downloading: http://download.java.net/maven/1//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo1 (http://download.java.net/maven/1/)
Downloading: http://download.java.net/maven/2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo2 (http://download.java.net/maven/2/)
Downloading: http://repo2.maven.org/maven2//AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo3 (http://repo2.maven.org/maven2/)
Downloading: http://repository.jboss.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central repo4 (http://repository.jboss.org/maven2)
Downloading: http://subversion.assembla.com/svn/ac-go/repo/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central aioncore (http://subversion.assembla.com/svn/ac-go/repo)
Downloading: http://repo1.maven.org/maven2/AionCore/ac-commons/1.0.0/ac-commons-1.0.0.jar
[INFO] Unable to find resource 'AionCore:ac-commons:jar:1.0.0' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) AionCore:ac-commons:jar:1.0.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=AionCore -DartifactId=ac-commons -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=AionCore -DartifactId=ac-commons -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) AionCore:ac-cserver:jar:1.0.0
        2) AionCore:ac-commons:jar:1.0.0

----------
1 required artifact is missing.

for artifact:
  AionCore:ac-cserver:jar:1.0.0

from the specified remote repositories:
  central repo3 (http://repo2.maven.org/maven2/),
  central repo4 (http://repository.jboss.org/maven2),
  central repo1 (http://download.java.net/maven/1/),
  central aioncore (http://subversion.assembla.com/svn/ac-go/repo),
  central repo2 (http://download.java.net/maven/2/),
  central (http://repo1.maven.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Fri Dec 03 00:19:29 EET 2010
[INFO] Final Memory: 13M/24M
[INFO] ------------------------------------------------------------------------
[root@localhost tools]#

Было это вчера, на сей форум попасть не мог, потому задал вопрос на аналогичном обратили внимание на то что версия java не подходит. Скачал пакеты с sun.java установил, ругнулось на maven мол версия ниже чем 2.0.6. Так как сама Мандрива не нашла ничего новее в репах, скачал сам с apache.maven версию 2.0.11
После этого получил такую лабуду:
Код:
oot@localhost AC-Commons]# mvn
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/codehaus/plexus/util/xml/pull/MXParser
org.codehaus.plexus.util.xml.pull.MXParser
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/pull/MXParser
        at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4148)
        at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1587)
        at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1552)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:503)
        at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:626)
        at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:504)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:408)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:295)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:290)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.util.xml.pull.MXParser
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
        at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
        at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Dec 03 18:09:21 EET 2010
[INFO] Final Memory: 1M/15M
[INFO] ------------------------------------------------------------------------
У меня была такая же ошибка раньше на винде, но из-за того что java была 1.7 (по крайней мере при установке 1.6 проблема исчезала). Но тут я вообще в растерянности...
Ответ
#2
Warning: JAVA_HOME environment variable is not set.

Как Вы думаете что это такое? О чем говорит эта строка?
Ответ
#3
Цитата:Было это вчера
С этим уже разобрался, сейчас проблема указанная во втором коде...
Ответ
#4
Все оказалось очень просто, надо было самому прописать рабочие среды:
Код:
sudo export PATH=/usr/local/maven/bin:$PATH
sudo JAVA_HOME=/usr/local/lib/java-jdk-1.6.0_22/jdk1.6.0_22
sudo export JAVA_HOME

... а мануала нет по настройке сервера на linux платформе? толи у меня повылазило, толи еще что-то...

вопрос
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Ошибка при восстновления базы Nemesis 0 1,808 03-29-2015, 12:59 PM
Последний пост: Nemesis
  Ошибка при создании персонажа! бд Melinio 4 4,623 04-15-2014, 09:33 PM
Последний пост: Melinio
  Ошибка лс Азраэль 3 3,219 10-01-2013, 08:42 AM
Последний пост: TieLay
  Ошибка торговли с нипами чаром выше 60го уровня css 1 2,078 07-08-2013, 05:12 PM
Последний пост: css
  Досадная ошибка сервера которая вынесла уже мне мозг ... saati 27 6,503 03-18-2013, 09:02 PM
Последний пост: Krasavella
  Ошибка ЛС и ГС Keeborg 2 2,192 08-23-2012, 07:33 AM
Последний пост: Keeborg
  Ошибка LS smyke 6 2,629 05-05-2012, 10:18 PM
Последний пост: TieLay
  Ошибка в работе сервера 2.7 sullen.nv 3 2,876 01-25-2012, 05:22 PM
Последний пост: TieLay
  ошибка ЛС И ГС apinai 1 3,140 12-22-2011, 02:37 AM
Последний пост: iWord
  Ошибка 2.7 клиента OTCBuildClient32_woGG Wolfas 1 2,703 10-28-2011, 10:22 AM
Последний пост: 3EBC

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)