aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Could not parse knowledge" Watch "Could not parse knowledge" New topic
Author

Could not parse knowledge

Brajesh Choudhary
Greenhorn

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'.

Regards
Brajesh
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

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 http://www.jboss.org/drools/lists


[My Blog] [JavaRanch Journal]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Could not parse knowledge