Update: was able to get rid of the lack of SolrUpdateServlet by moving back to version 3.5 from 4.0-SNAPSHOT (weird-- dunno why this is missing in 4.0), but the build dir thing is still a problem. I'm really not even sure what I should set that to.

Eli

On 4/10/12 11:30 AM, Eli Finkelshteyn wrote:
Hi Folks,
I've been tasked with moving a Solr project I know little about from Ant to Maven. I've found all the dependencies I need and I'm not seeing any errors in my IDE. Everything compiles and installs just fine. Problem is, when I try to start things up in Jetty, I get errors. The first main one I get is:

SEVERE: null:org.apache.solr.common.SolrException: No system property or default value specified for solr.build.dir value:${solr.build.dir}/

I have:

<properties>
<build-directory>../build/solr-maven</build-directory>
</properties>

in my pom.xml, so I'm not sure why this comes up. Anyway, it's quickly followed by:

java.lang.ClassNotFoundException: org.apache.solr.servlet.SolrUpdateServlet

I'm not sure if the two are related, but when googling I can't seem to find anyone with the same problem. For reference, I started the bulk of my move from ant to maven using the instructions here <http://uomesh.blogspot.com/2011/11/building-solr-as-maven-project.html>, and then extrapolated from that to add in custom code and dependencies for my project. Any ideas what I could be doing wrong?

Thanks for any help,
Eli

Reply via email to