I've got a Seam WAR project and am trying to use the generate entity
command. However, it says it can't connect to the database in JBoss Dev Studio, giving this error:
Can't generate seam entities org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath Could not compute classpath org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath Could not compute classpath org.eclipse.core.runtime.CoreException: Launch configuration forms_new_employee references non-existing project forms_new_employee. Launch configuration forms_new_employee references non-existing project forms_new_employee.
That project called formsnewemployee
no longer exists. Under the new project's Properties - Hibernate Settings, it has formsnewemployee
listed under the Default Hibernate Console configuration.
How do I create a new item under this or delete the old one? How do I get past this error? Thanks.
Figured it out: There was a formsnewemployee.launch file along with a hibernate-console.properties. I edited the two files to point to the new project.