阅读更多
[INFO] Trace
java.lang.LinkageError: loader constraint violation: when resolving method "org.codehaus.plexus.interpolation.StringSearchInterpolator.addValueSource(Lorg/codehaus/plexus/interpolation/ValueSource;)V" the class loader (instance of org/codehaus/classworlds/RealmClassLoader) of the current class, org/apache/maven/shared/filtering/DefaultMavenFileFilter$1, and the class loader (instance of org/codehaus/classworlds/RealmClassLoader) for resolved class, org/codehaus/plexus/interpolation/StringSearchInterpolator, have different Class objects for the type org/codehaus/plexus/interpolation/ValueSource used in the signature
at org.apache.maven.shared.filtering.DefaultMavenFileFilter$1.getReader(DefaultMavenFileFilter.java:175)
at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:2036)
at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:1987)
at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile(DefaultMavenFileFilter.java:83)
at org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources(DefaultMavenResourcesFiltering.java:293)
at org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:162)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------