the createEntityManagerFactory is returning null,
> which probably indicates that the Persistence processing couldn't find the
> persistence.xml file. Is your persistence.xml file in your META-INF
> directory and properly packaged with your JSP and other Entities?
>
> Kevin
Hey i have just been trying to get openjpa and jsp to work and i seem to
get some errors iam using eclipse for this and running it on tomcat 6.0
Greeeting.java
package foo;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persiste
hey i have written a small program using opnenjpa to connect to mysql
server...
I am using Eclipse ide to do this. i keep getting this error
HelloWorld.java
package foo;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistenc
Hey yea it just doesent seem to want to work... i tried creating a simple
.jsp file as well which connects to the database using the driver but still
no luck
when i do echo $CLASSPATH... this is what i get:
/usr/local/apache-tomcat-6.0.16/common/lib/jsp-api.jar:/usr/local/apache-tomcat-6.0
it and even for
that i have added the mysql.jar in the library for the project.
But it still doesent worksame error
Ignacio Andreu wrote:
>
> Hi Anish,
>
> As far as I can read in the stack trace Caused by:
>
> *java.lang.ClassNotFoundException: com.mysql.jdbc.Dri
Hey i have made a little test program using openjpa... this seemed to work
when i did it in windows but somehow doesent work in linux... i am basically
trying to test openjpa with mysql...
the code is as follows:
Main.java
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or mo