This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not parse knowledge

 
Brajesh Choudhary
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic