Mvn clean compile install of camunda-webapp

Hi,

I’m trying to understand how it works to use the webapps…
I downloaded the source code from Release 7.7.0 · camunda/camunda-bpm-webapp · GitHub
I opened it in IntelliJ IDE and did a clean-package-install successfully.
Then I have a full distribution downloaded, Wildfly 10 - 7.7.
So, I took the camunda-webapp.war file generated from the webapps project and dropped it in

\camunda-bpm-wildfly10-7.7.0\server\wildfly-10.1.0.Final\standalone\deployments

folder, but it’s not being deployed.
I get this stack trace error:

> 11:13:56,212 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0001: Content added at location C:\camunda-bpm-wildfly10-7.7.0\server\wildfly-10.1.0.Final\standalone\data\content\76\5449543c323a10ace172e3b48a5e2b7846252f\content
> 11:13:57,666 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment camunda-webapp.war (runtime-name: camunda-webapp.war) in 1414ms
> 11:13:57,671 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "camunda-webapp.war" (runtime-name: "camunda-webapp.war")
> 11:14:01,275 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 121) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./camunda-webapp: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./camunda-webapp: java.lang.NoClassDefFoundError: org/camunda/bpm/engine/ProcessEngineException
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> 	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> Caused by: java.lang.NoClassDefFoundError: org/camunda/bpm/engine/ProcessEngineException
> 	at org.camunda.bpm.cockpit.impl.web.bootstrap.CockpitContainerBootstrap$CockpitEnvironment.setup(CockpitContainerBootstrap.java:56)
> 	at org.camunda.bpm.cockpit.impl.web.bootstrap.CockpitContainerBootstrap.contextInitialized(CockpitContainerBootstrap.java:36)
> 	at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
> 	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:200)
> 	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:171)
> 	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
> 	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> 	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:234)
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
> 	... 6 more
> Caused by: java.lang.ClassNotFoundException: org.camunda.bpm.engine.ProcessEngineException from [Module "deployment.camunda-webapp.war:main" from Service Module Loader]
> 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
> 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
> 	... 21 more
> 
> 11:14:01,324 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {
>     "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./camunda-webapp" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./camunda-webapp: java.lang.NoClassDefFoundError: org/camunda/bpm/engine/ProcessEngineException
>     Caused by: java.lang.NoClassDefFoundError: org/camunda/bpm/engine/ProcessEngineException
>     Caused by: java.lang.ClassNotFoundException: org.camunda.bpm.engine.ProcessEngineException from [Module \"deployment.camunda-webapp.war:main\" from Service Module Loader]"},
>     "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./camunda-webapp"],
>     "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
> }
> 11:14:01,412 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0016: Replaced deployment "camunda-webapp.war" with deployment "camunda-webapp.war"
> 11:14:01,413 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
> WFLYCTL0184:    New missing/unsatisfied dependencies:
>       service jboss.deployment.unit."camunda-webapp.war".component."com.sun.faces.config.ConfigureListener".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."javax.faces.webapp.FacetTag".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.admin.impl.web.bootstrap.AdminContainerBootstrap".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.cockpit.impl.web.bootstrap.CockpitContainerBootstrap".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.engine.rest.filter.CacheControlFilter".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.tasklist.impl.web.bootstrap.TasklistContainerBootstrap".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.webapp.impl.engine.ProcessEnginesFilter".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.webapp.impl.security.filter.SecurityFilter".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.camunda.bpm.welcome.impl.web.bootstrap.WelcomeContainerBootstrap".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.deployment.unit."camunda-webapp.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher".START (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
>       service jboss.undertow.deployment.default-server.default-host./camunda-webapp (unavailable) dependents: [service jboss.deployment.unit."camunda-webapp.war".deploymentCompleteService] 
> WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./camunda-webapp
>       service jboss.undertow.deployment.default-server.default-host./camunda-webapp: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./camunda-webapp: java.lang.NoClassDefFoundError: org/camunda/bpm/engine/ProcessEngineException

Any idea?

Thanks!

Hi Guys,
i have this error when i try to compile camunda webapp 7.10
Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project camunda-webapp: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir F:\ws-camunda\camunda-bpm-webapp-7.10.0\target\webapp does not exist

Maven command: mvn clean install
Maven home: F:\maven-3.2.5
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: F:\Java\jdk1.7.0_80\jre
Default locale: es_MX, platform encoding: Cp1252
OS name: “windows 8.1”, version: “6.3”, arch: “amd64”, family: “windows”

Any Idea ?