I tried to update the maven project, but got an error in .taglib.xml file. In windows computer this error does not appear, but it was happened in my macbook. Please see as below.
This code in taglib.xml file.
<?xml version="1.0" encoding="UTF-8"?>
<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
version="2.0">
<namespace>http://primefaces.org/babylon</namespace>
<tag>
<description><![CDATA[Menu is a navigation component for Babylon Layout.]]></description>
<tag-name>menu</tag-name>
<component>
<component-type>org.primefaces.component.BabylonMenu</component-type>
<renderer-type>org.primefaces.component.BabylonMenuRenderer</renderer-type>
</component>
<attribute>
<description><![CDATA[Unique identifier of the component in a namingContainer.]]></description>
<name>id</name>
<required>false</required>
<type>java.lang.String</type>
</attribute>
<attribute>
<description><![CDATA[Boolean value to specify the rendering of the component, when set to false component will not be rendered.]]></description>
<name>rendered</name>
<required>false</required>
<type>java.lang.Boolean</type>
</attribute>
<attribute>
<description><![CDATA[An el expression referring to a server side UIComponent instance in a backing bean.]]></description>
<name>binding</name>
<required>false</required>
<type>javax.faces.component.UIComponent</type>
</attribute>
<attribute>
<description><![CDATA[Name of the client side widget.]]></description>
<name>widgetVar</name>
<required>false</required>
<type>java.lang.String</type>
</attribute>
<attribute>
<description><![CDATA[A menu model instance to create menu programmatically.]]></description>
<name>model</name>
<required>false</required>
<type>org.primefaces.model.menu.MenuModel</type>
</attribute>
<attribute>
<description><![CDATA[Inline style of the main container element.]]></description>
<name>style</name>
<required>false</required>
<type>java.lang.String</type>
</attribute>
<attribute>
<description><![CDATA[Style class of the main container element.]]></description>
<name>styleClass</name>
<required>false</required>
<type>java.lang.String</type>
</attribute>
<attribute>
<description><![CDATA[Whether the orientation of the menu is horizontal.]]></description>
<name>horizontal</name>
<required>false</required>
<type>java.lang.Boolean</type>
</attribute>
<attribute>
<description><![CDATA[When enabled, scroll state is saved in a cookie for the session. Default is true.]]></description>
<name>statefulScroll</name>
<required>false</required>
<type>java.lang.Boolean</type>
<defaultValue>true</defaultValue>
</attribute>
</tag>
</facelet-taglib>
I'm not sure the library from dependencies in pom.xml of parent project are not added in child project or not?
question from:
https://stackoverflow.com/questions/65847253/how-to-solve-cvc-complex-type-2-4-d-invalid-content-error-in-taglib-xml-file-m 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…