我正在开发一个 liferay 门户,我想为每种语言使用不同的域。我已经从 web.xml 修改了 servlet 映射,但我得到了这个错误
Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> http://www.domain.ro/c/portal/protected in security constraint
at org.apache.catalina.core.StandardContext.addConstraint(StandardContext.java:2869)
at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1244)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
你能帮我么?