-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Could not find or load main class net.twentyonesolutions.m2pg.PgMigrator #7
Comments
Did you download the lib files from the release page? |
I am having the same error. and I'm using Postgres 10.6, what release version shound install in order to work? |
The project is not dependent on the Postgres version. The error "Could not find or load main class net.twentyonesolutions.m2pg.PgMigrator" means that the classpath (or Please post the |
Hey there:
Thanks for your response, I was able to bypass that. the error.
Now the error i'm receiving is the following:
Exception in thread "main" java.sql.SQLException: No suitable driver found
for jdbc:sqlserver:172.16.4.17
My database in on a server.
Thanks for any help on this matter.
…On Wed, Feb 20, 2019 at 2:56 PM Igal Sapir ***@***.***> wrote:
The project is not dependent on the Postgres version.
The error "Could not find or load main class
net.twentyonesolutions.m2pg.PgMigrator" means that the classpath (or -cp)
argument is not set properly.
Please post the java command that you are using, and where you execute it
(working directory) with respect to the lib directory that ships with the
project.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AtnB04ThYhhUrcI1f8LYesqrdLmVQVKpks5vPah2gaJpZM4YRhSv>
.
--
Merylois Limardo, A.S IT
IT Specialist
|
That's because it can not find the JAR file with the driver for MSSQL. It should also be on the classpath, and the file that ships with the distribution is |
Hi Isapir I got same error and my java command is like following. I can not see lib directory that you mentioned. |
Hi isapir, |
How |
Hi i am facing the same error how to solve this error. Thanks in advance. Regards, |
Hi, I am experiencing this issue and i am using the same command as mentioned in batch file |
I ran the application but apparently when it creates the tables it does not know how to add a foreign key. it's that correct? or the app should know how to handle the foreign keys? Thnak you! |
This project doesn't appear to work with postgres 10.
After rewriting the bash script to work on my mac, the generated DDL will not execute.
The text was updated successfully, but these errors were encountered: