Start axelor app


#1

Hi, i cloned the demo app of axelor. When i started the project i got an error like follow :

: java.lang.ClassNotFoundException: com.axelor.tomcat.TomcatRunner
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.axelor.app.internal.AppRunner.run(AppRunner.java:122)
at com.axelor.app.internal.AppRunner.main(AppRunner.java:167)

Can’t you help me please to understand what happen ?

Thanks !


#2

Hi,

try adding this line inside your build.gradle (buildscript/dependencies): classpath "com.axelor:axelor-tomcat:5.0.+" and rebuild.

The demo app is in release 5.0.4 while the last one is 5.1.1 so maybe the best will be to clone the WebApp https://github.com/axelor/abs-webapp, compile (gradlew --no-daemon -x test build) and to deploy the war inside a local tomcat server:

See here: https://docs.axelor.com/abs/5.0/install/war/index.html