You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These days , I have compiled and ran AutoSPARQL-develop on my Ubuntu system,but it didn't work.and I got these Exceptions. My runtime enviroment is JDK1.8,Maven 3.5.2.
PS:I also ran on windows. And It didn't work too.
Thanks for your time.
AutoSPARQL TBSL compile log for error reporting\n<><><> module autosparql <><><>
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building autosparql-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ autosparql-parent ---
[INFO] Installing /home/cuixy/tbsl/AutoSPARQL-develop/pom.xml to /home/cuixy/.m2/repository/org/aksw/autosparql/autosparql-parent/1.0-SNAPSHOT/autosparql-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.076 s
[INFO] Finished at: 2018-02-16T11:14:39+08:00
[INFO] Final Memory: 9M/85M
[INFO] ------------------------------------------------------------------------
<><><> module commons <><><>
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building commons 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 54 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ commons ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 66 source files to /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/classes
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/diadem/WordFrequencyCounter.java: Some input files use or override a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/diadem/WordFrequencyCounter.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/uri/UriDisambiguation.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/uri/UriDisambiguation.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ commons ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ commons ---
[INFO] Surefire report directory: /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/surefire-reports
T E S T S
Running LoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.271 sec - in LoggerTest
Running org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 33.471 sec <<< FAILURE! - in org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest
testPmiMetric(org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest) Time elapsed: 33.465 sec <<< ERROR!
java.lang.RuntimeException: connection could not be initialized.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.(Socket.java:434)
at java.net.Socket.(Socket.java:244)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:258)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:306)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2504)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2541)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2323)
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:832)
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:417)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.aksw.autosparql.commons.metric.SPARQLEndpointMetrics.getDefaultReadOnlyConnection(SPARQLEndpointMetrics.java:94)
at org.aksw.autosparql.commons.metric.SPARQLEndpointMetrics.getDbpediaMetrics(SPARQLEndpointMetrics.java:68)
at org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest.testPmiMetric(DatabaseBackedSPARQLEndpointMetricsTest.java:32)
Running org.aksw.autosparql.commons.nlp.pos.StanfordPartOfSpeechTaggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.243 sec - in org.aksw.autosparql.commons.nlp.pos.StanfordPartOfSpeechTaggerTest
Running org.aksw.autosparql.commons.nlp.wordnet.WordNetUnpackerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.aksw.autosparql.commons.nlp.wordnet.WordNetUnpackerTest
Running org.aksw.autosparql.commons.nlp.wordnet.WordNetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec - in org.aksw.autosparql.commons.nlp.wordnet.WordNetTest
Running org.aksw.autosparql.commons.uri.UriDisambiguationTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.056 sec <<< FAILURE! - in org.aksw.autosparql.commons.uri.UriDisambiguationTest
testGetUriCandidates(org.aksw.autosparql.commons.uri.UriDisambiguationTest) Time elapsed: 1.659 sec <<< ERROR!
java.lang.RuntimeException: exception with query:
q=surfaceForms%3A%22Leipzig%22&sort=disambiguationScore+desc&fl=surfaceForms%2Curi%2Clabel%2Ccomment%2Ctypes%2CdbpediaUri%2CdisambiguationScore&rows=100
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.aksw.autosparql.commons.uri.UriDisambiguation.query(UriDisambiguation.java:188)
at org.aksw.autosparql.commons.uri.UriDisambiguation.getUriCandidates(UriDisambiguation.java:152)
at org.aksw.autosparql.commons.uri.UriDisambiguationTest.testGetUriCandidates(UriDisambiguationTest.java:12)
testGetUriListOfResourceStringString(org.aksw.autosparql.commons.uri.UriDisambiguationTest) Time elapsed: 0.396 sec <<< ERROR!
java.lang.RuntimeException: exception with query:
q=surfaceForms%3A%22Leipzig%22&sort=disambiguationScore+desc&fl=surfaceForms%2Curi%2Clabel%2Ccomment%2Ctypes%2CdbpediaUri%2CdisambiguationScore&rows=100
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.aksw.autosparql.commons.uri.UriDisambiguation.query(UriDisambiguation.java:188)
at org.aksw.autosparql.commons.uri.UriDisambiguation.getUriCandidates(UriDisambiguation.java:152)
at org.aksw.autosparql.commons.uri.UriDisambiguationTest.testGetUriListOfResourceStringString(UriDisambiguationTest.java:19)
Running org.aksw.autosparql.commons.index.LemmatizedIndexTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec - in org.aksw.autosparql.commons.index.LemmatizedIndexTest
Results :
Tests in error:
DatabaseBackedSPARQLEndpointMetricsTest.testPmiMetric:32 » Runtime connection ...
UriDisambiguationTest.testGetUriCandidates:12 » Runtime exception with query:
...
UriDisambiguationTest.testGetUriListOfResourceStringString:19 » Runtime except...
Tests run: 9, Failures: 0, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.167 s
[INFO] Finished at: 2018-02-16T11:15:35+08:00
[INFO] Final Memory: 42M/312M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project commons: There are test failures.
[ERROR]
[ERROR] Please refer to /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
<><><> module algorithm-tbsl <><><>
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building algorithm-tbsl 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ algorithm-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ algorithm-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 202 source files to /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/converter/DRS2BasicSPARQL_Converter.java: Some input files use or override a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/converter/DRS2BasicSPARQL_Converter.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/util/MultithreadedSPARQLQueryExecutor.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/util/MultithreadedSPARQLQueryExecutor.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ algorithm-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ algorithm-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 22 source files to /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/test-classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/IndexEvaluation.java: Some input files use or override a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/IndexEvaluation.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/TemplateSerializationTest.java: /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/TemplateSerializationTest.java uses unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/TemplateSerializationTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ algorithm-tbsl ---
[INFO] Surefire report directory: /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/surefire-reports
T E S T S
Running org.aksw.autosparql.tbsl.algorithm.util.SolrServerTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.319 sec <<< FAILURE! - in org.aksw.autosparql.tbsl.algorithm.util.SolrServerTest
testDBpediaIndices(org.aksw.autosparql.tbsl.algorithm.util.SolrServerTest) Time elapsed: 11.277 sec <<< ERROR!
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html.
<title>404: Resource not found</title>
<style type="text/css">
body {
font-family: sans-serif;
line-height: 1.5;
background-color: #eff9ff;
}
h1 {
font-size: 100%
}
</style>
Resource not found
The resource http://linkedspending.aksw.org/solr/en_dbpedia_resources/select?q=label%3A%22Premier+League%22%5E2++OR+%28label%3APremier+AND+label%3ALeague%29&rows=10&fl=uri%2Cscore&wt=javabin&version=2 you are trying to reach does not exist.
Do you want to create it?
Otherwise, try to go back.
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.aksw.rdfindex.SOLRIndex.getResourcesWithScores(SOLRIndex.java:82)
at org.aksw.autosparql.commons.search.FilteredIndex.getResourcesWithScores(FilteredIndex.java:18)
at org.aksw.rdfindex.Index.getResources(Index.java:17)
at org.aksw.rdfindex.Index.getResources(Index.java:12)
at org.aksw.autosparql.tbsl.algorithm.util.SolrServerTest.testDBpediaIndices(SolrServerTest.java:18)
Running org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.654 sec <<< FAILURE! - in org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest
test(org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest) Time elapsed: 1.654 sec <<< ERROR!
com.hp.hpl.jena.sparql.engine.http.QueryExceptionHTTP: Unexpected error making the query: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:61)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:137)
at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:118)
at org.apache.jena.riot.web.HttpOp.exec(HttpOp.java:1108)
at org.apache.jena.riot.web.HttpOp.execHttpGet(HttpOp.java:385)
at org.apache.jena.riot.web.HttpOp.execHttpGet(HttpOp.java:447)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execGet(HttpQuery.java:346)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:295)
at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execResultSetInner(QueryEngineHTTP.java:346)
at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:338)
at org.aksw.autosparql.commons.knowledgebase.RemoteKnowledgebase.querySelectNoCache(RemoteKnowledgebase.java:39)
at org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest.test(DBpediaKnowledgebaseTest.java:15)
Running org.aksw.autosparql.tbsl.algorithm.knowledgebase.OxfordKnowledgebaseTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.472 sec - in org.aksw.autosparql.tbsl.algorithm.knowledgebase.OxfordKnowledgebaseTest
Running org.aksw.autosparql.tbsl.algorithm.TBSLTest
WordNetUnpacker.getUnpackedWordNetDir: using code source /home/cuixy/.m2/repository/org/aksw/autosparql/commons/1.0-SNAPSHOT/commons-1.0-SNAPSHOT.jar
unpacking jarfile /home/cuixy/.m2/repository/org/aksw/autosparql/commons/1.0-SNAPSHOT/commons-1.0-SNAPSHOT.jar
loading wordnet from /tmp/wordnet178558556719
Running template generation...
Generated 2 templates:
<title>404: Resource not found</title>
<style type="text/css">
body {
font-family: sans-serif;
line-height: 1.5;
background-color: #eff9ff;
}
h1 {
font-size: 100%
}
</style>
Resource not found
The resource http://linkedspending.aksw.org/solr/en_dbpedia_resources/select?q=label%3A%22dan+brown%22%5E2++OR+%28label%3Adan+AND+label%3Abrown%29&rows=10&fl=uri%2Cscore&wt=javabin&version=2 you are trying to reach does not exist.
Do you want to create it?
Otherwise, try to go back.
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.aksw.rdfindex.SOLRIndex.getResourcesWithScores(SOLRIndex.java:82)
at org.aksw.autosparql.commons.search.FilteredIndex.getResourcesWithScores(FilteredIndex.java:18)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.getCandidateEntities(SimpleEntityDisambiguation.java:76)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.performEntityDisambiguation(SimpleEntityDisambiguation.java:48)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.performEntityDisambiguation(SimpleEntityDisambiguation.java:38)
at org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:183)
at org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:156)
at org.aksw.autosparql.tbsl.algorithm.TBSLTest.testDBpediaDanBrown(TBSLTest.java:32)
testOxfordMoreThanTwoBedrooms(org.aksw.autosparql.tbsl.algorithm.TBSLTest) Time elapsed: 3.688 sec <<< ERROR!
java.lang.NoSuchMethodError: org.aksw.jena_sparql_api.core.QueryExecutionFactory.createQueryExecution(Ljava/lang/String;)Lorg/apache/jena/query/QueryExecution;
at org.aksw.rdfindex.SPARQLIndex.getResourcesWithScores(SPARQLIndex.java:34)
at org.aksw.autosparql.commons.index.LemmatizedIndex.getResourcesWithScores(LemmatizedIndex.java:28)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.getCandidateEntities(SimpleEntityDisambiguation.java:76)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.performEntityDisambiguation(SimpleEntityDisambiguation.java:48)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.performEntityDisambiguation(SimpleEntityDisambiguation.java:38)
at org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:183)
at org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:156)
at org.aksw.autosparql.tbsl.algorithm.TBSLTest.testOxfordMoreThanTwoBedrooms(TBSLTest.java:56)
Results :
Tests in error:
SolrServerTest.testDBpediaIndices:18 » RemoteSolr Expected mime type applicati...
DBpediaKnowledgebaseTest.test:15 » QueryExceptionHTTP Unexpected error making ...
TBSLTest.testDBpediaDanBrown:32 » RemoteSolr Expected mime type application/oc...
TBSLTest.testOxfordMoreThanTwoBedrooms:56 » NoSuchMethod org.aksw.jena_sparql_...
Tests run: 6, Failures: 0, Errors: 4, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.200 s
[INFO] Finished at: 2018-02-16T11:16:14+08:00
[INFO] Final Memory: 39M/305M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project algorithm-tbsl: There are test failures.
[ERROR]
[ERROR] Please refer to /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
<><><> module autosparql-tbsl <><><> compile
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.aksw.autosparql:autosparql-tbsl:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.eclipse.jetty:jetty-maven-plugin is missing. @ org.aksw.autosparql:autosparql-tbsl:[unknown-version], /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/pom.xml, line 123, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AutoSPARQL Lite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ autosparql-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 57 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ autosparql-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java uses or overrides a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java uses unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: Recompile with -Xlint:unchecked for details.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.676 s
[INFO] Finished at: 2018-02-16T11:16:24+08:00
[INFO] Final Memory: 40M/321M
[INFO] ------------------------------------------------------------------------
<><><> module autosparql-tbsl <><><> gwt:compile
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.aksw.autosparql:autosparql-tbsl:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.eclipse.jetty:jetty-maven-plugin is missing. @ org.aksw.autosparql:autosparql-tbsl:[unknown-version], /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/pom.xml, line 123, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AutoSPARQL Lite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- gwt-maven-plugin:2.3.0:compile (default-cli) @ autosparql-tbsl ---
[INFO] auto discovered modules [org.aksw.autosparql.tbsl.gui.vaadin.CustomWidgetset]
[INFO] org.aksw.autosparql.tbsl.gui.vaadin.CustomWidgetset is up to date. GWT compilation skipped
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.802 s
[INFO] Finished at: 2018-02-16T11:16:29+08:00
[INFO] Final Memory: 25M/191M
[INFO] ------------------------------------------------------------------------
<><><> module autosparql-tbsl <><><> jetty:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.aksw.autosparql:autosparql-tbsl:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.eclipse.jetty:jetty-maven-plugin is missing. @ org.aksw.autosparql:autosparql-tbsl:[unknown-version], /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/pom.xml, line 123, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AutoSPARQL Lite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:9.4.8.v20171121:run (default-cli) > test-compile @ autosparql-tbsl >>>
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ autosparql-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 57 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ autosparql-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java uses or overrides a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java uses unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ autosparql-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ autosparql-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/test-classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[INFO]
[INFO] <<< jetty-maven-plugin:9.4.8.v20171121:run (default-cli) < test-compile @ autosparql-tbsl <<<
[INFO]
[INFO]
[INFO] --- jetty-maven-plugin:9.4.8.v20171121:run (default-cli) @ autosparql-tbsl ---
[INFO] Logging initialized @10240ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] Configuring Jetty for project: AutoSPARQL Lite
[INFO] webAppSourceDirectory not set. Trying src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] nonBlocking:false
[INFO] Classes = /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes
[INFO] Context path = /autosparql-lite
[INFO] Tmp directory = /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp
[INFO] jetty-9.4.8.v20171121, build timestamp: 2017-11-22T05:27:37+08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@495cac83{/autosparql-lite,[file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp/, file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes/],UNAVAILABLE}{[file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp/, file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes/]}
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open (Native Method)
at java.util.zip.ZipFile. (ZipFile.java:225)
at java.util.zip.ZipFile. (ZipFile.java:155)
at java.util.jar.JarFile. (JarFile.java:166)
at java.util.jar.JarFile. (JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile. (URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile (URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get (JarFileFactory.java:99)
at sun.net.www.protocol.jar.JarURLConnection.connect (JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile (JarURLConnection.java:89)
at org.eclipse.jetty.webapp.MetaInfConfiguration.getTlds (MetaInfConfiguration.java:438)
at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds (MetaInfConfiguration.java:355)
at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars (MetaInfConfiguration.java:173)
at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure (MetaInfConfiguration.java:107)
at org.eclipse.jetty.webapp.WebAppContext.preConfigure (WebAppContext.java:506)
at org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:544)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart (JettyWebAppContext.java:428)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:133)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:115)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:113)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:167)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:133)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:115)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:133)
at org.eclipse.jetty.server.Server.start (Server.java:418)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:107)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart (Server.java:385)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:461)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:327)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute (JettyRunMojo.java:183)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[INFO] Started ServerConnector@1e08f0cd{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @11400ms
[INFO] Started Jetty Server
The text was updated successfully, but these errors were encountered:
Hello @Emma123456, unfortunately this project hasn't been maintained for a long time.
I think we should archive it to signal users that it is not in a usable state anymore but when I find the time, I will check if it is possible to correct the biggest errors quickly.
Seeing as this issue is already more than 4 years old I don't know if that is relevant for you anymore anyways, but easy to setup portable open source linked data question answering systems are still an active topic of research after all these years.
While it is closed source, we have good experiences with QAnswer.
These days , I have compiled and ran AutoSPARQL-develop on my Ubuntu system,but it didn't work.and I got these Exceptions. My runtime enviroment is JDK1.8,Maven 3.5.2.
PS:I also ran on windows. And It didn't work too.
Thanks for your time.
AutoSPARQL TBSL compile log for error reporting\n<><><> module autosparql <><><>
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building autosparql-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ autosparql-parent ---
[INFO] Installing /home/cuixy/tbsl/AutoSPARQL-develop/pom.xml to /home/cuixy/.m2/repository/org/aksw/autosparql/autosparql-parent/1.0-SNAPSHOT/autosparql-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.076 s
[INFO] Finished at: 2018-02-16T11:14:39+08:00
[INFO] Final Memory: 9M/85M
[INFO] ------------------------------------------------------------------------
<><><> module commons <><><>
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building commons 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 54 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ commons ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 66 source files to /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/classes
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/diadem/WordFrequencyCounter.java: Some input files use or override a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/diadem/WordFrequencyCounter.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/uri/UriDisambiguation.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/commons/src/main/java/org/aksw/autosparql/commons/uri/UriDisambiguation.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ commons ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ commons ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ commons ---
[INFO] Surefire report directory: /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/surefire-reports
T E S T S
Running LoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.271 sec - in LoggerTest
Running org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 33.471 sec <<< FAILURE! - in org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest
testPmiMetric(org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest) Time elapsed: 33.465 sec <<< ERROR!
java.lang.RuntimeException: connection could not be initialized.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.(Socket.java:434)
at java.net.Socket.(Socket.java:244)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:258)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:306)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2504)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2541)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2323)
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:832)
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:417)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.aksw.autosparql.commons.metric.SPARQLEndpointMetrics.getDefaultReadOnlyConnection(SPARQLEndpointMetrics.java:94)
at org.aksw.autosparql.commons.metric.SPARQLEndpointMetrics.getDbpediaMetrics(SPARQLEndpointMetrics.java:68)
at org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest.testPmiMetric(DatabaseBackedSPARQLEndpointMetricsTest.java:32)
Running org.aksw.autosparql.commons.nlp.pos.StanfordPartOfSpeechTaggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.243 sec - in org.aksw.autosparql.commons.nlp.pos.StanfordPartOfSpeechTaggerTest
Running org.aksw.autosparql.commons.nlp.wordnet.WordNetUnpackerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.aksw.autosparql.commons.nlp.wordnet.WordNetUnpackerTest
Running org.aksw.autosparql.commons.nlp.wordnet.WordNetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec - in org.aksw.autosparql.commons.nlp.wordnet.WordNetTest
Running org.aksw.autosparql.commons.uri.UriDisambiguationTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.056 sec <<< FAILURE! - in org.aksw.autosparql.commons.uri.UriDisambiguationTest
testGetUriCandidates(org.aksw.autosparql.commons.uri.UriDisambiguationTest) Time elapsed: 1.659 sec <<< ERROR!
java.lang.RuntimeException: exception with query:
q=surfaceForms%3A%22Leipzig%22&sort=disambiguationScore+desc&fl=surfaceForms%2Curi%2Clabel%2Ccomment%2Ctypes%2CdbpediaUri%2CdisambiguationScore&rows=100
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.aksw.autosparql.commons.uri.UriDisambiguation.query(UriDisambiguation.java:188)
at org.aksw.autosparql.commons.uri.UriDisambiguation.getUriCandidates(UriDisambiguation.java:152)
at org.aksw.autosparql.commons.uri.UriDisambiguationTest.testGetUriCandidates(UriDisambiguationTest.java:12)
testGetUriListOfResourceStringString(org.aksw.autosparql.commons.uri.UriDisambiguationTest) Time elapsed: 0.396 sec <<< ERROR!
java.lang.RuntimeException: exception with query:
q=surfaceForms%3A%22Leipzig%22&sort=disambiguationScore+desc&fl=surfaceForms%2Curi%2Clabel%2Ccomment%2Ctypes%2CdbpediaUri%2CdisambiguationScore&rows=100
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.aksw.autosparql.commons.uri.UriDisambiguation.query(UriDisambiguation.java:188)
at org.aksw.autosparql.commons.uri.UriDisambiguation.getUriCandidates(UriDisambiguation.java:152)
at org.aksw.autosparql.commons.uri.UriDisambiguationTest.testGetUriListOfResourceStringString(UriDisambiguationTest.java:19)
Running org.aksw.autosparql.commons.index.LemmatizedIndexTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec - in org.aksw.autosparql.commons.index.LemmatizedIndexTest
Results :
Tests in error:
DatabaseBackedSPARQLEndpointMetricsTest.testPmiMetric:32 » Runtime connection ...
UriDisambiguationTest.testGetUriCandidates:12 » Runtime exception with query:
...
UriDisambiguationTest.testGetUriListOfResourceStringString:19 » Runtime except...
Tests run: 9, Failures: 0, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.167 s
[INFO] Finished at: 2018-02-16T11:15:35+08:00
[INFO] Final Memory: 42M/312M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project commons: There are test failures.
[ERROR]
[ERROR] Please refer to /home/cuixy/tbsl/AutoSPARQL-develop/commons/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
<><><> module algorithm-tbsl <><><>
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building algorithm-tbsl 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ algorithm-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ algorithm-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 202 source files to /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/converter/DRS2BasicSPARQL_Converter.java: Some input files use or override a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/converter/DRS2BasicSPARQL_Converter.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/util/MultithreadedSPARQLQueryExecutor.java: Some input files use unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/main/java/org/aksw/autosparql/tbsl/algorithm/util/MultithreadedSPARQLQueryExecutor.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ algorithm-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ algorithm-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 22 source files to /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/test-classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/IndexEvaluation.java: Some input files use or override a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/IndexEvaluation.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/TemplateSerializationTest.java: /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/TemplateSerializationTest.java uses unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/src/test/java/org/aksw/autosparql/tbsl/algorithm/TemplateSerializationTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ algorithm-tbsl ---
[INFO] Surefire report directory: /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/surefire-reports
T E S T S
Running org.aksw.autosparql.tbsl.algorithm.util.SolrServerTest
<title>404: Resource not found</title> <style type="text/css"> body { font-family: sans-serif; line-height: 1.5; background-color: #eff9ff; }Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.319 sec <<< FAILURE! - in org.aksw.autosparql.tbsl.algorithm.util.SolrServerTest
testDBpediaIndices(org.aksw.autosparql.tbsl.algorithm.util.SolrServerTest) Time elapsed: 11.277 sec <<< ERROR!
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html.
h1 {
font-size: 100%
}
</style>
Resource not found
The resource
http://linkedspending.aksw.org/solr/en_dbpedia_resources/select?q=label%3A%22Premier+League%22%5E2++OR+%28label%3APremier+AND+label%3ALeague%29&rows=10&fl=uri%2Cscore&wt=javabin&version=2
you are trying to reach does not exist.Do you want to create it?
Otherwise, try to go back.
Running org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.654 sec <<< FAILURE! - in org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest
test(org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest) Time elapsed: 1.654 sec <<< ERROR!
com.hp.hpl.jena.sparql.engine.http.QueryExceptionHTTP: Unexpected error making the query: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:61)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:137)
at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:118)
at org.apache.jena.riot.web.HttpOp.exec(HttpOp.java:1108)
at org.apache.jena.riot.web.HttpOp.execHttpGet(HttpOp.java:385)
at org.apache.jena.riot.web.HttpOp.execHttpGet(HttpOp.java:447)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execGet(HttpQuery.java:346)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:295)
at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execResultSetInner(QueryEngineHTTP.java:346)
at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:338)
at org.aksw.autosparql.commons.knowledgebase.RemoteKnowledgebase.querySelectNoCache(RemoteKnowledgebase.java:39)
at org.aksw.autosparql.tbsl.algorithm.knowledgebase.DBpediaKnowledgebaseTest.test(DBpediaKnowledgebaseTest.java:15)
Running org.aksw.autosparql.tbsl.algorithm.knowledgebase.OxfordKnowledgebaseTest
<title>404: Resource not found</title> <style type="text/css"> body { font-family: sans-serif; line-height: 1.5; background-color: #eff9ff; }Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.472 sec - in org.aksw.autosparql.tbsl.algorithm.knowledgebase.OxfordKnowledgebaseTest
Running org.aksw.autosparql.tbsl.algorithm.TBSLTest
WordNetUnpacker.getUnpackedWordNetDir: using code source /home/cuixy/.m2/repository/org/aksw/autosparql/commons/1.0-SNAPSHOT/commons-1.0-SNAPSHOT.jar
unpacking jarfile /home/cuixy/.m2/repository/org/aksw/autosparql/commons/1.0-SNAPSHOT/commons-1.0-SNAPSHOT.jar
loading wordnet from /tmp/wordnet178558556719
Running template generation...
Generated 2 templates:
h1 {
font-size: 100%
}
</style>
Resource not found
The resource
http://linkedspending.aksw.org/solr/en_dbpedia_resources/select?q=label%3A%22dan+brown%22%5E2++OR+%28label%3Adan+AND+label%3Abrown%29&rows=10&fl=uri%2Cscore&wt=javabin&version=2
you are trying to reach does not exist.Do you want to create it?
Otherwise, try to go back.
testOxfordMoreThanTwoBedrooms(org.aksw.autosparql.tbsl.algorithm.TBSLTest) Time elapsed: 3.688 sec <<< ERROR!
java.lang.NoSuchMethodError: org.aksw.jena_sparql_api.core.QueryExecutionFactory.createQueryExecution(Ljava/lang/String;)Lorg/apache/jena/query/QueryExecution;
at org.aksw.rdfindex.SPARQLIndex.getResourcesWithScores(SPARQLIndex.java:34)
at org.aksw.autosparql.commons.index.LemmatizedIndex.getResourcesWithScores(LemmatizedIndex.java:28)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.getCandidateEntities(SimpleEntityDisambiguation.java:76)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.performEntityDisambiguation(SimpleEntityDisambiguation.java:48)
at org.aksw.autosparql.tbsl.algorithm.learning.SimpleEntityDisambiguation.performEntityDisambiguation(SimpleEntityDisambiguation.java:38)
at org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:183)
at org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:156)
at org.aksw.autosparql.tbsl.algorithm.TBSLTest.testOxfordMoreThanTwoBedrooms(TBSLTest.java:56)
Results :
Tests in error:
SolrServerTest.testDBpediaIndices:18 » RemoteSolr Expected mime type applicati...
DBpediaKnowledgebaseTest.test:15 » QueryExceptionHTTP Unexpected error making ...
TBSLTest.testDBpediaDanBrown:32 » RemoteSolr Expected mime type application/oc...
TBSLTest.testOxfordMoreThanTwoBedrooms:56 » NoSuchMethod org.aksw.jena_sparql_...
Tests run: 6, Failures: 0, Errors: 4, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.200 s
[INFO] Finished at: 2018-02-16T11:16:14+08:00
[INFO] Final Memory: 39M/305M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project algorithm-tbsl: There are test failures.
[ERROR]
[ERROR] Please refer to /home/cuixy/tbsl/AutoSPARQL-develop/algorithm-tbsl/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
<><><> module autosparql-tbsl <><><> compile
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.aksw.autosparql:autosparql-tbsl:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.eclipse.jetty:jetty-maven-plugin is missing. @ org.aksw.autosparql:autosparql-tbsl:[unknown-version], /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/pom.xml, line 123, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AutoSPARQL Lite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ autosparql-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 57 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ autosparql-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java uses or overrides a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java uses unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: Recompile with -Xlint:unchecked for details.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.676 s
[INFO] Finished at: 2018-02-16T11:16:24+08:00
[INFO] Final Memory: 40M/321M
[INFO] ------------------------------------------------------------------------
<><><> module autosparql-tbsl <><><> gwt:compile
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.aksw.autosparql:autosparql-tbsl:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.eclipse.jetty:jetty-maven-plugin is missing. @ org.aksw.autosparql:autosparql-tbsl:[unknown-version], /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/pom.xml, line 123, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AutoSPARQL Lite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- gwt-maven-plugin:2.3.0:compile (default-cli) @ autosparql-tbsl ---
[INFO] auto discovered modules [org.aksw.autosparql.tbsl.gui.vaadin.CustomWidgetset]
[INFO] org.aksw.autosparql.tbsl.gui.vaadin.CustomWidgetset is up to date. GWT compilation skipped
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.802 s
[INFO] Finished at: 2018-02-16T11:16:29+08:00
[INFO] Final Memory: 25M/191M
[INFO] ------------------------------------------------------------------------
<><><> module autosparql-tbsl <><><> jetty:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.aksw.autosparql:autosparql-tbsl:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.eclipse.jetty:jetty-maven-plugin is missing. @ org.aksw.autosparql:autosparql-tbsl:[unknown-version], /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/pom.xml, line 123, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AutoSPARQL Lite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:9.4.8.v20171121:run (default-cli) > test-compile @ autosparql-tbsl >>>
[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ autosparql-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 57 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ autosparql-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java uses or overrides a deprecated API.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/TBSLManager.java: Recompile with -Xlint:deprecation for details.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java uses unchecked or unsafe operations.
[WARNING] /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/java/org/aksw/autosparql/tbsl/gui/vaadin/view/MainView.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ autosparql-tbsl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ autosparql-tbsl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/test-classes
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[WARNING] error reading /home/cuixy/.m2/repository/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar; error in opening zip file
[INFO]
[INFO] <<< jetty-maven-plugin:9.4.8.v20171121:run (default-cli) < test-compile @ autosparql-tbsl <<<
[INFO]
[INFO]
[INFO] --- jetty-maven-plugin:9.4.8.v20171121:run (default-cli) @ autosparql-tbsl ---
[INFO] Logging initialized @10240ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] Configuring Jetty for project: AutoSPARQL Lite
[INFO] webAppSourceDirectory not set. Trying src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] nonBlocking:false
[INFO] Classes = /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes
[INFO] Context path = /autosparql-lite
[INFO] Tmp directory = /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp
[INFO] jetty-9.4.8.v20171121, build timestamp: 2017-11-22T05:27:37+08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@495cac83{/autosparql-lite,[file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp/, file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes/],UNAVAILABLE}{[file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/src/main/webapp/, file:///home/cuixy/tbsl/AutoSPARQL-develop/autosparql-tbsl/target/classes/]}
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open (Native Method)
at java.util.zip.ZipFile. (ZipFile.java:225)
at java.util.zip.ZipFile. (ZipFile.java:155)
at java.util.jar.JarFile. (JarFile.java:166)
at java.util.jar.JarFile. (JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile. (URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile (URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get (JarFileFactory.java:99)
at sun.net.www.protocol.jar.JarURLConnection.connect (JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile (JarURLConnection.java:89)
at org.eclipse.jetty.webapp.MetaInfConfiguration.getTlds (MetaInfConfiguration.java:438)
at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForTlds (MetaInfConfiguration.java:355)
at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars (MetaInfConfiguration.java:173)
at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure (MetaInfConfiguration.java:107)
at org.eclipse.jetty.webapp.WebAppContext.preConfigure (WebAppContext.java:506)
at org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:544)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart (JettyWebAppContext.java:428)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:133)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:115)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:113)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:167)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:133)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:115)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:133)
at org.eclipse.jetty.server.Server.start (Server.java:418)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:107)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart (Server.java:385)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:461)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:327)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute (JettyRunMojo.java:183)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[INFO] Started ServerConnector@1e08f0cd{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @11400ms
[INFO] Started Jetty Server
The text was updated successfully, but these errors were encountered: