Markus, I just spent a number of afternoons getting into the guts of Ivy and Maven classifiers for the Dr. Who manual. To set up the server dependencies in Ivy (which SBT uses under the hood), refer to https://github.com/jimwebber/neo4j-tutorial/blob/master/settings/ivy.xml and https://github.com/jimwebber/neo4j-tutorial/blob/master/settings/ivysettings.xml which make Ivy aware of the fact that there are number of artifacts needed with the same group and artifact id but different classifiers.
Does that work? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Thu, Nov 3, 2011 at 9:03 AM, Markus Joschko <markus.josc...@gmail.com> wrote: > Has anybody had success in getting an embedded neo4j-server running with sbt? > > I had some trouble in getting the dependencies but now it at least > compiles and starts up. However the start ultimately failed. > Before switching back to maven I wanted to ask whether someone has a > working sbt setup and can share the build.sbt? > > BTW, the error I encounter at the moment (doesn't seem to be caused by > a missing dependency): > > > INFO: Starting Neo Server on port [7474] with [80] threads available > Nov 3, 2011 5:01:17 PM org.mortbay.log.Slf4jLog info > INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) > via org.mortbay.log.Slf4jLog > Nov 3, 2011 5:01:17 PM org.neo4j.server.logging.Logger log > INFO: Using database at /tmp/tmp-neo-test > Nov 3, 2011 5:01:17 PM org.neo4j.server.logging.Logger log > WARNING: No database tuning properties set in the property file, using > defaults. Please specify the performance properties file with > org.neo4j.server.db.tuning.properties in the server properties file > [null]. > Nov 3, 2011 5:01:17 PM org.neo4j.server.logging.Logger log > INFO: Mounted discovery module at [/] > Nov 3, 2011 5:01:17 PM org.neo4j.server.logging.Logger log > INFO: Mounted REST API at [/db/data] > Nov 3, 2011 5:01:17 PM org.neo4j.server.logging.Logger log > INFO: Mounted management API at [/db/manage] > Nov 3, 2011 5:01:17 PM org.neo4j.server.logging.Logger log > INFO: Mounted webadmin at [/webadmin] > Nov 3, 2011 5:01:17 PM org.neo4j.server.logging.Logger log > INFO: Mounting static content at [/webadmin] from [webadmin-html] > Nov 3, 2011 5:01:17 PM org.mortbay.log.Slf4jLog info > INFO: jetty-6.1.25 > Nov 3, 2011 5:01:17 PM org.mortbay.log.Slf4jLog info > INFO: NO JSP Support for /webadmin, did not find > org.apache.jasper.servlet.JspServlet > Nov 3, 2011 5:01:17 PM com.sun.jersey.api.core.PackagesResourceConfig init > INFO: Scanning for root resource and provider classes in the packages: > org.neo4j.server.webadmin.rest > Nov 3, 2011 5:01:17 PM com.sun.jersey.api.core.ScanningResourceConfig > logClasses > INFO: Root resource classes found: > class org.neo4j.server.webadmin.rest.ConsoleService > class org.neo4j.server.webadmin.rest.JmxService > class org.neo4j.server.webadmin.rest.RootService > class org.neo4j.server.webadmin.rest.MonitorService > Nov 3, 2011 5:01:17 PM com.sun.jersey.api.core.ScanningResourceConfig init > INFO: No provider classes found. > Nov 3, 2011 5:01:17 PM org.mortbay.log.Slf4jLog warn > SEVERE: unavailable > com.sun.jersey.api.container.ContainerException: No WebApplication > provider is present > at > com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebApplicationFactory.java:69) > at > com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.java:391) > at > com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.create(ServletContainer.java:306) > at > com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:607) > at > com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) > at > com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) > at > com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) > at javax.servlet.GenericServlet.init(GenericServlet.java:241) > at > org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440) > at > org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) > 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 > org.neo4j.server.web.Jetty6WebServer.startJetty(Jetty6WebServer.java:168) > at org.neo4j.server.web.Jetty6WebServer.start(Jetty6WebServer.java:105) > at > org.neo4j.server.NeoServerWithEmbeddedWebServer.startWebServer(NeoServerWithEmbeddedWebServer.java:252) > at > org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbeddedWebServer.java:106) > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) > at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:76) > > Regards, > Markus > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user