Re: [xwiki-devs] Compilation Errors in XWiki Core
Try running eclipse:eclipse target for core workspace from mvn to resolve the dependencies and updating the .classpath. On my machine eclipse shows fine for xwiki core. Thanks Sachin ------------------------------
Message: 7 Date: Wed, 26 Mar 2008 10:21:12 -0500 From: "Kamna Jain" <kammy.scorpi@gmail.com> Subject: [xwiki-devs] Compilation Errors in XWiki Core To: devs@xwiki.org Message-ID: <fb681d280803260821x4eca3617s31bc0d75b0d62612@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1
Hello, I am getting the following errors in Eclipse, for the XWiki Core:
FlushMode.MANUAL cannot be resolved XWikiCore/src/com/xpn/xwiki/store XWikiHibernateStore.java line 530 1206460890733 158240 The method getLocalAddr() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiPortletRequest.java line 418 1206460890280 157655 The method getLocalAddr() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiServletRequest.java line 286 1206460890264 157606 The method getLocalName() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiPortletRequest.java line 412 1206460890280 157654 The method getLocalName() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiServletRequest.java line 282 1206460890264 157605 The method getLocalPort() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiPortletRequest.java line 424 1206460890280 157656 The method getLocalPort() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiServletRequest.java line 290 1206460890264 157607 The method getRemotePort() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiPortletRequest.java line 406 1206460890280 157653 The method getRemotePort() is undefined for the type HttpServletRequest XWikiCore/src/com/xpn/xwiki/web XWikiServletRequest.java line 278 1206460890264 157604 The method setCharacterEncoding(String) is undefined for the type HttpServletResponse XWikiCore/src/com/xpn/xwiki/web XWikiPortletResponse.java line 95 1206460891905 160085 The method setCharacterEncoding(String) is undefined for the type HttpServletResponse XWikiCore/src/com/xpn/xwiki/web XWikiServletResponse.java line 100 1206460891686 159694
Can anybody suggest why this is happening. I checked the javadoc for
javax.servlet.http. *HttpServletReques*
and it does not have these methods used in the code. Which class do they belong to?
Thanks
------------------------------
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
End of devs Digest, Vol 9, Issue 91 ***********************************
participants (1)
-
sachin mittal