Seriously, you are emailing a public mailing list with a basic java compilation problem?
Have you no sense of shame? Or desire not to waste other people's time?
On Jun 21, 2010, at 12:45 PM, Fnu Mahalakshmi <FMahalakshmi(a)nyx.com> wrote:
Hi,
I am having a problem working with smooks.
I downloaded smooks 1.3.1 from the site and included all the .jar files inside lib
directory to my drools project class path.
I imported :
import org.milyn.Smooks;
import org.milyn.SmooksException;
import org.milyn.SmooksUtil;
And my code which is not getting resolved is :
Smooks smooks = new Smooks("smooks-config.xml");
DroolsSmooksConfiguration conf = new DroolsSmooksConfiguration("",null);
DroolsSmooksStatelessSession smooksSession = new
DroolsSmooksStatelessSession(session,smooks,conf);
I am unable to resolve DroolsSmooksConfiguration and DroolsSmooksStatelessSession.
If I run it anyways I get this error stack:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
DroolsSmooksConfiguration cannot be resolved to a type
DroolsSmooksConfiguration cannot be resolved to a type
DroolsSmooksStatelessSession cannot be resolved to a type
DroolsSmooksStatelessSession cannot be resolved to a type
session cannot be resolved
at com.org.RuleRunner.runStatelessRules(RuleRunner.java:225)
at com.org.RulesTest.main(RulesTest.java:38)
I do not know what more dependencies I need to account for.
Can you please help me out???
Thanks
M
Please consider the environment before printing this email.
Visit our website at
http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged,
confidential and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received this
communication in error, please notify the sender immediately by replying to the message,
and please delete it from your system. Thank you. NYSE Euronext.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users