OFBiz 16.11.01 installation failed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

OFBiz 16.11.01 installation failed

Konsultan OFBiz
Dear all,

I try to install OFBiz 16.11.01 on Windows 7 Ultimate SP1 with Java SDK 8
update 121 (64-bit) and here is the report:

F:\ofbiz>gradlew cleanAll loadDefault ofbiz
:clean
:cleanAnt
:cleanCatalina
:cleanData
:cleanDownloads
:cleanEclipseClasspath UP-TO-DATE
:cleanEclipseJdt UP-TO-DATE
:cleanEclipseProject UP-TO-DATE
:cleanEclipse UP-TO-DATE
:cleanFooterFiles
:cleanGradle
:cleanIndexes
:cleanLogs
:cleanOutput
:cleanTempfiles
:cleanUploads
:cleanXtra
:cleanAll
:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processResources
:classes
:jar
:assemble
:compileTestJava
:processTestResources UP-TO-DATE
:testClasses
:test
:check
:build
:ofbiz --load-data
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cl
i/ParseException :ofbiz --load-data
        at org.apache.ofbiz.base.start.Start.main(Start.java:60)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseExcepti
on
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 1 more
:ofbiz --load-data FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ofbiz --load-data'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_121\bin\java.exe''
finished w
ith non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug
option to get more log output.

BUILD FAILED

Total time: 5 mins 10.628 secs

F:\ofbiz>

Would you please help me to solve this out?

Regards,

Konsultan OFBiz
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 16.11.01 installation failed

Jacques Le Roux
Administrator
Please, run the same with --stacktrace and report

Jacques


Le 27/03/2017 à 06:03, Konsultan OFBiz a écrit :

> Dear all,
>
> I try to install OFBiz 16.11.01 on Windows 7 Ultimate SP1 with Java SDK 8
> update 121 (64-bit) and here is the report:
>
> F:\ofbiz>gradlew cleanAll loadDefault ofbiz
> :clean
> :cleanAnt
> :cleanCatalina
> :cleanData
> :cleanDownloads
> :cleanEclipseClasspath UP-TO-DATE
> :cleanEclipseJdt UP-TO-DATE
> :cleanEclipseProject UP-TO-DATE
> :cleanEclipse UP-TO-DATE
> :cleanFooterFiles
> :cleanGradle
> :cleanIndexes
> :cleanLogs
> :cleanOutput
> :cleanTempfiles
> :cleanUploads
> :cleanXtra
> :cleanAll
> :compileJava
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> :processResources
> :classes
> :jar
> :assemble
> :compileTestJava
> :processTestResources UP-TO-DATE
> :testClasses
> :test
> :check
> :build
> :ofbiz --load-data
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cl
> i/ParseException :ofbiz --load-data
>          at org.apache.ofbiz.base.start.Start.main(Start.java:60)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.cli.ParseExcepti
> on
>          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>          ... 1 more
> :ofbiz --load-data FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':ofbiz --load-data'.
>> Process 'command 'C:\Program Files\Java\jdk1.8.0_121\bin\java.exe''
> finished w
> ith non-zero exit value 1
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug
> option to get more log output.
>
> BUILD FAILED
>
> Total time: 5 mins 10.628 secs
>
> F:\ofbiz>
>
> Would you please help me to solve this out?
>
> Regards,
>
> Konsultan OFBiz
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 16.11.01 installation failed

Konsultan OFBiz
Dear Mr. Jacques,

Thanks for your response. Following your instruction, here is the report
with stacktrace option:

F:\ofbiz>gradlew cleanAll loadDefault ofbiz --stacktrace
:clean
:cleanAnt
:cleanCatalina
:cleanData
:cleanDownloads
:cleanEclipseClasspath UP-TO-DATE
:cleanEclipseJdt UP-TO-DATE
:cleanEclipseProject UP-TO-DATE
:cleanEclipse UP-TO-DATE
:cleanFooterFiles
:cleanGradle
:cleanIndexes
:cleanLogs
:cleanOutput
:cleanTempfiles
:cleanUploads
:cleanXtra
:cleanAll
:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processResources
:classes
:jar
:assemble
:compileTestJava
:processTestResources UP-TO-DATE
:testClasses
:test
:check
:build
:ofbiz --load-data
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cl
i/ParseException :ofbiz --load-data
        at org.apache.ofbiz.base.start.Start.main(Start.java:60)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseExcepti
on
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 1 more
:ofbiz --load-data FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ofbiz --load-data'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_121\bin\java.exe''
finished w
ith non-zero exit value 1

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task
':ofbiz -
-load-data'.
        at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex
ecuteActions(ExecuteActionsTaskExecuter.java:69)
        at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex
ecute(ExecuteActionsTaskExecuter.java:46)
        at
org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExec
uter.execute(PostExecutionAnalysisTaskExecuter.java:35)
        at
org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.exec
ute(SkipUpToDateTaskExecuter.java:68)
        at
org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execut
e(ValidatingTaskExecuter.java:58)
        at
org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecu
ter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
        at
org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter
.execute(SkipTaskWithNoActionsExecuter.java:52)
        at
org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execut
e(SkipOnlyIfTaskExecuter.java:53)
        at
org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter
.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTa
skWorker.execute(DefaultTaskGraphExecuter.java:203)
        at
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTa
skWorker.execute(DefaultTaskGraphExecuter.java:185)
        at
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW
orker.processTask(AbstractTaskPlanExecutor.java:66)
        at
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW
orker.run(AbstractTaskPlanExecutor.java:50)
        at
org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(Defaul
tTaskPlanExecutor.java:25)
        at
org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(Defau
ltTaskGraphExecuter.java:110)
        at
org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTask
ExecutionAction.java:37)
        at
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:37)
        at
org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExec
uter.java:23)
        at
org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecu
ter.java:43)
        at
org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildEx
ecutionAction.java:32)
        at
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:37)
        at
org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute
r.java:30)
        at
org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLa
uncher.java:154)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(Defaul
tBuildOperationExecutor.java:90)
        at
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(Defaul
tBuildOperationExecutor.java:52)
        at
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default
GradleLauncher.java:151)
        at
org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGra
dleLauncher.java:32)
        at
org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradl
eLauncher.java:99)
        at
org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradl
eLauncher.java:93)
        at
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(Defaul
tBuildOperationExecutor.java:90)
        at
org.gradle.internal.progress.DefaultBuildOperationExecutor.run(Defaul
tBuildOperationExecutor.java:62)
        at
org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle
Launcher.java:93)
        at
org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun
cher.java:82)
        at
org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildCon
troller.run(InProcessBuildActionExecuter.java:94)
        at
org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(Exe
cuteBuildActionRunner.java:28)
        at
org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildA
ctionRunner.java:35)
        at
org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce
ssBuildActionExecuter.java:43)
        at
org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce
ssBuildActionExecuter.java:28)
        at
org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(Contin
uousBuildActionExecuter.java:81)
        at
org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(Contin
uousBuildActionExecuter.java:46)
        at
org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.exe
cute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at
org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.exe
cute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at
org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at
org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.jav
a:173)
        at
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.
execute(CommandLineActionFactory.java:241)
        at
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.
execute(CommandLineActionFactory.java:214)
        at
org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti
meValidationAction.java:35)
        at
org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti
meValidationAction.java:24)
        at
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(
CommandLineActionFactory.java:207)
        at
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(
CommandLineActionFactory.java:169)
        at
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep
ortingAction.java:33)
        at
org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep
ortingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at
org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBoots
trap.java:55)
        at
org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.j
ava:36)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at
org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.ja
va:30)
        at
org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
        at
org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.process.internal.ExecException: Process 'command
'C:\Progr
am Files\Java\jdk1.8.0_121\bin\java.exe'' finished with non-zero exit value
1
        at
org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNo
rmalExitValue(DefaultExecHandle.java:367)
        at
org.gradle.process.internal.DefaultJavaExecAction.execute(DefaultJava
ExecAction.java:31)
        at org.gradle.api.tasks.JavaExec.exec(JavaExec.java:74)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
        at
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF
actory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
        at
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF
actory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
        at
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF
actory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
        at
org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(Abstra
ctTask.java:585)
        at
org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(Abstra
ctTask.java:568)
        at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex
ecuteAction(ExecuteActionsTaskExecuter.java:80)
        at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex
ecuteActions(ExecuteActionsTaskExecuter.java:61)
        ... 60 more


BUILD FAILED

Total time: 6 mins 23.773 secs

F:\ofbiz>

Looking forward your replies.

Regards,

Konsultan OFBiz

On Mon, Mar 27, 2017 at 1:15 PM, Jacques Le Roux <
[hidden email]> wrote:

> Please, run the same with --stacktrace and report
>
> Jacques
>
>
>
> Le 27/03/2017 à 06:03, Konsultan OFBiz a écrit :
>
>> Dear all,
>>
>> I try to install OFBiz 16.11.01 on Windows 7 Ultimate SP1 with Java SDK 8
>> update 121 (64-bit) and here is the report:
>>
>> F:\ofbiz>gradlew cleanAll loadDefault ofbiz
>> :clean
>> :cleanAnt
>> :cleanCatalina
>> :cleanData
>> :cleanDownloads
>> :cleanEclipseClasspath UP-TO-DATE
>> :cleanEclipseJdt UP-TO-DATE
>> :cleanEclipseProject UP-TO-DATE
>> :cleanEclipse UP-TO-DATE
>> :cleanFooterFiles
>> :cleanGradle
>> :cleanIndexes
>> :cleanLogs
>> :cleanOutput
>> :cleanTempfiles
>> :cleanUploads
>> :cleanXtra
>> :cleanAll
>> :compileJava
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> :processResources
>> :classes
>> :jar
>> :assemble
>> :compileTestJava
>> :processTestResources UP-TO-DATE
>> :testClasses
>> :test
>> :check
>> :build
>> :ofbiz --load-data
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/commons/cl
>> i/ParseException :ofbiz --load-data
>>          at org.apache.ofbiz.base.start.Start.main(Start.java:60)
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.commons.cli.ParseExcepti
>> on
>>          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>          ... 1 more
>> :ofbiz --load-data FAILED
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Execution failed for task ':ofbiz --load-data'.
>>
>>> Process 'command 'C:\Program Files\Java\jdk1.8.0_121\bin\java.exe''
>>>
>> finished w
>> ith non-zero exit value 1
>>
>> * Try:
>> Run with --stacktrace option to get the stack trace. Run with --info or
>> --debug
>> option to get more log output.
>>
>> BUILD FAILED
>>
>> Total time: 5 mins 10.628 secs
>>
>> F:\ofbiz>
>>
>> Would you please help me to solve this out?
>>
>> Regards,
>>
>> Konsultan OFBiz
>>
>>
>