Issue 187 in flyway: Error when launchin clean goal

39 views
Skip to first unread message

fly...@googlecode.com

unread,
Dec 12, 2011, 4:18:49 PM12/12/11
to flywa...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 187 by claus...@gmail.com: Error when launchin clean goal
http://code.google.com/p/flyway/issues/detail?id=187

Hi,

I get this warning when calling flyway:clean -

[FATAL ERROR]
com.googlecode.flyway.maven.IncludeProjectDependenciesComponentConfigurator#configureComponent(...)
caused a linkage error (java.lang.LinkageError) and may be out-of-date.
Check the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[com.googlecode.flyway:flyway-maven-plugin:1.5]

What's wrong ?

Claus

fly...@googlecode.com

unread,
Dec 12, 2011, 5:23:29 PM12/12/11
to flywa...@googlegroups.com

Comment #1 on issue 187 by axel.fontai...@gmail.com: Error when

Hi Claus,

thanks for your report. Could you post a few more details about your
configuration?

Helpful would be:
- OS + Version
- JDK Version
- Maven Version
- Flyway plugin configuration or ideally complete pom.xml

Thanks
Axel

fly...@googlecode.com

unread,
Dec 13, 2011, 2:08:29 AM12/13/11
to flywa...@googlegroups.com

Comment #2 on issue 187 by claus...@gmail.com: Error when launchin clean
goal
http://code.google.com/p/flyway/issues/detail?id=187

Hi Axel,

Thanks for your reply :-)

I'm using Win7 64bit, JDK 1.6.0.29, Maven 2.2.1. I've attached the pom.

Thanks in advance :-)
Claus

Attachments:
pom.xml 21.4 KB

fly...@googlecode.com

unread,
Feb 3, 2012, 7:02:22 PM2/3/12
to flywa...@googlegroups.com

Comment #3 on issue 187 by craig.wo...@gmail.com: Error when launchin clean
goal
http://code.google.com/p/flyway/issues/detail?id=187

I get the same error. Afterwards, the error output also contains:

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error configuring: com.googlecode.flyway:flyway-maven-plugin.
Reason: java.lang.LinkageError: loader constraint violation: loader
(instance of org/codehaus/classworlds/RealmClassLoader) previously
initiated loading for a different type with
name "org/codehaus/plexus/component/configurator/converters/lookup/ConverterLookup"


fly...@googlecode.com

unread,
Apr 20, 2012, 11:53:30 PM4/20/12
to flywa...@googlegroups.com

Comment #4 on issue 187 by axel.fontai...@gmail.com: Error when

Hi Claus, hi Craig,

I just had another look at this.

My config is the same as Claus (except for the JDK patch version): Win7
64bit, JDK 1.6.0.25, Maven 2.2.1.

I tried with both Flyway 1.5 and 1.6, and I just can't reproduce this.

Any pointers to help me out?

Cheers
Axel


fly...@googlecode.com

unread,
Apr 27, 2012, 2:50:07 AM4/27/12
to flywa...@googlegroups.com

Comment #5 on issue 187 by craig.wo...@gmail.com: Error when launchin clean
goal
http://code.google.com/p/flyway/issues/detail?id=187

I'm using:
* flyway-maven-plugin 1.5
* [uname -a ..]
Linux arnie-mint 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
* [java -version ..]
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
* [mvn -version]
mvn -version
Apache Maven 2.2.1 (rdebian-6)
Java version: 1.6.0_30
Java home: /home/cw/pkgs/jdk1.6.0_30/jre
Default locale: en_AU, platform encoding: UTF-8
OS name: "linux" version: "3.0.0-12-generic" arch: "amd64" Family: "unix"

I can still reproduce. If there is some other info/output you would
like/may be of import, please advise, and I'll try to supply.

fly...@googlecode.com

unread,
Apr 27, 2012, 8:54:43 AM4/27/12
to flywa...@googlegroups.com

Comment #6 on issue 187 by axel.fontai...@gmail.com: Error when
Hi Craig,

can you check if the problem is still present with
- Flyway 1.6.1 instead of Flyway 1.5
- Oracle JDK instead of Open JDK

If it is, could you also attach a debug output of Maven?

Thanks
Axel

fly...@googlecode.com

unread,
Apr 28, 2012, 10:12:12 PM4/28/12
to flywa...@googlegroups.com

Comment #7 on issue 187 by craig.wo...@gmail.com: Error when launchin clean
goal
http://code.google.com/p/flyway/issues/detail?id=187

Problem still apparent with 1.6.1 and Oracle JDK. Hope the attached file
helps.

Craig

Attachments:
187.script 11.6 KB

fly...@googlecode.com

unread,
Apr 29, 2012, 9:57:33 PM4/29/12
to flywa...@googlegroups.com

Comment #8 on issue 187 by axel.fontai...@gmail.com: Error when
Hi Craig,

could you also try with the Maven version downloaded from the Maven website
instead of the Debian one?

Thanks
Axel

fly...@googlecode.com

unread,
May 22, 2012, 8:04:51 PM5/22/12
to flywa...@googlegroups.com

Comment #9 on issue 187 by axel.fontai...@gmail.com: Error when
did you have a chance to check if the Debian-packaged Maven caused the
breakage?

Thanks
Axel

fly...@googlecode.com

unread,
Jul 4, 2012, 9:03:19 AM7/4/12
to flywa...@googlegroups.com

Comment #10 on issue 187 by axel.fontai...@gmail.com: Error when
any news?

Cheers
Axel

fly...@googlecode.com

unread,
Nov 12, 2012, 11:10:08 AM11/12/12
to flywa...@googlegroups.com
Updates:
Status: Invalid

Comment #11 on issue 187 by axel.fontai...@gmail.com: Error when
Closing due to lack of feedback.

fly...@googlecode.com

unread,
Jun 24, 2013, 11:26:45 AM6/24/13
to flywa...@googlegroups.com

Comment #12 on issue 187 by jacob.co...@gmail.com: Error when launchin
clean goal
http://code.google.com/p/flyway/issues/detail?id=187

can we open this back up? We have exactly the same issue. Starts exactly
the same
[FATAL ERROR]
com.googlecode.flyway.maven.IncludeProjectDependenciesComponentConfigurator#configureComponent(...)
caused a linkage error (java.lang.LinkageError) and may be out-of-date.
Check the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[com.googlecode.flyway:flyway-maven-plugin:2.1.1]
urls[0] =
file:/c:/java/maven-local-repo/com/googlecode/flyway/flyway-maven-plugin/2.1.1/flyway-maven-plugin-2.1.1.jar
urls[1] =
file:/c:/java/maven-local-repo/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar

and ends the same

[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/java/maven/maven-2.2.1/lib/maven-2.2.1-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error configuring: com.googlecode.flyway:flyway-maven-plugin.
Reason: java.lang.LinkageError: loader constraint violation: loader
(instance of org/codehaus/classworlds/RealmClassLoader) previously
initiated loading for a different type with
name "org/codehaus/plexus/component/configurator/converters/lookup/ConverterLookup"

The Maven plugin is configured as follows


<build>
<plugins>
<plugin>
<groupId>com.googlecode.flyway</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>2.1.1</version>
<executions>
<execution>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<url>BOGUS</url>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>


running in a Cygwin shell
Maven 1.5
JDK 1.6.0_17
Win7 pro 64 bit



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

fly...@googlecode.com

unread,
Jun 24, 2013, 11:30:37 AM6/24/13
to flywa...@googlegroups.com

Comment #13 on issue 187 by jacob.co...@gmail.com: Error when launchin
clean goal
http://code.google.com/p/flyway/issues/detail?id=187

sorry, should have mentioned flyway version 2.1.1

also, it is not just a clean issue, it is not dependent on the goal.

Thanks!

fly...@googlecode.com

unread,
Jun 24, 2013, 3:41:11 PM6/24/13
to flywa...@googlegroups.com

Comment #14 on issue 187 by Jcc....@gmail.com: Error when launchin clean
goal
http://code.google.com/p/flyway/issues/detail?id=187

sorry, maven version is 2.2.1

fly...@googlecode.com

unread,
Jun 25, 2013, 8:17:26 AM6/25/13
to flywa...@googlegroups.com
Updates:
Status: Migrated

Comment #15 on issue 187 by axel.fontai...@gmail.com: Error when
Reopened on GitHub: https://github.com/flyway/flyway/issues/89

Please leave a +1 comment and continue the discussion there
Reply all
Reply to author
Forward
0 new messages