inception-project / inception

INCEpTION provides a semantic annotation platform offering intelligent annotation assistance and knowledge management.
https://inception-project.github.io
Apache License 2.0
593 stars 151 forks source link

Document import fails for HTML files #679

Closed mbugert closed 5 years ago

mbugert commented 5 years ago

Describe the bug Importing an HTML document yields: Error while uploading document some.html: IllegalArgumentException: Errors initializing [class de.tudarmstadt.ukp.dkpro.core.io.html.HtmlReader] Failed to convert property value of type 'java.lang.String' to required type 'java.net.URL' for property 'inputURL'; nested exception is java.lang.IllegalArgumentException: Could not retrieve URL for class path resource [srv/inception-stable/repository/project/146/document/9109/source]: class path resource [srv/inception-stable/repository/project/146/document/9109/source] cannot be resolved to URL because it does not exist

To Reproduce Steps to reproduce the behavior:

  1. Create new project
  2. Attempt to import some HTML file

Expected behavior Import succeeds.

Please complete the following information:

reckart commented 5 years ago

Ouch... for some reason INCEpTION is drawing in an ancient version of the DKPro Core HTML module - not a current one. Thanks for reporting!