AskNowQA / AutoSPARQL

Warning: Not working at the moment. Maintainer on parental leave. AutoSPARQL allows to create SPARQL queries over RDF knowledge bases from natural language with low effort.
http://aksw.org/Projects/AutoSPARQL.html
GNU General Public License v3.0
91 stars 54 forks source link

SimpleHTMLLayout #22

Closed pannous closed 10 years ago

pannous commented 10 years ago

build errors ... It would be nice if mvn install would just work, but even following the instructions yields errors:

after successful ./compile and ./run: Error 404 - Not Found. No context on this server matched or handled this request. Contexts known to this server are:

/autosparql-lite ---> o.e.j.m.p.JettyWebAppContext@106de296{/autosparql-lite,[file:/AutoSPARQL/autosparql-tbsl/src/main/webapp/, file:/AutoSPARQL/autosparql-tbsl/target/classes/],AVAILABLE}{[file:/AutoSPARQL/autosparql-tbsl/src/main/webapp/, file:/AutoSPARQL/autosparql-tbsl/target/classes/]}

trying to manually recompile:

AutoSPARQL/autosparql$ mvn install -N

T E S T S

Running org.aksw.autosparql.server.CacheTest log4j:ERROR Could not instantiate class [org.dllearner.autosparql.server.util.SimpleHTMLLayout]. java.lang.ClassNotFoundException: org.dllearner.autosparql.server.util.SimpleHTMLLayout

fillCacheTest(org.aksw.autosparql.server.CacheTest) Time elapsed: 64.357 sec <<< ERROR! com.hp.hpl.jena.sparql.engine.http.QueryExceptionHTTP: HTTP 504 error making the query: Gateway Time-out

pannous commented 10 years ago

may be related: [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile (default) on project autosparql: GWT Module org.dllearner.autosparql.Application not found in project sources or resources. -> [Help 1]

KonradHoeffner commented 10 years ago

I just did a fresh clone, ./compile and ./run. I experienced the issue you described when I called "http://localhost:8080/" instead of "http://localhost:8080/autosparql-lite/" (the context was missing).

The manual compilation you described included the module "autosparql", which is not used and does not need to be compiled. It represents the original AutoSPARQL application (see http://aksw.org/Projects/AutoSPARQL.html) instead of AutoSPARQL TBSL. I concede that our naming conventions are a bit confusing for outsiders. We have now removed the "autosparql" module from the pom.xml and may move it out of the project altogether for more clarity and better separation.

Feel free to open a new issue if this doesn't work for you, hope this helps.