欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
drools-dev] Working with decision table
   Inbox
Subir Das 
<subir_k_das@hotmail.com> to dev
 More options   Oct 31 (2 days ago)
Hi,

I‘m trying to work the decision table supported by Drools.
I can run the supplied example in drools-example successfully.

But, if I try to create my own application package and run it, I‘m getting the
following error :

-----------------------------------------------------------------
(null: 1, 292): cvc-elt.1: Cannot find the declaration of element ‘rule-set‘.
Exception in thread "main" org.xml.sax.SAXParseException: no semantic module for
 namespace ‘http://drools.org/rules‘ (import)
       at org.drools.io.RuleSetReader.startElement(RuleSetReader.java:558)
       at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
       at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou
rce)
       at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
       at org.drools.io.RuleSetReader .read(RuleSetReader.java:443)
       at org.drools.io.RuleSetReader.read(RuleSetReader.java:323)
       at org.drools.io.RuleBaseLoader.loadFromReader(RuleBaseLoader.java:313)
       at org.drools.io.RuleBaseLoader.loadFromReader(RuleBaseLoader.java:271)
       at org.drools.io.RuleBaseLoader.loadFromReader(RuleBaseLoader.java:256)
       at org.drools.decisiontable.DecisionTableLoader.loadFromInputStream(Unkn
own Source)
       at com.mybusinessrule.drools.LimitManage
ment.loadRuleBase(LimitManagement.java:39)
       at com.mybusinessrule.drools.LimitManage
ment.main(LimitManagement.java:56)
-----------------------------------------------------------------

Would appreciate if anyone can help me out.

Thanks.

Subir Das


  ReplyForward
Geoffrey Wiseman 
<geoffrey.wiseman@gmail.com> to dev
 More options   Nov 1 (1 day ago)
On 10/31/05, Subir Das <subir_k_das@hotmail.com> wrote:
>
> I‘m trying to work the decision table supported by Drools.
> I can run the supplied example in drools-example successfully.
>
> But, if I try to create my own application package and run it, I‘m getting
> the
> following error :
>
> -----------------------------------------------------------------
> (null: 1, 292): cvc-elt.1: Cannot find the declaration of element
> ‘rule-set‘.
> Exception in thread "main" org.xml.sax.SAXParseException: no semantic
> module for
> namespace ‘
http://drools.org/rules‘ (import)
> at org.drools.io.RuleSetReader.startElement(RuleSetReader.java:558)
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown


Off the top of my head, this looks like your classpath is missing one of the
Drools JARs when running LimitManagement‘s main(). The ‘import‘ declaration
should be part of drools-base.jar, IIRC.

- Geoffrey
--
Geoffrey Wiseman


  ReplyForward
Subir Das 
<subir_k_das@hotmail.com> to dev
 More options   Nov 1 (1 day ago)
Geoffrey Wiseman <geoffrey.wiseman <at> gmail.com> writes:

Off the top of my head, this looks like your classpath is missing one of the
Drools JARs when running LimitManagement‘s main(). The ‘import‘ declaration
should be part of drools-base.jar, IIRC.

- Geoffrey
--
Geoffrey Wiseman

Thanks for your mail,Geoffrey.
Actually, I have figured out the problem.
The ‘rules.xsd‘ file was not present in the META-INF folder.

Cheers.

Subir




  ReplyForward
Geoffrey Wiseman 
<geoffrey.wiseman@gmail.com> to dev
 More options   Nov 1 (1 day ago)
On 10/31/05, Subir Das <subir_k_das@hotmail.com> wrote:
>
> Thanks for your mail,Geoffrey.
> Actually, I have figured out the problem.
> The ‘rules.xsd‘ file was not present in the META-INF folder.
>

It should be present in the META-INF of drools-base.jar; are you adding it
explicitly to your own application?


- Geoffrey
--
Geoffrey Wiseman


  ReplyForward
Subir Das 
<subir_k_das@hotmail.com> to dev
 More options   Nov 1 (13 hours ago)
Geoffrey Wiseman <geoffrey.wiseman <at> gmail.com> writes:


 On 10/31/05, Subir Das <subir_k_das <at> hotmail.com> wrote:
 >
 > Thanks for your mail,Geoffrey.
 > Actually, I have figured out the problem.
 > The ‘rules.xsd‘ file was not present in the META-INF folder.
 >

 It should be present in the META-INF of drools-base.jar; are you adding it
 explicitly to your own application?

 - Geoffrey
 --
 Geoffrey Wiseman

Yes. Otherwise, I‘m getting that error.

Subir
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
hibernate開(kāi)發(fā)遇到的錯誤及解決辦法
運行heritrix1.14.4報錯 thread-10 org.archive.util...
Invalid byte 3 of 3
驗證 XML 是否符合 Schema
MyEclipse8.5添加tomcat7
Java XML API 漫談
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久