You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by John Hogan <jh...@ireland.com> on 2006/06/28 12:21:08 UTC

build err: NoSuchMethodError in ProfileManager.loadSettin

All,  

I'm new to geronimo and am trying to build the sources in windows.  I've  downloaded the latest trunk code, installed maven and have the  correct jsdk.  When running the build with "mvn", I get the error  shown below.  Anyone now what's causing this?  TIA

JohnH


C:\_projects\SH\src>mvn [INFO]  ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO]  ------------------------------------------------------------------------ [INFO]  org.apache.maven.profiles.ProfileManager.loadSettingsProfiles(Lorg/apache /maven/settings/Settings;)V [INFO]  ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError:  org.apache.maven.profiles.ProfileManager.loadSettin gsProfiles(Lorg/apache/maven/settings/Settings;)V          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)          at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)          at java.lang.reflect.Method.invoke(Unknown Source)          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]  ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon Jan 17 19:28:46 EST 2000 [INFO] Final Memory: 1M/2M [INFO]  ------------------------------------------------------------------------	
Top of Form 1
    	Previous | Next </scripts/mail/read.mail?pbox=0&folder=SENT&order=Newest&mstart=1&mview=a&mhead=&msg_uid=1151489475>	
Bottom of Form 1


Re: build err: NoSuchMethodError in ProfileManager.loadSettin

Posted by Matt Hogstrom <ma...@hogstrom.org>.
John,

Thanks for getting involved.  Currently trunk is in the process of transitioning from maven 1 to 
maven 2.  As a consequence maven 2 may not yield the best result.

I believe at this point you can build with Maven 1 if you desire.

If you are looking to give Geronimo a test drive you can checkout the latest released version 
(earlier this week) at http://svn.apache.org/repos/asf/geronimo/tags/1.1.0 and build this with Maven 
1 with no issues.

Does this help ?


John Hogan wrote:
> All,  
> 
> I'm new to geronimo and am trying to build the sources in windows.  I've  downloaded the latest trunk code, installed maven and have the  correct jsdk.  When running the build with "mvn", I get the error  shown below.  Anyone now what's causing this?  TIA
> 
> JohnH
> 
> 
> C:\_projects\SH\src>mvn [INFO]  ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO]  ------------------------------------------------------------------------ [INFO]  org.apache.maven.profiles.ProfileManager.loadSettingsProfiles(Lorg/apache /maven/settings/Settings;)V [INFO]  ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError:  org.apache.maven.profiles.ProfileManager.loadSettin gsProfiles(Lorg/apache/maven/settings/Settings;)V          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)          at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)          at 
java.lang.reflect.Method.invoke(Unknown Source)          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]  ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon Jan 17 19:28:46 EST 2000 [INFO] Final Memory: 1M/2M [INFO]  ------------------------------------------------------------------------	
> Top of Form 1
>     	Previous | Next </scripts/mail/read.mail?pbox=0&folder=SENT&order=Newest&mstart=1&mview=a&mhead=&msg_uid=1151489475>	
> Bottom of Form 1
> 
> 
> 
> 

Re: build err: NoSuchMethodError in ProfileManager.loadSettin

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 6/28/06, John Hogan <jh...@ireland.com> wrote:
> All,
>
> I'm new to geronimo and am trying to build the sources in windows.  I've  downloaded the latest trunk code, installed maven and have the  correct jsdk.  When running the build with "mvn", I get the error  shown below.  Anyone now what's causing this?  TIA

Hey John,

The M2 migration has not been finished yet, so please use M1 (Apache Maven 1).

Please use user mailing list before you remove 'I'm new to Geronimo'
in your posts ;-)

> JohnH

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl