2 Replies Latest reply on Feb 23, 2009 10:19 AM by handro1104

    Problem creating entity classes

    handro1104

      I am using Eclipse Ganimede with JBossTools-ALL-win32-3.0.0.CR2-R200901280154.zip. I create a Seam project and give it a database connection to MYSQL (the ping is successful and I can connect to the databse with DbVisualizer). When I try to create entity classes (click on the project, New->Seam Generate Entities) I get the dialog "Generate Seam Entities". I click on "Next" and in the next page I click on "Refresh". Then I get the error mesage: <Couldn't connect to the database>

      Your help would be greatly appreciated,

      Alejandro Barrero

        • 1. Re: Problem creating entity classes
          maxandersen

          do you have mysql jar on the classpath ?

          what is the full error message/stack trace ?

          • 2. Re: Problem creating entity classes
            handro1104

            Thanks max.andersen. I give the jar file when creating the connection to the database (there ping is successful). After your message, I added the jar to the build path, but I still have the same problem. I get the error message: <Couldn't connect to the database> in the list "Database schema" where it is supposed to show the tables in the database. I don't get any errors or exceptions on the console.