Mauricio Salatino [
http://community.jboss.org/people/salaboy21] created the discussion
"Re: Help!The java code of Script Task action ( class cannot be resolved to a
type)"
To view the discussion, visit:
http://community.jboss.org/message/639093#639093
--------------------------------------------------------------
The error that you are getting is because you have the jar file (jdom-1.0.jar) in your IDE
but not in guvnor's classpath. You should add that lib to the server in order to be
able to deploy that process.
By the way, you can use service tasks instead of script tasks and create a class that has
the dependency on jdom, instead of bundling java code inside the xml process definition.
The newly integrated service repository will allow you to download the dependencies as
well, so you will not need to download and place the jar inside the container by hand.
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/639093#639093]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]