cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janesh <>
Subject Error when main class is executed
Date Wed, 20 Jun 2007 09:05:01 GMT
I followed the tutorial to understand the tool.
It went fine till main class is executed after adding artists etc.

Following error message appears and looks like a basic configuration 
issue that I missed.

Please find the error message.

Exception in thread "main" java.lang.IllegalArgumentException: Class is 
not mapped with Cayenne: cayenne.tutorial.Gallery
    at org.apache.cayenne.access.DataContext.newObject(
    at cayenne.tutorial.Main.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.lang.reflect.Method.invoke(
    at com.intellij.rt.execution.application.AppMain.main(

Appreciate if you could help me.

Thanking you.

Best Regards

/Janesh Kodikara, /*/Team Lead-QA/*
*BeyondM (Pvt) Ltd.**
**(a hSenid Company)**
*Phone: +94-11-2446623/4
Fax: +94-11-2307579
Web: <>

/Mobilizing your enterprises /*//*
Disclaimer: This email and any files transmitted with it are 
confidential and intended solely for the use of the individual or entity 
to which they are addressed. The content and opinions contained in this 
email are not necessarily those of hSenid Software International. If you 
have received this email in error please contact the sender

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message