Missing depency?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing depency?

Mike Klaas
Fresh checkout of solr trunk:

$ ant build
$ cd example
$ java -jar start.jar
...
20:09:16.841 INFO   [main]
org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:248)
>13> Extract jar:file:/home/klaas/dev/cleansolr/example/webapps/solr.war!/
to /tmp/Jetty__8983__solr/webapp
20:09:16.851 WARN!! [main]
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:519)
>12> Configuration error on
jar:file:/home/klaas/dev/cleansolr/example/webapps/solr.war!/
java.io.FileNotFoundException:
/tmp/Jetty__8983__solr/webapp/WEB-INF/lib/commons-fileupload-20070107.jar
(No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.mortbay.util.JarResource.extract(JarResource.java:132)
        at org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249)
        at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:447)
        at org.mortbay.util.Container.start(Container.java:72)
        at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
        at org.mortbay.util.Container.start(Container.java:72)
        at org.mortbay.jetty.Server.main(Server.java:460)
        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:585)
        at org.mortbay.start.Main.invokeMain(Main.java:151)
        at org.mortbay.start.Main.start(Main.java:476)
        at org.mortbay.start.Main.main(Main.java:94)

am I doing something stupid, or are we missing a dependency?

-Mike
Reply | Threaded
Open this post in threaded view
|

Re: Missing depency?

Ryan McKinley
the jar file is there:
http://svn.apache.org/repos/asf/lucene/solr/trunk/lib/

for me "ant build" gives:

ryan@ozzie /cygdrive/c/workspace/solr
$ ant build
Buildfile: build.xml

BUILD FAILED
Target `build' does not exist in this project.

Total time: 0 seconds

I think you want: 'ant example'
Reply | Threaded
Open this post in threaded view
|

Re: Missing depency?

Mike Klaas
On 2/19/07, Ryan McKinley <[hidden email]> wrote:
> the jar file is there:
> http://svn.apache.org/repos/asf/lucene/solr/trunk/lib/

I tried a different machine in the cluster and it succeeded, so it is
per-machine thing.  I'll figure it out.

> I think you want: 'ant example'

Yes, that is what I used; transcription error.

-Mike