Middlegen Newbie here:


I have used the IBM JDBC Driver to perform queries etc on various
databases, and this works fine. Now, I'm
trying to get Middlegen to work using the driver, however I keep getting
the following exception:

java.lang.IllegalAccessError: tried to access class
com.ibm.as400.access.SystemProperties from class
com.ibm.as400.access.AS400JDBCDriver

I'm can't determine why I'm getting this exception. Here is the following
parameters I'm using with the
middlegen task in my ant build.

<target name="middlegen" description="Run Middlegen" depends="init">
      <taskdef
                  name="middlegen"
                  classname="middlegen.MiddlegenTask"
                  classpathref="project.classpath"
            />
            <middlegen
                  appname="qaccess"
                  gui="true"
                  databaseurl=
"jdbc:as400://S10196AM;user=a00627;password=Stone4me;librairies=*LIBL;naming=sql;errors=full"
                  driver="com.ibm.as400.access.AS400JDBCDriver"
                  username="a00627"
                  password="Stone4me"
                  schema=""
                  catalog="."
            >



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to