Struts2 AnnotationValidationInterceptor

后端 未结 1 1921
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-24 04:01

I am having a frustrating time implementing struts2-jquery-plugin-3.6.0 into a Struts2 2.3.14.3 website. I recently updated the Struts2 version to 2.3.14.3, and all its depende

1条回答
  •  北海茫月
    2021-01-24 04:49

    I had a similar Problem and want to post my findings:

    You are behind a proxy. Start your server with

    JAVA_OPTS='-Dhttp.proxyHost=your.proxy -Dhttp.proxyPort=your.port -Dhttps.proxyHost=your.proxy -Dhttps.proxyPort=your.port'
    

    Then you will get better error messages.

    You'll find out that your Doctype in validators.xml is wrong it must be

     
    

    The Doctype in your *-validation.xml files has to be

     
    

    Note the difference between those two and don't mix it up, like I did.

    hth

    0 讨论(0)
提交回复
热议问题