Skip to content

Could not find or load main class org.apache.ibatis.migration.Migrator #58

Open
@svscorp

Description

@svscorp

Hi @harawata @kazuki43zoo @hazendaz,

I am trying to use the tool (MyBatis Migrations) 3.2.1 to automate DB changes for my Oracle instance. Almost done that (99% of the DB initiation) and Friday ran into the issue that is (what I think) is described here: #46

CREATE OR REPLACE EDITIONABLE TRIGGER "TST_TRGR"
BEFORE INSERT ON sometable 
FOR EACH ROW

BEGIN
  SELECT runid.NEXTVAL
  INTO    :new.runid
  FROM   dual;
END;

ALTER TRIGGER "TST_TRGR" ENABLE; 

Then I went to #46 and there it was mentioned to use -- @DELIMITER. It is available in 3.3.0 but I haven't found any downloadable 3.3.0-SNAPSHOT archive that I can use to proceed further.

If I use something that is in master right now (builded it with maven) - I am getting the below error just trying to run migrate info:

Could not find or load main class org.apache.ibatis.migration.Migrator

Can you support/check on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions