@marti_mapper

Как исправить проблему при компилировании (сборки проекта) в DevelNext?

При сборке проекта в DevelNext появляется ошибка. Подскажите, что делать?
ошибка
632796da5df9a748573034.jpeg

почти полный текст при компиляции (не весь поместился, если нужен прям ввесь - пишите)

> ant jar launch4j
--> C:\Users\79269\DevelNextProjects\gtavi ..
Unable to locate tools.jar. Expected to find it in E:\DevelNext\tools\lib\tools.jar
Buildfile: C:\Users\79269\DevelNextProjects\gtavi\build.xml

init:

jar:
[jar] Building jar: C:\Users\79269\DevelNextProjects\gtavi\build\dist\lib\dn-compiled-module.jar

launch4j:
[launch4j] Compiling resources
[launch4j] E:\DevelNext\tools\Launch4j\bin\windres.exe: icon file `C:\Users\79269\AppData\Local\Temp\2f2736c0-23d4-4614-aff6-cfc6ed5776d66579691122592094060.ico' does not contain icon data
[launch4j] Generated resource file...
[launch4j]
[launch4j] LANGUAGE 0, 1
[launch4j] 2 RCDATA BEGIN "1.8.0\0" END
[launch4j] 18 RCDATA BEGIN "1\0" END
[launch4j] 30 RCDATA BEGIN "2\0" END
[launch4j] 12 RCDATA BEGIN "-Dfile.encoding=UTF-8\0" END
[launch4j] 1 ICON DISCARDABLE "C:\\Users\\79269\\AppData\\Local\\Temp\\2f2736c0-23d4-4614-aff6-cfc6ed5776d66579691122592094060.ico"
[launch4j] 21 RCDATA BEGIN "http://java.com/download\0" END
[launch4j] 8 RCDATA BEGIN ".\0" END
[launch4j] 20 RCDATA BEGIN "32\0" END
[launch4j] 101 RCDATA BEGIN "An error occurred while starting the application.\0" END
[launch4j] 102 RCDATA BEGIN "This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted.\0" END
[launch4j] 103 RCDATA BEGIN "This application requires a Java Runtime Environment\0" END
[launch4j] 104 RCDATA BEGIN "The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted.\0" END
[launch4j] 15 RCDATA BEGIN "org.develnext.jphp.ext.javafx.FXLauncher\0" END
[launch4j] 16 RCDATA BEGIN "lib\\*\0" END
[launch4j]

BUILD FAILED
C:\Users\79269\DevelNextProjects\gtavi\build.xml:67: net.sf.launch4j.BuilderException: net.sf.launch4j.ExecException: Exec failed (1): E:\DevelNext\tools\Launch4j\bin\windres.exe --preprocessor=type -J rc -O coff -F pe-i386 C:\Users\79269\AppData\Local\Temp\launch4j4293548111869186248rc C:\Users\79269\AppData\Local\Temp\launch4j5839068901747580527o
at net.sf.launch4j.Builder.build(Builder.java:149)
at net.sf.launch4j.ant.Launch4jTask.execute(Launch4jTask.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: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:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:854)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
Caused by: net.sf.launch4j.ExecException: Exec failed (1): E:\DevelNext\tools\Launch4j\bin\windres.exe --preprocessor=type -J rc -O coff -F pe-i386 C:\Users\79269\AppData\Local\Temp\launch4j4293548111869186248rc C:\Users\79269\AppData\Local\Temp\launch4j5839068901747580527o
at net.sf.launch4j.Util.exec(Util.java:156)
at net.sf.launch4j.Cmd.exec(Builder.java:215)
at net.sf.launch4j.Builder.build(Builder.java:100)
... 18 more

Total time: 3 seconds

Process shutdown, exit code = 1.

(!) Ошибка запуска, что-то пошло не так
--> возможно ошибка в вашей программе или ошибка IDE...
  • Вопрос задан
  • 185 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы