David Sean Taylor escribió:
Enrique Perez wrote:
Hi David,
David Sean Taylor escribió:
Enrique Perez wrote:
Hi all,
I've built J2 from source from the branch 2.0.1. (I’m thinking in
moving to 2.1-dev, though I prefer to get this problem solved…
since I have the impression it’s going to pop up also when building
2.1).
I've followed the steps from the
"QuickStartForTheImpatient/BuildUsingMaven" in the wiki. Everything
seemed to work fine until I reached the final step (running the
portal) where appears the error saved in **jetspeed_log.txt**.
Caused by: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
The error is because your jdbc driver is not your app server's
classpath. Recommend putting the jdbc driver some place where the
app server can access it. For example with Tomcat you can put it
under common/endorsed
If the files from "etc/db-ojb" are copied to "web-inf/classes" is not
necessary to have a copy of the jdbc driver jar in "common/endorsed".
The build *should* automatically copy out the ojb files for you.
I seem to remember others having this problem, perhaps due to a
missing or bad property in build.properties
are you building with maven-1 or maven-2?
I dont think the jdbc driver and ojb files being missing are related
I am building J2 branch 2.0.1 with Maven 1.0.2... (and I'm using Java 1.5.0)
I don't know what caused the problem, just find the solution in the
mailing list... =( The build.properties file I used is attached in a
previous mail... but i can't figure out why it's not working properly.
Thanks for your time anyway.
Regards,
Enrique
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]