Menu

java.lang.ClassNotFoundException:

Help
run4fun
2005-07-07
2013-04-09
  • run4fun

    run4fun - 2005-07-07

    i know this class exists and all hibernate works ok with eclipse(inserts, deletes and so on)
    but when i try to connect, i get that msg...

    what can i do?

    TiA

     
    • brianfoley

      brianfoley - 2005-08-03

      I believe I'm stuck in the same place.  The problem seems to be that it does not recognize my "package" attribute (of the hibernate-mapping tag):
      <hibernate-mapping package="com.sybase.it.quoting.beans">

          <class name="UserQuote" table="user_quote">
      ...
      ...

      If I fully qualify this class name, it fails at the next.  I have many mapping files, each referring to a number of classes... so this is a very annoying little bug (assuming it is indeed a bug).  Hopefully somebody knows a workaround that doesn't involve fully qualifying each class name...

       
    • Chris

      Chris - 2007-10-04

      I'm having this same problem.  Everything is working fine, I installed Hibernator after creating several mapping documents.  When I click "connect!" after setting up my server I get a class not found error for the first (and every) class.

      Until Hibernator will run on a system that works without modifying the code, it will sit on the shelf.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.