I am getting below error, when I am trying to generate EJBs for Weblogic by using the BEA wlappc
ant task,
FYI,
"wlappc" ant task is like below,
<target .....>
<taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc" classpath="${classpath}"/>
<wlappc source="${ejb.dir}" deprecation="true" verbose="true" classpath="${classpath}" debug="${debug}"/>
</target>
can any one help me out, please
Error Message when above task runs:-
<Error> <
J2EE> <BEA-160197> <Unable to load descriptor ../ejb-jar.xml of module ejb. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
wlappc problem: cvc-datatype-valid.1.1:
string value 'ejb display name' does not match
pattern for ejb-nameType in namespace
http://java.sun.com/xml/ns/javaee:<null>
wlappc problem: Key ejb-name-key@http://java.sun.com/xml/ns/javaee is missing field with xpath: 'javaee:ejb-name':<null>
Note:- it's working in weblogic8 but in weblogic 10.x I am getting this above error...