Re: Trouble Setting Up Development Environment
Sorry i'm really late to this so not sure if this is even an issue: 1) I found that there is an ant eclipse that makes it easy to setup the eclipse .project and .classpath (I think I had done this by hand in the tutorial) 2) Yes you can attach to a remote instance of Solr but your JVM has to have the remote debug options and port setup. Eclipse can connect fairly easily to this in the debug configuration menu. Thanks Amit On Mon, Mar 26, 2012 at 4:13 AM, Erick Erickson erickerick...@gmail.com wrote: Depending upon what you actually need to do, you could consider just attaching to the running Solr instance remotely. I know it's easy in IntelliJ, and believe Eclipse makes this easy as well but I haven't used Eclipse in a while Best Erick On Sat, Mar 24, 2012 at 11:11 PM, Li Li fancye...@gmail.com wrote: I forgot to write that I am running it in tomcat 6, not jetty. you can right click the project - Debug As - Debug on Server - Manually define a new Server - Apache - Tomcat 6 if you should have configured a tomcat. On Sun, Mar 25, 2012 at 4:17 AM, Karthick Duraisamy Soundararaj karthick.soundara...@gmail.com wrote: I followed your instructions. I got 8 Errors and a bunch of warnings few of them related to classpath. I also got the following exception when I tried to run with the jetty ( i have attached the full console output with this email. I figured solr directory with config files might be missing and added that in WebContent. Could be of great help if someone can point me at right direction. ls WebContent admin favicon.ico index.jsp solr WEB-INF *SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No system property or default value specified for solr.test.sys.prop1* at org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:331) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:290) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:292) at org.apache.solr.core.Config.init(Config.java:165) at org.apache.solr.core.SolrConfig.init(SolrConfig.java:131) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:133) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at runjettyrun.Bootstrap.main(Bootstrap.java:97) *Here are the 8 errors I got* *Description Resource Path Location Type* core cannot be resolved dataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 27 JSP Problem End tag (/html) not closed properly, expected .package.html /solr3_5/ssrc/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config line 64HTML Problem Fragment_info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/ dataimporthandler/src/webapp/admin/_info.jspdataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 21JSP Problem Fragment _info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/dataimporthandler /src/webapp/admin/_info.jsp debug.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 19JSP Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/lucene/src/site/src/documentation/skins/common/xslt/html line 41XSL Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/solr/site-src/src/documentation/skins/common/xslt/html line 41XSL Problem Unhandled exception type Throwable ping.jsp
Re: Trouble Setting Up Development Environment
Depending upon what you actually need to do, you could consider just attaching to the running Solr instance remotely. I know it's easy in IntelliJ, and believe Eclipse makes this easy as well but I haven't used Eclipse in a while Best Erick On Sat, Mar 24, 2012 at 11:11 PM, Li Li fancye...@gmail.com wrote: I forgot to write that I am running it in tomcat 6, not jetty. you can right click the project - Debug As - Debug on Server - Manually define a new Server - Apache - Tomcat 6 if you should have configured a tomcat. On Sun, Mar 25, 2012 at 4:17 AM, Karthick Duraisamy Soundararaj karthick.soundara...@gmail.com wrote: I followed your instructions. I got 8 Errors and a bunch of warnings few of them related to classpath. I also got the following exception when I tried to run with the jetty ( i have attached the full console output with this email. I figured solr directory with config files might be missing and added that in WebContent. Could be of great help if someone can point me at right direction. ls WebContent admin favicon.ico index.jsp solr WEB-INF *SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No system property or default value specified for solr.test.sys.prop1* at org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:331) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:290) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:292) at org.apache.solr.core.Config.init(Config.java:165) at org.apache.solr.core.SolrConfig.init(SolrConfig.java:131) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:133) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at runjettyrun.Bootstrap.main(Bootstrap.java:97) *Here are the 8 errors I got* *Description Resource Path Location Type* core cannot be resolved dataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 27 JSP Problem End tag (/html) not closed properly, expected . package.html /solr3_5/ssrc/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config line 64 HTML Problem Fragment _info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/ dataimporthandler/src/webapp/admin/_info.jsp dataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 21 JSP Problem Fragment _info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/dataimporthandler /src/webapp/admin/_info.jsp debug.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 19 JSP Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/lucene/src/site/src/documentation/skins/common/xslt/html line 41 XSL Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/solr/site-src/src/documentation/skins/common/xslt/html line 41 XSL Problem Unhandled exception type Throwable ping.jsp /solr3_5/WebContent/admin line 46 JSP Problem Unhandled exception type Throwable ping.jsp /solr3_5/ssrc/solr/webapp/web/admin line 46 JSP Problem *Here are the warnings I got* Description Resource Path Location Type Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-beanutils-1.7.0.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5 P/solr3_5
Re: Trouble Setting Up Development Environment
I followed your instructions. I got 8 Errors and a bunch of warnings few of them related to classpath. I also got the following exception when I tried to run with the jetty ( i have attached the full console output with this email. I figured solr directory with config files might be missing and added that in WebContent. Could be of great help if someone can point me at right direction. ls WebContent admin favicon.ico index.jsp solr WEB-INF *SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No system property or default value specified for solr.test.sys.prop1* at org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:331) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:290) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:292) at org.apache.solr.core.Config.init(Config.java:165) at org.apache.solr.core.SolrConfig.init(SolrConfig.java:131) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:133) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at runjettyrun.Bootstrap.main(Bootstrap.java:97) *Here are the 8 errors I got* *Description Resource Path Location Type* core cannot be resolved dataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 27 JSP Problem End tag (/html) not closed properly, expected .package.html /solr3_5/ssrc/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config line 64HTML Problem Fragment_info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/ dataimporthandler/src/webapp/admin/_info.jspdataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 21JSP Problem Fragment _info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/dataimporthandler /src/webapp/admin/_info.jsp debug.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 19JSP Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/lucene/src/site/src/documentation/skins/common/xslt/html line 41XSL Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/solr/site-src/src/documentation/skins/common/xslt/html line 41XSL Problem Unhandled exception type Throwable ping.jsp /solr3_5/WebContent/admin line 46JSP Problem Unhandled exception type Throwable ping.jsp /solr3_5/ssrc/solr/webapp/web/admin line 46JSP Problem *Here are the warnings I got* DescriptionResourcePathLocationType Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-beanutils-1.7.0.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-collections-3.1.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-compress-1.2.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-digester-1.7.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry
Re: Trouble Setting Up Development Environment
One minor change is that I used solr 3.5 source code and not the one from the trunk. On Sat, Mar 24, 2012 at 4:17 PM, Karthick Duraisamy Soundararaj karthick.soundara...@gmail.com wrote: I followed your instructions. I got 8 Errors and a bunch of warnings few of them related to classpath. I also got the following exception when I tried to run with the jetty ( i have attached the full console output with this email. I figured solr directory with config files might be missing and added that in WebContent. Could be of great help if someone can point me at right direction. ls WebContent admin favicon.ico index.jsp solr WEB-INF *SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No system property or default value specified for solr.test.sys.prop1* at org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:331) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:290) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:292) at org.apache.solr.core.Config.init(Config.java:165) at org.apache.solr.core.SolrConfig.init(SolrConfig.java:131) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:133) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at runjettyrun.Bootstrap.main(Bootstrap.java:97) *Here are the 8 errors I got* *Description Resource Path Location Type* core cannot be resolved dataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 27 JSP Problem End tag (/html) not closed properly, expected .package.html /solr3_5/ssrc/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config line 64HTML Problem Fragment_info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/ dataimporthandler/src/webapp/admin/_info.jspdataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 21JSP Problem Fragment _info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/dataimporthandler /src/webapp/admin/_info.jsp debug.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 19JSP Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/lucene/src/site/src/documentation/skins/common/xslt/html line 41XSL Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/solr/site-src/src/documentation/skins/common/xslt/html line 41XSL Problem Unhandled exception type Throwable ping.jsp /solr3_5/WebContent/admin line 46JSP Problem Unhandled exception type Throwable ping.jsp /solr3_5/ssrc/solr/webapp/web/admin line 46JSP Problem *Here are the warnings I got* DescriptionResourcePathLocationType Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-beanutils-1.7.0.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-collections-3.1.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-compress-1.2.jar will not be exported or published. Runtime ClassNotFoundExceptions may result.
Re: Trouble Setting Up Development Environment
I forgot to write that I am running it in tomcat 6, not jetty. you can right click the project - Debug As - Debug on Server - Manually define a new Server - Apache - Tomcat 6 if you should have configured a tomcat. On Sun, Mar 25, 2012 at 4:17 AM, Karthick Duraisamy Soundararaj karthick.soundara...@gmail.com wrote: I followed your instructions. I got 8 Errors and a bunch of warnings few of them related to classpath. I also got the following exception when I tried to run with the jetty ( i have attached the full console output with this email. I figured solr directory with config files might be missing and added that in WebContent. Could be of great help if someone can point me at right direction. ls WebContent admin favicon.ico index.jsp solr WEB-INF *SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No system property or default value specified for solr.test.sys.prop1* at org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:331) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:290) at org.apache.solr.common.util.DOMUtil.substituteProperties(DOMUtil.java:292) at org.apache.solr.core.Config.init(Config.java:165) at org.apache.solr.core.SolrConfig.init(SolrConfig.java:131) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:133) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at runjettyrun.Bootstrap.main(Bootstrap.java:97) *Here are the 8 errors I got* *Description Resource Path Location Type* core cannot be resolved dataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 27 JSP Problem End tag (/html) not closed properly, expected .package.html /solr3_5/ssrc/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config line 64HTML Problem Fragment_info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/ dataimporthandler/src/webapp/admin/_info.jspdataimport.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 21JSP Problem Fragment _info.jsp was not found at expected path /solr3_5/ssrc/solr/contrib/dataimporthandler /src/webapp/admin/_info.jsp debug.jsp /solr3_5/ssrc/solr/contrib/dataimporthandler/src/webapp/admin line 19JSP Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/lucene/src/site/src/documentation/skins/common/xslt/html line 41XSL Problem Named template dotdots is not available tabutils.xsl /solr3_5/ssrc/solr/site-src/src/documentation/skins/common/xslt/html line 41XSL Problem Unhandled exception type Throwable ping.jsp /solr3_5/WebContent/admin line 46JSP Problem Unhandled exception type Throwable ping.jsp /solr3_5/ssrc/solr/webapp/web/admin line 46JSP Problem *Here are the warnings I got* DescriptionResourcePathLocationType Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-beanutils-1.7.0.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry /solr3_5/ssrc/lucene/contrib/benchmark/lib/commons-collections-3.1.jar will not be exported or published. Runtime ClassNotFoundExceptions may result. solr3_5P/solr3_5Classpath Dependency Validator Message Classpath entry
Re: Trouble Setting Up Development Environment
here is my method. 1. check out latest source codes from trunk or download tar ball svn checkout http://svn.apache.org/repos/asf/lucene/dev/trunklucene_trunk 2. create a dynamic web project in eclipse and close it. for example, I create a project name lucene-solr-trunk in my workspace. 3. copy/mv the source code to this project(it's not necessary) here is my directory structure lili@lili-desktop:~/workspace/lucene-solr-trunk$ ls bin.tests-framework build lucene_trunk src testindex WebContent lucene_trunk is the top directory checked out from svn in step 1. 4. remove WebContent generated by eclipse and modify it to a soft link to lili@lili-desktop:~/workspace/lucene-solr-trunk$ ll WebContent lrwxrwxrwx 1 lili lili 28 2011-08-18 18:50 WebContent - lucene_trunk/solr/webapp/web/ 5. open lucene_trunk/dev-tools/eclipse/dot.classpath. copy all lines like kind=src to a temp file classpathentry kind=src path=lucene/core/src/java/ classpathentry kind=src path=lucene/core/src/resources/ 6. replace all string like path=xxx to path=lucene_trunk/xxx and copy them into .classpath file 7. mkdir WebContent/WEB-INF/lib 8. extract all jar file in dot.classpath to WebContent/WEB-INF/lib I use this command: lili@lili-desktop:~/workspace/lucene-solr-trunk/lucene_trunk$ cat dev-tools/eclipse/dot.classpath |grep kind=\lib|awk -F path=\ '{print $2}' |awk -F \/ '{print $1}' |xargs cp ../WebContent/WEB-INF/lib/ 9. open this project and refresh it. if everything is ok, it will compile all java files successfully. if there is something wrong, Probably we don't use the correct jar. because there are many versions of the same library. 10. right click the project - debug As - debug on Server it will fail because no solr home is specified. 11. right click the project - debug As - debug Configuration - Arguments Tab - VM arguments add -Dsolr.solr.home=/home/lili/workspace/lucene-solr-trunk/lucene_trunk/solr/example/solr you can also add other vm arguments like -Xmx1g here. 12. all fine, add a break point at SolrDispatchFilter.doFilter(). all solr request comes here 13. have fun~ On Fri, Mar 23, 2012 at 11:49 AM, Karthick Duraisamy Soundararaj karthick.soundara...@gmail.com wrote: Hi Solr Ppl, I have been trying to set up solr dev env. I downloaded the tar ball of eclipse and the solr 3.5 source. Here are the exact sequence of steps I followed I extracted the solr 3.5 source and eclipse. I installed run-jetty-run plugin for eclipse. I ran ant eclipse in the solr 3.5 source directory I used eclipse's Open existing project option to open up the files in solr 3.5 directory. I got a huge tree in the name of lucene_solr. I run it and there is a SEVERE error: System property not set excetption. * solr*.test.sys.*prop1* not set and then the jetty loads solr. I then try localhost:8080/solr/select/ I get null pointer execpiton. I am only able to access admin page. Is there anything else I need to do? I tried to follow http://www.lucidimagination.com/devzone/technical-articles/setting-apache-solr-eclipse . But I dont find the solr-3.5.war file. I tried ant dist to generate the dist folder but that has many jars and wars.. I am able to compile the source with ant compile, get the solr in example directory up and running. Will be great if someone can help me with this. Thanks, Karthick