Java error Process 'command

I have this error when i generate my project , can someone tell me what should i do?

org.gradle.process.internal.ExecException: Process ‘command ‘C:\java\jdk1.8.0_202\bin\java.exe’’ finished with non-zero exit value 1

That error occurs for a lot of different reasons. You haven’t provided enough details for anybody to be able to determine what the particular reason is for your particular case though.

What you should do, now and in the future, is provide as much detail about your problem as you can:

  • The relevant part of the build script that you suspect triggered the error? (the full build script would be the most ideal)
  • What have you tried so far to try to resolve the error?
  • Full stack trace?
  • Development environment info?
  • The URL generated by a build scan? (produced with gradle -i -Dconsole=verbose --stacktrace --scan yourTask)
  • Any other info you think would be helpful to someone who knows nothing about your application?

Of course it’s not always practical to provide all of the above all of the time. But the more of the above you can provide, the more likely you are to get help; and quicker.

The above advise does not just go for this forum, by the way. Any support request anywhere generally needs the same kind of info.

1 Like

this is the error

Task :generate_files_without_db_clean
arg : E:\git\SVE4\SEWSaaS.Guichet
arg : …/Batch.Factory.Contrib/batchfactory/resources
arg : false
arg : fr
Building SEWSaaS.Guichet

mai 13, 2019 1:49:20 PM com.ecitiz.factory.i a
Exception in thread “main” com.ecitiz.factory.interfaces.core.helper.b: Generationmanager.project.not.generated
at com.ecitiz.factory.j.a(SourceFile:1464)
at com.ecitiz.factory.j.a(SourceFile:452)
at com.ecitiz.factory.standalone.d.a(SourceFile:107)
at com.ecitiz.factory.standalone.d.a(SourceFile:71)
at com.ecitiz.factory.standalone.StandAloneGenerator.b(SourceFile:142)
at com.ecitiz.factory.standalone.StandAloneGenerator.a(SourceFile:113)
at com.ecitiz.factory.standalone.StandAloneGenerator.main(SourceFile:102)

Task :generate_files_without_db_clean FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:generate_files_without_db_clean’.

Process ‘command ‘C:\java\jdk1.8.0_202\bin\java.exe’’ finished with non-zero exit value 1

and this is my code

task generate_files_without_db_clean(type: JavaExec){
main = ‘com.ecitiz.factory.standalone.StandAloneGenerator’
args = ["${project.projectDir}",props.getProperty(“ecitiz.factory.path”)+"/resources",“false”,“fr”]
def file1= fileTree(props.getProperty(“ecitiz.factory.path”)+’/requiredLibs’){include ‘.jar’}
def file2= fileTree(props.getProperty(“ecitiz.factory.path”)+’/eclipseLibs’){include '
def file3= fileTree(props.getProperty(“ecitiz.factory.path”)+’/engine’){include’/*.jar’
def file4= fileTree(props.getProperty(“ecitiz.factory.path”)+’/engine.extension’){include ‘lib/.jar’}
def file5= fileTree("…/"){include '
def file6= fileTree(‘user’){include 'lib/
include ‘build/**.jar’}
def file7= fileTree(’./’)

Ahh! My old friend, the prototype directory :smile:

I am going to try to message you so that we don’t clutter up the thread with too much noise. Is that OK with you?

hhhh yes sure , thank you