voyent
Netbeans 6 using icefaces module throw exception on deply  XML
Forum Index -> Tools
Author Message
maxi_ng

Joined: 11/Jan/2008 00:00:00
Messages: 92
Offline



org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd":supports}' is expected.
 


Using the same steps from Developer guide with Netbeans 5.5.1 won't have this problem.
I am trying to shift to Netbeans 6/6.1
frank.ye

Joined: 26/Oct/2004 00:00:00
Messages: 709
Offline


not sure the details, but please validate against the web.xml first.
[Email]
maxi_ng

Joined: 11/Jan/2008 00:00:00
Messages: 92
Offline


I follow the developer guide.
Change web.xml doctype to this.
Code:
 
     <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
     Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
       
 


and then when I add elements like <context-param> to the .xml.
netbeans tells me that the element type is not valid and also when I deploy it to my liferay 4.4.2, it will through xml parse exception.

How to develop portlet of icefaces using JSF 1.2 in netbeans?
isn't what written in the developer guide correct?
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team