download error

7 views
Skip to first unread message

Pablo Echenique

unread,
Oct 19, 2010, 10:05:32 AM10/19/10
to Quixote-dev mail list
After following Jorge's updated commands,
and issuing

mvn -e -f /Users/pablo/temp/quixote/lensfieldjumbo/pom.xml exec:java -Dexec.mainClass=org.xmlcml.cml.rest.Client -Dexec.args="-download -url http://neptuno.unizar.es/files/public/datasets/HCO-L-Ala-NH2_g03_BIFIcluster_2007/calcs/homolevel/MP2/6-31G/ -dir ."

I still get an error in my Mac:

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'exec'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - wwmm:lensfield-jumbo:jar:0.0.1
[INFO]    task-segment: [exec:java]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing exec:java
[INFO] No goals needed for project - skipping
[INFO] [exec:java {execution: default-cli}]
args: 5
0    [org.xmlcml.cml.rest.Client.main()] INFO  org.xmlcml.cml.rest.Client  - downloading url http://neptuno.unizar.es/files/public/datasets/HCO-L-Ala-NH2_g03_BIFIcluster_2007/calcs/homolevel/MP2/6-31G/ to directory .
Oct 19, 2010 2:34:15 PM org.restlet.engine.http.connector.HttpClientHelper start
INFO: Starting the default HTTP client
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class. null

Not Found
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An exception occured while executing the Java class. null
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
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)
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. null
at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:346)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: java.lang.reflect.InvocationTargetException
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.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:291)
at java.lang.Thread.run(Thread.java:637)
at org.xmlcml.cml.rest.Client.getChildren(Client.java:195)
at org.xmlcml.cml.rest.Client.getDirectoryTree(Client.java:172)
at org.xmlcml.cml.rest.Client.getUrlDirectoryTree(Client.java:101)
at org.xmlcml.cml.rest.Client.getNonDirectories(Client.java:114)
at org.xmlcml.cml.rest.Client.downloadDirectory(Client.java:140)
at org.xmlcml.cml.rest.Client.download(Client.java:437)
at org.xmlcml.cml.rest.Client.run(Client.java:427)
at org.xmlcml.cml.rest.Client.main(Client.java:393)
... 6 more
Caused by: Not Found (404) - Not Found
at org.restlet.resource.ClientResource.handle(ClientResource.java:819)
at org.restlet.resource.ClientResource.handle(ClientResource.java:841)
at org.restlet.resource.ClientResource.handle(ClientResource.java:763)
at org.restlet.resource.ClientResource.get(ClientResource.java:506)
at org.xmlcml.cml.rest.Client.getChildren(Client.java:190)
... 13 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Oct 19 14:34:16 CEST 2010
[INFO] Final Memory: 16M/81M
[INFO] ------------------------------------------------------------------------
Oct 19, 2010 2:34:16 PM org.restlet.engine.http.connector.HttpClientHelper stop
INFO: Stopping the default HTTP client

Reply all
Reply to author
Forward
0 new messages