Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB deployment Problem : Compiler -- JDO74046: JDOCodeGenerator.  RSS feed

raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , thank you for reading my post.I really stocked with this error
I have a very odd problem here.
I create a database table in Mysql
Then i used Netbeans 4.1 to generate a CMP from the table (before this i register the driver and database innetbeans Databses node in runtime window), i did not change any setting
My table has 3 field which one of them is : autoIncrement Integer + Primary ky

then i try to run the enterprise application .
I pressed lovely f11
and it Stoped with error .

here is the error messege :
Deploying application in domain failed; Fatal Error from EJB Compiler -- JDO74046: JDOCodeGenerator: Caught a MappingConversionException loading or creating mapping model for application 'ejblearn' module 'ejblearn-EJBModule': JDO71030: There is no column in table learn which can be used to support the servers implementation of unknown key classes.
; requested operation cannot be completed

The window has the same messege (I should notice that deployment progress monitor shows the same message in red Color)
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!