0 votes
53 views
asked in WebService by

Hi 

 My application.xml showing he below error. Can any one help to resolve this issue

Invalid content was found starting with element 'library-directory'. application.xml

1 Answer

0 votes
answered by (8.2k points)

Hi

  Starting from JavaEE 5, you can specify a directory inside the an EAR file to hold jar files that can be used by all modules of that EAR. You have to change xml refernce like below 

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd">


</application>

Categories

...