[jboss-dev-forums] [jBPM Development] - Re: Help!The java code of Script Task action ( class cannot be resolved to a type)

Mauricio Salatino do-not-reply at jboss.com
Wed Nov 30 07:27:42 EST 2011


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&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111130/8f97fd11/attachment.html 


More information about the jboss-dev-forums mailing list