I checked out the whole project in eclipse and changed a few lines of code in the activiti-explorer module. Afterwoods, I created a new war file: right-click on the pom.xml of the activiti-webapp-explorer2, run-as –> maven build, goals: package. The generation of the war-file is successfull. You can read this:
<code>
[INFO] Scanning for projects…
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.activiti:activiti-webapp-explorer2:war:5.15-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.zeroturnaround:jrebel-maven-plugin is missing. @ line 38, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ————————————————————————
[INFO] Building Activiti - Webapp - Explorer V2 5.15-SNAPSHOT
[INFO] ————————————————————————
[INFO]
[INFO] — maven-enforcer-plugin:1.0:enforce (enforce-maven) @ activiti-webapp-explorer2 —
[INFO]
[INFO] — maven-resources-plugin:2.5:resources (default-resources) @ activiti-webapp-explorer2 —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 28 resources
[INFO]
[INFO] — jrebel-maven-plugin:1.1.5:generate (generate-rebel-xml) @ activiti-webapp-explorer2 —
[INFO]
[INFO] — maven-compiler-plugin:2.3.2:compile (default-compile) @ activiti-webapp-explorer2 —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-resources-plugin:2.5:testResources (default-testResources) @ activiti-webapp-explorer2 —
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\schnarr\Desktop\Activiti\Activiti\modules\activiti-webapp-explorer2\src\test\resources
[INFO]
[INFO] — maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ activiti-webapp-explorer2 —
[INFO] No sources to compile
[INFO]
[INFO] — maven-surefire-plugin:2.7.1:test (default-test) @ activiti-webapp-explorer2 —
[INFO] No tests to run.
[INFO] Surefire report directory: C:\Users\schnarr\Desktop\Activiti\Activiti\modules\activiti-webapp-explorer2\target\surefire-reports
——————————————————-
T E S T S
——————————————————-
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] — maven-war-plugin:2.1.1:war (default-war) @ activiti-webapp-explorer2 —
[INFO] Packaging webapp
[INFO] Assembling webapp [activiti-webapp-explorer2] in [C:\Users\schnarr\Desktop\Activiti\Activiti\modules\activiti-webapp-explorer2\target\activiti-webapp-explorer2-5.15-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\schnarr\Desktop\Activiti\Activiti\modules\activiti-webapp-explorer2\src\main\webapp]
[INFO] Webapp assembled in [11468 msecs]
[INFO] Building war: C:\Users\schnarr\Desktop\Activiti\Activiti\modules\activiti-webapp-explorer2\target\activiti-webapp-explorer2-5.15-SNAPSHOT.war
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 26.918s
[INFO] Finished at: Wed Feb 12 18:51:00 CET 2014
[INFO] Final Memory: 15M/219M
[INFO] ————————————————————————
</code>
But when I deploy the app on tomcat, I get the following error:
<code>
HTTP Status 500 - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'explorerApp' defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]: Cannot resolve reference to bean 'formPropertyRendererManager' while setting bean property 'formPropertyRendererManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formPropertyRendererManager' defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]: Cannot create inner bean 'org.activiti.explorer.ui.form.DoubleFormPropertyRenderer#5de3dfa4' of type [org.activiti.explorer.ui.form.DoubleFormPropertyRenderer] while setting bean property 'propertyRenderers' with key [3]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.explorer.ui.form.DoubleFormPropertyRenderer] for bean with name 'org.activiti.explorer.ui.form.DoubleFormPropertyRenderer#5de3dfa4' defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.explorer.ui.form.DoubleFormPropertyRenderer
</code>
I only added one if-Statement in one class and nothing else. All other sources and dependancies are the same as in the Git-Repos. Did I miss something?
Thank you very much