The error contains the line number and character position:
/pages/inputname.jsp (line: 3, column: 50)
In this way,
<f:loadBundle var="test.bundle.messages" var="msg"/>
-------------------------------------------------^
The error message says:
Attribute qualified names must be unique within an element
Look again, you have twice declared an attribute var. The first one should be basename. Correct it accordingly:
<f:loadBundle basename="test.bundle.messages" var="msg"/>
, 2,5 JSF JSF 2.0, JSP Facelets. / //. .