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

Issue with a jar while compiling or running. #35

Closed Protino closed 8 years ago

Protino commented 8 years ago

This jar : http://opennlp.sourceforge.net/maven2/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar Downloading this jar takes really long time. I've tried compiling both on Linux and windows.

Downloading: http://opennlp.sourceforge.net/maven2/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar
Feb 15, 2016 11:38:50 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://opennlp.sourceforge.net:80: Connection timed out
Feb 15, 2016 11:38:50 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://opennlp.sourceforge.net:80

Is this due to the IPV6 connectivity requirement ?, I hope it is not. I understand that the project is no longer under development but it would be helpful if you resolve this issue.

Protino commented 8 years ago

I'll attach the logs after 6 hours.

LorenzBuehmann commented 8 years ago

What do you mean by IPV6 requirement. It looks like there is some trouble with your connection. I tried to download the jar manually with

wget http://opennlp.sourceforge.net/maven2/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar

It's as fast as expected:

--2016-02-16 09:33:20--  http://opennlp.sourceforge.net/maven2/jwnl/jwnl/1.3.3/jwnl-1.3.3.jar
Resolving opennlp.sourceforge.net (opennlp.sourceforge.net)... 216.34.181.96
Connecting to opennlp.sourceforge.net (opennlp.sourceforge.net)|216.34.181.96|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 170532 (167K) [application/x-java-archive]
Saving to: ‘jwnl-1.3.3.jar’

jwnl-1.3.3.jar                                       100%[========================================================================================================================>] 166.54K   460KB/s   in 0.4s   

2016-02-16 09:33:20 (460 KB/s) - ‘jwnl-1.3.3.jar’ saved [170532/170532]
Protino commented 8 years ago

Yea there was some problem with my college LAN. Anyways, it downloaded that jar and now there is a new issue.

``

 ./compile

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building autosparql-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.5.2/maven-install-plugin-2.5.2.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.5.2/maven-install-plugin-2.5.2.pom (7 KB at 0.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/25/maven-plugins-25.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/25/maven-plugins-25.pom (10 KB at 19.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/24/maven-parent-24.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/24/maven-parent-24.pom (37 KB at 50.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/14/apache-14.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/apache/14/apache-14.pom (0 B at 0.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.5.2/maven-install-plugin-2.5.2.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.5.2/maven-install-plugin-2.5.2.jar (33 KB at 45.6 KB/sec)
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ autosparql-parent ---
Downloading: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Downloaded: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom (0 B at 0.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom (4 KB at 8.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.pom (4 KB at 6.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.jar
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
Downloaded: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar (228 KB at 118.1 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.jar (152 KB at 70.5 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar (234 KB at 100.0 KB/sec)
[INFO] Installing /home/gurupad/Documents/AutoSPARQL/pom.xml to /home/gurupad/.m2/repository/org/aksw/autosparql/autosparql-parent/1.0-SNAPSHOT/autosparql-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.962 s
[INFO] Finished at: 2016-02-16T21:17:48+05:30
[INFO] Final Memory: 10M/119M
[INFO] ------------------------------------------------------------------------
: No such file or directoryons
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building autosparql-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ autosparql-parent ---
[INFO] Installing /home/gurupad/Documents/AutoSPARQL/pom.xml to /home/gurupad/.m2/repository/org/aksw/autosparql/autosparql-parent/1.0-SNAPSHOT/autosparql-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.267 s
[INFO] Finished at: 2016-02-16T21:17:49+05:30
[INFO] Final Memory: 7M/150M
[INFO] ------------------------------------------------------------------------
: No such file or directorylgorithm-tbsl
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building autosparql-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ autosparql-parent ---
[INFO] Installing /home/gurupad/Documents/AutoSPARQL/pom.xml to /home/gurupad/.m2/repository/org/aksw/autosparql/autosparql-parent/1.0-SNAPSHOT/autosparql-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.259 s
[INFO] Finished at: 2016-02-16T21:17:50+05:30
[INFO] Final Memory: 7M/150M
[INFO] ------------------------------------------------------------------------
: No such file or directoryutosparql-tbsl
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building autosparql-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ autosparql-parent ---
[INFO] Installing /home/gurupad/Documents/AutoSPARQL/pom.xml to /home/gurupad/.m2/repository/org/aksw/autosparql/autosparql-parent/1.0-SNAPSHOT/autosparql-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.272 s
[INFO] Finished at: 2016-02-16T21:17:51+05:30
[INFO] Final Memory: 7M/150M
[INFO] ------------------------------------------------------------------------
[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/gurupad/Documents/AutoSPARQL/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] Reactor Build Order:
[INFO] 
[INFO] autosparql-parent
[INFO] commons
[INFO] algorithm-tbsl
[INFO] AutoSPARQL Lite
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building autosparql-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- gwt-maven-plugin:2.3.0:compile (default-cli) @ autosparql-parent ---
[INFO] GWT compilation is skipped
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building commons 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom (5 KB at 3.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.jar (21 KB at 28.7 KB/sec)
[INFO] 
[INFO] --- gwt-maven-plugin:2.3.0:compile (default-cli) @ commons ---
[WARNING] GWT plugin is configured to detect modules, but none were found.
[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] --- gwt-maven-plugin:2.3.0:compile (default-cli) @ algorithm-tbsl ---
[WARNING] GWT plugin is configured to detect modules, but none were found.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building AutoSPARQL Lite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for simplenlg:simplenlg:jar:4.4.3-1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] autosparql-parent .................................. SUCCESS [  0.647 s]
[INFO] commons ............................................ SUCCESS [  2.566 s]
[INFO] algorithm-tbsl ..................................... SUCCESS [  0.048 s]
[INFO] AutoSPARQL Lite .................................... FAILURE [  0.103 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.632 s
[INFO] Finished at: 2016-02-16T21:17:56+05:30
[INFO] Final Memory: 27M/264M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project autosparql-tbsl: Could not resolve dependencies for project org.aksw.autosparql:autosparql-tbsl:war:1.0-SNAPSHOT: Failure to find simplenlg:simplenlg:jar:4.4.3-1 in http://maven.vaadin.com/vaadin-addons was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-addons has elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :autosparql-tbsl
: No such file or directory

``

Should I create this as a new issue?

gone-phishing commented 8 years ago

Any update on this issue?

KonradHoeffner commented 8 years ago

It seems to be a problem with a dependency, https://github.com/AKSW/SPARQL2NL, which itself has a dependency to simplenlg 4.4.3-1, but this version does not exist. I will ask the maintainers about the situation.

iampkuhz commented 8 years ago

faced with same issue, hope to be updated soon!

gone-phishing commented 8 years ago

There are already too many issues with SPARQL2NL, simplenlg compiles fine

KonradHoeffner commented 8 years ago

Unfortunately, SPARQL2NL is not maintained anymore. When I find the time I will see if I can remove it as it is not required for the core functionality.

KonradHoeffner commented 8 years ago

I found a different repository also hosting SPARQL2NL. Changing the dependency to the following fixed the compilation problem in the last commit

<groupId>org.aksw.sparql2nl</groupId>
<artifactId>sparql2nl</artifactId>
<version>0.0.1-SNAPSHOT</version>

Please note that while it should compile now, there may be different problems regarding external services used, as this project is officially not maintained anymore.