You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/09/24 15:11:32 UTC

[jira] Commented: (MNG-4832) Maven 3 Regression: Missing constructor of org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter

    [ http://jira.codehaus.org/browse/MNG-4832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236348#action_236348 ] 

Benjamin Bentmann commented on MNG-4832:
----------------------------------------

Another side note about your converter or any other custom converter you write: You very likely don't need the following line for your mojo:
{code:java}
converterLookup.registerConverter(new ClassRealmConverter(containerRealm));
{code}
In the basic converter, it exists only for backward-compat and I'm not aware of any valid use case that requires it.

> Maven 3 Regression: Missing constructor of org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4832
>                 URL: http://jira.codehaus.org/browse/MNG-4832
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Brian Jackson
>            Priority: Blocker
>
> I reported MNG-4811 and it was fixed for 3.0-RC2 but introduced a new error.  The source for com.espn.maven.plugins.espnservice.IncludeProjectDependenciesComponentConfigurator is attached to MNG-4811.  The exception I'm seeing is below:
> Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V
> 	at com.espn.maven.plugins.espnservice.IncludeProjectDependenciesComponentConfigurator.configureComponent(IncludeProjectDependenciesComponentConfigurator.java:43)
> 	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.plexus.component.configurator.AbstractComponentConfigurator.configureComponent(AbstractComponentConfigurator.java:90)
> 	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:505)
> 	... 22 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira