Re: [any] NoClassDefFoundError trying to build with Maven 1.0
Did you remember to erase the .maven folder in your home directory? A common cause for trouble is having files there from an older version of Maven. I did this on my machine: - Delete %USER_HOME%\.maven - Install Maven 1.0 final - cvs update on + jakarta-commons/commons-build + jakarta-commons/logging - Run maven clean dist in logging It works fine. -- Dennis Lundberg Martin Cooper wrote: So I installed Maven 1.0 on a clean machine, and now any Commons component I try to build fails with a NoClassDefFoundError, complaining about a missing MethodInvocationException from Velocity. I checked the maven-user archives, and all I can find is a message from jvz saying to add the Velocity jar as a dependency in project.xml. This doesn't sound right, because I can't believe that all of the components I've tried to build so far are missing the exact same change in their project.xml file, and I haven't seen anyone else griping about this problem here, so other people must have it working. Obviously I'm missing something else. Can someone clue me in? TIA. -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
On Sun, 25 Jul 2004 12:11:58 +0200, Dennis Lundberg [EMAIL PROTECTED] wrote: Did you remember to erase the .maven folder in your home directory? A Well, what I meant by a clean machine is one that has ever seen Maven before. However, I've tried blowing every trace of Maven off the machine and starting again, and still no deal. ;-( common cause for trouble is having files there from an older version of Maven. I did this on my machine: - Delete %USER_HOME%\.maven - Install Maven 1.0 final - cvs update on + jakarta-commons/commons-build + jakarta-commons/logging - Run maven clean dist in logging It works fine. Hmmph. I just tried exactly that, and no deal for me. BTW, I'm running on Win2K, Sun JDK 1.4.2_04. Looks like you're running on some flavour of Windows too, so it's probably not a Windows thing. I've tried using the installer and the vanilla zip file, and it makes no difference. ;-( -- Martin Cooper -- Dennis Lundberg Martin Cooper wrote: So I installed Maven 1.0 on a clean machine, and now any Commons component I try to build fails with a NoClassDefFoundError, complaining about a missing MethodInvocationException from Velocity. I checked the maven-user archives, and all I can find is a message from jvz saying to add the Velocity jar as a dependency in project.xml. This doesn't sound right, because I can't believe that all of the components I've tried to build so far are missing the exact same change in their project.xml file, and I haven't seen anyone else griping about this problem here, so other people must have it working. Obviously I'm missing something else. Can someone clue me in? TIA. -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [any] NoClassDefFoundError trying to build with Maven 1.0
Hi martin, Can you add the -X option to launch maven and send us (on this list or on the maven users list or on Jira) the log please. Arnaud -Message d'origine- De : Martin Cooper [mailto:[EMAIL PROTECTED] Envoyé : dimanche 25 juillet 2004 17:45 À : Jakarta Commons Developers List Objet : Re: [any] NoClassDefFoundError trying to build with Maven 1.0 On Sun, 25 Jul 2004 12:11:58 +0200, Dennis Lundberg [EMAIL PROTECTED] wrote: Did you remember to erase the .maven folder in your home directory? A Well, what I meant by a clean machine is one that has ever seen Maven before. However, I've tried blowing every trace of Maven off the machine and starting again, and still no deal. ;-( common cause for trouble is having files there from an older version of Maven. I did this on my machine: - Delete %USER_HOME%\.maven - Install Maven 1.0 final - cvs update on + jakarta-commons/commons-build + jakarta-commons/logging - Run maven clean dist in logging It works fine. Hmmph. I just tried exactly that, and no deal for me. BTW, I'm running on Win2K, Sun JDK 1.4.2_04. Looks like you're running on some flavour of Windows too, so it's probably not a Windows thing. I've tried using the installer and the vanilla zip file, and it makes no difference. ;-( -- Martin Cooper -- Dennis Lundberg Martin Cooper wrote: So I installed Maven 1.0 on a clean machine, and now any Commons component I try to build fails with a NoClassDefFoundError, complaining about a missing MethodInvocationException from Velocity. I checked the maven-user archives, and all I can find is a message from jvz saying to add the Velocity jar as a dependency in project.xml. This doesn't sound right, because I can't believe that all of the components I've tried to build so far are missing the exact same change in their project.xml file, and I haven't seen anyone else griping about this problem here, so other people must have it working. Obviously I'm missing something else. Can someone clue me in? TIA. -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
On Sun, 25 Jul 2004 18:29:07 +0200, Arnaud HERITIER [EMAIL PROTECTED] wrote: Hi martin, Can you add the -X option to launch maven and send us (on this list or on the maven users list or on Jira) the log please. Rather than post the log itself, which is quite large, I've put it here: http://www.apache.org/~martinc/mavenlog.txt Before doing this, I wiped out my .maven directory and reinstalled Maven, just to give you the complete picture. Note that while the log says it is using a userBuildPropertiesFile, there is no such file in the location it indicates in the log. (There was one, which has all my Ant stuff in it, but I moved it away to see if it made any difference. It didn't.) Thanks! -- Martin Cooper Arnaud -Message d'origine- De : Martin Cooper [mailto:[EMAIL PROTECTED] Envoyé : dimanche 25 juillet 2004 17:45 À : Jakarta Commons Developers List Objet : Re: [any] NoClassDefFoundError trying to build with Maven 1.0 On Sun, 25 Jul 2004 12:11:58 +0200, Dennis Lundberg [EMAIL PROTECTED] wrote: Did you remember to erase the .maven folder in your home directory? A Well, what I meant by a clean machine is one that has ever seen Maven before. However, I've tried blowing every trace of Maven off the machine and starting again, and still no deal. ;-( common cause for trouble is having files there from an older version of Maven. I did this on my machine: - Delete %USER_HOME%\.maven - Install Maven 1.0 final - cvs update on + jakarta-commons/commons-build + jakarta-commons/logging - Run maven clean dist in logging It works fine. Hmmph. I just tried exactly that, and no deal for me. BTW, I'm running on Win2K, Sun JDK 1.4.2_04. Looks like you're running on some flavour of Windows too, so it's probably not a Windows thing. I've tried using the installer and the vanilla zip file, and it makes no difference. ;-( -- Martin Cooper -- Dennis Lundberg Martin Cooper wrote: So I installed Maven 1.0 on a clean machine, and now any Commons component I try to build fails with a NoClassDefFoundError, complaining about a missing MethodInvocationException from Velocity. I checked the maven-user archives, and all I can find is a message from jvz saying to add the Velocity jar as a dependency in project.xml. This doesn't sound right, because I can't believe that all of the components I've tried to build so far are missing the exact same change in their project.xml file, and I haven't seen anyone else griping about this problem here, so other people must have it working. Obviously I'm missing something else. Can someone clue me in? TIA. -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
This strange error was in the log you provided. I'm not sure if it's occurring due to ibiblio being overloaded, or what. But perhaps it's the cause of your problems? Getting URL: http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar Received status code: 200 last-modified = Fri, 30 Jan 2004 00:50:23 GMT (1075423823000) Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/veloc ity-1.4-dev.jar]: java.net.SocketException: No buffer space available (maximum c onnections reached?): recv failed Error details java.net.SocketException: No buffer space available (maximum connections reached ?): recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.FilterInputStream.read(FilterInputStream.java:111) at java.io.PushbackInputStream.read(PushbackInputStream.java:161) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLe ngthInputStream.java:167) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:142) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:161) at org.apache.maven.util.HttpUtils.process(HttpUtils.java:572) at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:538) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) at org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend encyVerifier.java:326) at org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen cyVerifier.java:255) at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe ndencyVerifier.java:171) at org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie r.java:97) at org.apache.maven.project.Project.verifyDependencies(Project.java:1365 ) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:9 60) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:99 3) at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext( PluginManager.java:706) at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.ja va:685) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 624) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Artifact /velocity/jars/velocity-1.4-dev.jar doesn't exists in remote repository , but it exists locally - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
The error message doesn't make sense, though. You'll notice that it connected and got a status code of 200 (success) before it barfed. I have no problem connecting to ibiblio manually either. I don't know if the no buffer space available refers to my machine or ibiblio. If mine, any idea what I could do about that? Anyway, since it exists locally (it was part of the Maven download, after all!), this shouldn't be an issue, right? Maven does keep going after that. This is all very mystifying. -- Martin Cooper On Sun, 25 Jul 2004 10:13:41 -0700, matthew.hawthorne [EMAIL PROTECTED] wrote: This strange error was in the log you provided. I'm not sure if it's occurring due to ibiblio being overloaded, or what. But perhaps it's the cause of your problems? Getting URL: http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar Received status code: 200 last-modified = Fri, 30 Jan 2004 00:50:23 GMT (1075423823000) Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/veloc ity-1.4-dev.jar]: java.net.SocketException: No buffer space available (maximum c onnections reached?): recv failed Error details java.net.SocketException: No buffer space available (maximum connections reached ?): recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.FilterInputStream.read(FilterInputStream.java:111) at java.io.PushbackInputStream.read(PushbackInputStream.java:161) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLe ngthInputStream.java:167) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:142) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:161) at org.apache.maven.util.HttpUtils.process(HttpUtils.java:572) at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:538) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) at org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend encyVerifier.java:326) at org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen cyVerifier.java:255) at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe ndencyVerifier.java:171) at org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie r.java:97) at org.apache.maven.project.Project.verifyDependencies(Project.java:1365 ) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:9 60) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:99 3) at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext( PluginManager.java:706) at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.ja va:685) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 624) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Artifact /velocity/jars/velocity-1.4-dev.jar doesn't exists in remote repository , but it exists locally - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [any] NoClassDefFoundError trying to build with Maven 1.0
This is strange, This error occurs several times: Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.6.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/logkit/jars/logkit-1.0.1.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/junit/jars/junit-3.7.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.1.3.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Don't you have a problem with the internet connection on this computer ? Can you access to ibiblio? Don't you have a filesystem full ?? Arnaud -Message d'origine- De : matthew.hawthorne [mailto:[EMAIL PROTECTED] Envoyé : dimanche 25 juillet 2004 19:14 À : Jakarta Commons Developers List Objet : Re: [any] NoClassDefFoundError trying to build with Maven 1.0 This strange error was in the log you provided. I'm not sure if it's occurring due to ibiblio being overloaded, or what. But perhaps it's the cause of your problems? Getting URL: http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar Received status code: 200 last-modified = Fri, 30 Jan 2004 00:50:23 GMT (1075423823000) Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/veloc ity-1.4-dev.jar]: java.net.SocketException: No buffer space available (maximum c onnections reached?): recv failed Error details java.net.SocketException: No buffer space available (maximum connections reached ?): recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.FilterInputStream.read(FilterInputStream.java:111) at java.io.PushbackInputStream.read(PushbackInputStream.java:161) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLe ngthInputStream.java:167) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:142) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:161) at org.apache.maven.util.HttpUtils.process(HttpUtils.java:572) at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:538) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) at org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend encyVerifier.java:326) at org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen cyVerifier.java:255) at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe ndencyVerifier.java:171) at org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie r.java:97) at org.apache.maven.project.Project.verifyDependencies(Project.java:1365 ) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:9 60) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:99 3) at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext( PluginManager.java:706) at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.ja va:685) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 624) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Artifact /velocity/jars/velocity-1.4-dev.jar doesn't exists in remote repository , but it exists
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
On Sun, 25 Jul 2004 19:27:13 +0200, Arnaud HERITIER [EMAIL PROTECTED] wrote: This is strange, This error occurs several times: Error retrieving artifact from [http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.6.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/logkit/jars/logkit-1.0.1.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/junit/jars/junit-3.7.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.1.3.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar]: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Don't you have a problem with the internet connection on this computer ? Can you access to ibiblio? No, I have no problem connecting to the internet or to ibiblio. It's only Maven that seems to have an issue. Don't you have a filesystem full ?? No, I have 23GB free disk space, which should be enough. ;-) -- Martin Cooper Arnaud -Message d'origine- De : matthew.hawthorne [mailto:[EMAIL PROTECTED] Envoyé : dimanche 25 juillet 2004 19:14 À : Jakarta Commons Developers List Objet : Re: [any] NoClassDefFoundError trying to build with Maven 1.0 This strange error was in the log you provided. I'm not sure if it's occurring due to ibiblio being overloaded, or what. But perhaps it's the cause of your problems? Getting URL: http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar Received status code: 200 last-modified = Fri, 30 Jan 2004 00:50:23 GMT (1075423823000) Error retrieving artifact from [http://www.ibiblio.org/maven/velocity/jars/veloc ity-1.4-dev.jar]: java.net.SocketException: No buffer space available (maximum c onnections reached?): recv failed Error details java.net.SocketException: No buffer space available (maximum connections reached ?): recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.FilterInputStream.read(FilterInputStream.java:111) at java.io.PushbackInputStream.read(PushbackInputStream.java:161) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLe ngthInputStream.java:167) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:142) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInpu tStream.java:161) at org.apache.maven.util.HttpUtils.process(HttpUtils.java:572) at org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:538) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) at org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend encyVerifier.java:326) at org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen cyVerifier.java:255) at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe ndencyVerifier.java:171) at org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie r.java:97) at org.apache.maven.project.Project.verifyDependencies(Project.java:1365 ) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:9 60) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:99 3) at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext( PluginManager.java:706) at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.ja va:685) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 624) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
Martin Cooper wrote: Anyway, since it exists locally (it was part of the Maven download, after all!), this shouldn't be an issue, right? Maven does keep going after that. I'm not sure that Maven reporting that the file exists locally is correct. I may have created the file locally, started downloading it, then failed to finish the download. Can you examine: C:\Documents and Settings\mcooper\.maven\repository\ velocity\jars\velocity-1.4-dev.jar and confirm that it looks ok? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
On Sun, 25 Jul 2004 11:37:37 -0700, matthew.hawthorne [EMAIL PROTECTED] wrote: Martin Cooper wrote: Anyway, since it exists locally (it was part of the Maven download, after all!), this shouldn't be an issue, right? Maven does keep going after that. I'm not sure that Maven reporting that the file exists locally is correct. I may have created the file locally, started downloading it, then failed to finish the download. Can you examine: C:\Documents and Settings\mcooper\.maven\repository\ velocity\jars\velocity-1.4-dev.jar and confirm that it looks ok? Aha! You're right, it wasn't OK, it was truncated. It appears that all of the ones that caused exceptions are in the same state. Obviously, I can download all of these manually, but that kinda defeats the purpose of Maven, so it would be nice to know why this is happening, and fix my machine so that it doesn't... BTW, I have no problem connecting and downloading these manually, so there must be some odd thing in my setup that's causing Maven to fail. Any ideas much appreciated! -- Martin Cooper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [any] NoClassDefFoundError trying to build with Maven 1.0
Martin Cooper wrote: On Sun, 25 Jul 2004 11:37:37 -0700, matthew.hawthorne [EMAIL PROTECTED] wrote: Martin Cooper wrote: Anyway, since it exists locally (it was part of the Maven download, after all!), this shouldn't be an issue, right? Maven does keep going after that. I'm not sure that Maven reporting that the file exists locally is correct. I may have created the file locally, started downloading it, then failed to finish the download. Can you examine: C:\Documents and Settings\mcooper\.maven\repository\ velocity\jars\velocity-1.4-dev.jar and confirm that it looks ok? Aha! You're right, it wasn't OK, it was truncated. It appears that all of the ones that caused exceptions are in the same state. Obviously, I can download all of these manually, but that kinda defeats the purpose of Maven, so it would be nice to know why this is happening, and fix my machine so that it doesn't... BTW, I have no problem connecting and downloading these manually, so there must be some odd thing in my setup that's causing Maven to fail. Any ideas much appreciated! I suspect that it has nothing to do with your setup. Perhaps ibiblio was temporarily overloaded, or something. Try this -- delete the directory C:\Documents and Settings\mcooper\.maven\repository\velocity And attempt to run it again. Maybe Maven doesn't use the md5 files to ensure that jars that are found locally are valid. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]