问题描述
我的项目依赖于Drools 5.6.0.Final版本.作为其一部分,我试图找到一个我可以依赖于drools-spring.xsd
文件的uri.我正在尝试为该文件找到可靠的URI,以便日食不会出现问题,以便spring也可以拦截请求,并在其认为合适的情况下替换jar中的文件.
My project depends on drools 5.6.0.Final version. As part of that I'm trying to find a uri that I can rely for the drools-spring.xsd
file. I'm trying to locate a reliable URI for that file I can reference, so that eclipses doesn't show issues, and so that spring can also intercept the requests and replace with the files in the jar as it sees fit.
我可以在eclipse中钻入drools-spring-5.6.0.Final.jar,并在org.drools.container.spring
中查看xsd文件.我还可以在这里看到xsd文件: http://grepcode.com/file_/repository.jboss.org/nexus/content/repositories/版本/org.drools/drools-spring/5.6.0.Final/org/drools/container/spring/drools-spring.xsd/?v=source
I can drill into drools-spring-5.6.0.Final.jar in eclipse and see the xsd files in org.drools.container.spring
. I also can see the xsd file here: http://grepcode.com/file_/repository.jboss.org/nexus/content/repositories/releases/org.drools/drools-spring/5.6.0.Final/org/drools/container/spring/drools-spring.xsd/?v=source
转到drools.org并跟随其指向github的链接,并按照自述文件中显示的其组的重命名为 https ://github.com/kiegroup .我已经在该组中搜索了xsd文件,但是没有运气.例如 https://github.com/kiegroup/droolsjbpm-integration/find/5.6.0.Final 和 https://github.com/kiegroup/drools/find/5.6.0.Final
Going to drools.org and following their link to github and follow the rename of their group shown in the README file to https://github.com/kiegroup. I've searched this group for the xsd file(s) but have had no luck. e.g. https://github.com/kiegroup/droolsjbpm-integration/find/5.6.0.Final and https://github.com/kiegroup/drools/find/5.6.0.Final
这让我觉得xsd文件产生了吗?有人可以确认这一点吗?如果可以的话,是否有我可以参考的可靠URI?
This makes me think that the xsd files are generated? Can someone confirm this and if so, is there a reliable URI that I can reference for this?
推荐答案
在drools网站上的drools-spring.xsd文件位置将给您404错误.您可以通过以下两种方法在网上搜索时找到.
The drools-spring.xsd file location on drools website will give you a 404 error. You can have below two approaches which i could find while searching on the net.
一个:将文件托管在本地计算机上
One : Host the file on your local machine
二:将.xsd文件与引用它的xml文件的位置放置在同一目录中.
Two : Place the .xsd file in the same directory as the location of the xml file referencing it.
请参考以下信息.这样可以更好地理解上述两种方法.
Please refer to the below information . This will give a better understanding of the two methods mentioned above.
这篇关于Drools-spring.xsd在git hub上的位置(或可靠来源)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!