Ошибка при компиляции AC на linux - Форум администраторов игровых серверов
Форум администраторов игровых серверов StormWall - Защита от DDos атак
Регистрация Мнения Справка Пользователи Календарь Все разделы прочитаны
Вернуться   Форум администраторов игровых серверов > MMO > Aion > Серверная часть

Важная информация

Серверная часть Обсуждения вопросов по установке и настройке эмулятора Aion-Emu, для совершенно новой и необыкновенно красивой игры - Aion.

Ответ
Опции темы
Непрочитано 03.12.2010, 19:51   #1
Аватар для sotariz
Пользователь

Автор темы (Топик Стартер) Ошибка при компиляции AC на linux

Доброго времени суток всем!
В очередной раз прошу сдешних форумчан помочь разобраться с проблемой.
Что имеем:
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 проблема исчезала). Но тут я вообще в растерянности...
sotariz вне форума Ответить с цитированием
Непрочитано 04.12.2010, 01:44   #2
Изгнанные

По умолчанию Re: Ошибка при компиляции AC на linux

Warning: JAVA_HOME environment variable is not set.

Как Вы думаете что это такое? О чем говорит эта строка?
vitlav вне форума Отправить сообщение для vitlav с помощью ICQ Отправить сообщение для vitlav с помощью Skype™ Ответить с цитированием
Непрочитано 04.12.2010, 01:57   #3
Аватар для sotariz
Пользователь

Автор темы (Топик Стартер) Re: Ошибка при компиляции AC на linux

Цитата:
Было это вчера
С этим уже разобрался, сейчас проблема указанная во втором коде...
sotariz вне форума Ответить с цитированием
Непрочитано 09.12.2010, 08:45   #4
Аватар для sotariz
Пользователь

Автор темы (Топик Стартер) Re: Ошибка при компиляции AC на linux

Все оказалось очень просто, надо было самому прописать рабочие среды:
Код:
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 платформе? толи у меня повылазило, толи еще что-то...

вопрос:
Свернуть ↑Развернуть ↓

Последний раз редактировалось sotariz; 10.12.2010 в 00:00.
sotariz вне форума Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 
Опции темы

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
ошибка в компиляции VanoF Lineage II 7 09.09.2010 20:50
Ошибка при компиляции VanoF Lineage II 9 04.08.2010 15:05
Ошибка при компиляции Fraud Серверная часть 1 10.04.2010 19:24
Ошибка при компиляции L2jfree maxo Lineage II 3 09.12.2008 15:55


© 2007–2022 «Форум администраторов игровых серверов»
Защита сайта от DDoS атак — StormWall
Работает на Булке неизвестной версии с переводом от zCarot
Текущее время: 07:30. Часовой пояс GMT +3.

Вверх