java.lang.RuntimeException: Cannot find a default KieSession


Solutions on the web

Solution icon of stackoverflow
Cannot find a default KieSession

Solution icon of googlegroups
via Google Groups by Jay Mann, 4 months ago
Cannot find a default KieSession

Solution icon of stackoverflow
Cannot find a default KieSession


Stack trace

java.lang.RuntimeException: Cannot find a default KieSession
	at org.drools.compiler.kie.builder.impl.KieContainerImpl.findKieSessionModel(KieContainerImpl.java:555)
	at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:548)
	at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:531)
	at Drools.DroolsMain.kieTest(DroolsMain.java:43)
	at Drools.DroolsMain.main(DroolsMain.java:52)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
3 more bugmates