To get more information on teh error, I took out the "fork" attribute o fthe
"java" task in the "maven.xml" build file in teh "core" sub-directory of my
project, what this did (I think) is to run the SchemaExport generation process
in the same JVM as Maven, and since I have assigned lots of memory to this JVM
that would'nt be a problem.
I was able to get little bit more info on the Java Exception which I list here:
------------------------------------
[java] JVM args ignored when same JVM is used.
Aug 9, 2005 11:03:20 AM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.0.5
Aug 9, 2005 11:03:20 AM org.hibernate.cfg.Environment <clinit>
INFO: loaded properties from resource hibernate.properties: {hibernate.cglib.use
_reflection_optimizer=true, hibernate.dialect=org.hibernate.dialect.MySQLDialect
, hibernate.connection.datasource=java:/DefaultDS}
Aug 9, 2005 11:03:20 AM org.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
Aug 9, 2005 11:03:20 AM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
[java] [ERROR] java.lang.ExceptionInInitializerError
-----------------------------
Searching in Google I found teh following on the above error:
------------------------------
public class ExceptionInInitializerError
extends LinkageError
An ExceptionInInitializerError is thrown when an uncaught exception has
occurred in a static initializer or the initializer for a static variable. In
general, this wraps only RuntimeExceptions, since the compiler does not allow a
checked exception to be uncaught in an initializer. This exception only occurs
during reflection, when a class is initialized as part of another action.
--------------------------------
Any ideas.
Safaa
--
Safaa Hashim
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3694#3694
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user