Menu

#2 package missing

v1.0 (example)
open
nobody
5
2010-06-01
2010-06-01
oferp
No

Hi, I am trying to run the application using the sample code:

<math>import org.manentia.kasai.*; public class Login {

public static void main(String args[]){ try { KasaiFacade.getInstance().createUser("admin", "jdoe", "John", "Doe", "jdoe@welovekasai.com", false, "This is John Doe's user", false, null);

KasaiFacade.getInstance().createObject("admin", "/proposals/79"); KasaiFacade.getInstance().createObjectUserRole("admin", "/proposals/79", "jdoe", 1, null); } catch (Exception e){ e.printStackTrace(); } } } </math>

but the compiler shouts that he is missing a class:

The type com.manentia.commons.CriticalException cannot be resolved. It is indirectly referenced from required .class files

I looked in all classes but couldn't find it. Where are the com.manentia.commons classes?

Regards Ofer

Discussion


Log in to post a comment.