pdutta (1) [Avatar] Offline
#1
I am new in Activiti program. After downloading the source code from manning source, and importing the code in eclipse, it is showing the following error.

Please help with solution.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.bpmnwithactiviti:bpmn-examples:jar:1.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 247, 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 in Action - Examples 1.0
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.alfresco.com/nexus/content/groups/public/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-impl-2.2.4-1.pom
Downloading: http://extensions.springframework.org/milestone/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-impl-2.2.4-1.pom
Downloading: http://maven.restlet.org/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-impl-2.2.4-1.pom
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-impl-2.2.4-1.pom
Downloading: http://maven.itextpdf.com/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-impl-2.2.4-1.pom
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-impl-2.2.4-1.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.4-1/jaxb-impl-2.2.4-1.pom (4 KB at 84.2 KB/sec)
Downloading: http://maven.alfresco.com/nexus/content/groups/public/net/java/jvnet-parent/1/jvnet-parent-1.pom
Downloading: http://extensions.springframework.org/milestone/net/java/jvnet-parent/1/jvnet-parent-1.pom
Downloading: http://maven.restlet.org/net/java/jvnet-parent/1/jvnet-parent-1.pom
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/net/java/jvnet-parent/1/jvnet-parent-1.pom
Downloading: http://maven.itextpdf.com/net/java/jvnet-parent/1/jvnet-parent-1.pom
Downloading: http://repo.maven.apache.org/maven2/net/java/jvnet-parent/1/jvnet-parent-1.pom
Downloaded: http://repo.maven.apache.org/maven2/net/java/jvnet-parent/1/jvnet-parent-1.pom (5 KB at 148.4 KB/sec)
Downloading: http://maven.alfresco.com/nexus/content/groups/public/com/sun/xml/bind/jaxb-xjc/2.2.4-1/jaxb-xjc-2.2.4-1.pom
Downloading: http://extensions.springframework.org/milestone/com/sun/xml/bind/jaxb-xjc/2.2.4-1/jaxb-xjc-2.2.4-1.pom
Downloading: http://maven.restlet.org/com/sun/xml/bind/jaxb-xjc/2.2.4-1/jaxb-xjc-2.2.4-1.pom
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/com/sun/xml/bind/jaxb-xjc/2.2.4-1/jaxb-xjc-2.2.4-1.pom
Downloading: http://maven.itextpdf.com/com/sun/xml/bind/jaxb-xjc/2.2.4-1/jaxb-xjc-2.2.4-1.pom
Downloading: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-xjc/2.2.4-1/jaxb-xjc-2.2.4-1.pom
Downloaded: http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-xjc/2.2.4-1/jaxb-xjc-2.2.4-1.pom (4 KB at 84.2 KB/sec)
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ bpmn-examples ---
[INFO] Source directory: \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-exampleshob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplesgeneratedcxf added.
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ bpmn-examples ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 69 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ bpmn-examples ---
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 67 source files to \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examples argetclasses
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[5,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[11,10] error: cannot find symbol
[ERROR] class StoreOpportunityTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[11,10] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[18,15] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[60,14] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[64,41] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[5,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[10,10] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[18,15] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[60,14] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[64,41] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[5,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[11,10] error: cannot find symbol
[ERROR] class StoreOpportunityTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[11,55] error: cannot find symbol
[ERROR] class StoreOpportunityTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[20,4] error: cannot find symbol
[ERROR] class StoreOpportunityTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[23,8] error: cannot find symbol
[ERROR] class StoreOpportunityTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[11,55] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[16,4] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[18,68] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[10,55] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[15,4] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[18,68] error: cannot find symbol
[ERROR] class CustomerVariable
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[11,55] error: cannot find symbol
[ERROR] class StoreOpportunityTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[20,4] error: cannot find symbol
[ERROR] class StoreOpportunityTask
\hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[23,8] error: cannot find symbol
[INFO] 34 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:33.908s
[INFO] Finished at: Mon Oct 14 19:29:06 IST 2013
[INFO] Final Memory: 24M/124M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project bpmn-examples: Compilation failure: Compilation failure:
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[5,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[11,10] error: cannot find symbol
[ERROR] class StoreOpportunityTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[11,10] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[18,15] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[60,14] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[64,41] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[5,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[10,10] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[18,15] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[60,14] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[64,41] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[5,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[6,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[7,39] error: package org.bpmnwithactiviti.chapter7.ws does not exist
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[11,10] error: cannot find symbol
[ERROR] class StoreOpportunityTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[11,55] error: cannot find symbol
[ERROR] class StoreOpportunityTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[20,4] error: cannot find symbol
[ERROR] class StoreOpportunityTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaStoreOpportunityTask.java:[23,8] error: cannot find symbol
[ERROR] class StoreOpportunityTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[11,55] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaRetrieveCustomerTask.java:[16,4] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7errorjavaCustomerVariable.java:[18,68] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[10,55] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventRetrieveCustomerTask.java:[15,4] error: cannot find symbol
[ERROR] class RetrieveCustomerTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventCustomerVariable.java:[18,68] error: cannot find symbol
[ERROR] class CustomerVariable
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[11,55] error: cannot find symbol
[ERROR] class StoreOpportunityTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[20,4] error: cannot find symbol
[ERROR] class StoreOpportunityTask
[ERROR] \hob-fs01vdiprofiles$pduttadevSTSWorkspacepmn-examplessrcmainjavaorgpmnwithactivitichapter7erroreventStoreOpportunityTask.java:[23,8] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
tijs.rademakers (494) [Avatar] Offline
#2
Re: Activiti Program showing error in chapter 7
Can you validate if the generated/cxf folder is defined as a source folder in Eclipse? Because the missing classes can be found there.

Best regards,

Tijs