After running the command gradlew --no-daemon run on Window 10 The following error is displayed in the terminal :
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:run’.
A problem occurred starting process ‘command ‘C:\Java\jdk1.8.0_101\bin\java.exe’’
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
It seems that Windows has a command length limit or 8192 bytes so if u run the java command under the “E:\workspaces\nawar\gold-tools\abs-webapp” directory maybe you can try to replace this path by “./” and thus reduce the length of the command. You can use the online tool https://mothereff.in/byte-counter to check it.
What is your goal, compile the ADK itself or the WEBAPP ?
From my point of view, the best way to run the ABS is to:
download, install and configure the lastest tomcat releaser
Sync the git repository:
2.1 git clone https://github.com/axelor/abs-webapp.git
2.2 cd abs-webapp
2.3 edit the .gitmodules and replace the url by https://github.com/axelor/axelor-business-suite.git
2.4 sync submodules: git submodule init; git submodule update; git submodule foreach git checkout master; git submodule foreach git pull origin master
3 edit the \abs-webapp\src\resources\main\application.properties
4 execute gradlew war
5 put the war files into the webapps dir of tomcat and wait for complete deployement (see catalina.out)
Hi,
I dont need abs juste for use, but I want to make some modifications and add others modules and I want to profit from the hot redeployment in the version 5.
Like I say the problem is about the length of the class path, So I want to know if is there any way to reduce the class path, for example why not creating un empty jar with Manifest File contening all jars, then run the command with one jar?
We fix an issue with long command lin on windows. The run command now uses manifest jar to avoid long classpath
causing too long command line which is not supported on windows.
Hello horrikhalid ,
I am also facing same issue with Intellij,can u sort me out…A problem occurred starting process ‘command ‘C:\Program Files\Java\jdk1.8.0_212\bin\java.exe’’