File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Could not parse knowledge Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Could not parse knowledge" Watch "Could not parse knowledge" New topic

Could not parse knowledge

Brajesh Choudhary

Joined: May 24, 2012
Posts: 8
Hello Friends

I have been attempting to work with Drools and have mostly met with frustration.
My code involves a Bean, a class to read the DRL file but it gives an error given below the stack trace.

my DRL file

My Login Bean

Can you please provide me the correct DRL rule for my login page.I want a DRL file having a rule that username and Password must be 'a'.

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Looks like the at com.ri.dao.TestDAO.readKnowledgeBase method is eating up the real exception stacktrace. You might want to print the entire exception stacktrace and see what exactly is wrong.

By the way, for Drools related questions, you might have a better chance of getting your questions answered in their user mailing list

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Could not parse knowledge
It's not a secret anymore!