-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working in Java 9 or 10 #28
Comments
here is the exact command where we are encountering the error with java 10 curl http://localhost:1443/rest/annotate \ |
The problem was discussed for Java 9 here. I would recommend to use a docker image of spotlight, generally and here as a workaround. Would consider this issue an enhancement. |
Hi Magnus, Thank you for your response. Unfortunately, we are not allowed to use the docker image and we're pushed with the workaround. Regarding workaround, do you have a very simple step for us to re-compile the dbpedia? Many thanks in advance! As for the enhancement, would you be able to provide timeline? Thank you very much! |
Hi Magnus/Any support, Java will end their support in Java 10 and there are vulnerabilities found with this lower version. Just wanted to know where are you at on the enhancement that supports Java 11? Regards, |
We can start a project to migrate it Java 11. What about to help me with it? Please ping me if you are in. Best, |
Hi Sandro, Wow, great idea! But unfortunately, we are not familiar with it as well as the Java language. We are just plainly consuming DBPedia Spotlight for our NLP engine. Are you part of the support? Thanks, |
Hi, Thanks in advance. |
Hi @jaysonfeliciano , @rovicsellado I am commiter in the repo. Unfortunately, we are short on workforce and infrastructure for maintaining the Spotlight service online and up to date. What about to start a crowdfunding campaign to upgrade DBpedia Spotlight to Java 11 and deliver new models? All raised money will be applied to rent cloud servers to keep it running for one year. Please, consider supporting it, especially if you use our solution for commercial purpose. All the best, |
Hi Sandro, Thanks for the proposal, we'll consider this. One question though, what do we mean when we say "to rent cloud servers to keep it running for one year"? Are we going to put the new version of DBPedia Spotlight on the cloud and comsumers will just connect it from there? If so, I think it won't work for us. We need a distributable version of the DBPedia Spotlight that can be installed on our own servers. Thanks, |
Hi @rovicsellado, As always, we intend to continue delivery releases in jar and docker through Docker hub. Beside it, we rent servers to compile new models and made available live endpoints that are used by the community under our demo site All the best, |
Hi Sandro, Thanks for providing the info. By the way if we help in migrating the project to Java 11, how long would the upgrade be and the complexity? What skills are needed? Thanks in advance. |
Hi @rovicsellado, I was thinking about how to have it quickly. DBpedia Spotlight has 3 modules (core, index and rest). Upgrade them in one shot would be no so easy mainly because of Scala library incompatibilities. We can split it into two services: indexing service and REST/query service. The good news is: REST endpoints are almost done here (it is pending unit/integration tests and swagger). It uses Spring boot. So, the work would be move/reimplement the codebase that read/query the language models. What skills are needed?
Best, |
Hi Sandro, In terms of skills you mentioned, we just have limited coding experience in terms of Java and 0 experience on the rest. Not sure how or where we could contribute on this area. Do you have any timeframe we could start the effort and ETC on how long do you think we can do this? Thanks. |
Hello @sandroacoelho, Good day! Any news about this initiative? Thanks. |
Hi,
We are forced to update our java to 10. But after upgrading to java 10, dbpedia spotlight is no longer working. We are getting this error: "ava.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present".
Do you have any suggestions to resolve this?
Thanks,
Jayson
The text was updated successfully, but these errors were encountered: