jboss - WildFly cannot find XMLSchema.dtd -


i have war deploying wildfly 10.0.0.cr5 server.

when war packaged, under web-inf/wsdl/dir/dir/ there wsdl, xsd files, , xmlschema.dtd file. 1 of xsds, called xml.xsd, has following @ top of file:

<?xml version='1.0'?> <!doctype xs:schema public "-//w3c//dtd xmlschema 200102//en" "xmlschema.dtd" > <xs:schema targetnamespace="http://www.w3.org/xml/1998/namespace" xmlns:xs="http://www.w3.org/2001/xmlschema" xml:lang="en"> 

when deploy war, fails deploy following exception:

failed start service jboss.deployment.unit."mywar.war".install: org.jboss.msc.service.startexception in service jboss.deployment.unit."mywar.war".install: wflysrv0153: failed process phase install of deployment "mywar.war"  caused by: java.lang.runtimeexception: jbws024076: service {http://my.co.com/2011}myservice, cannot publish wsdl to:  /jboss/wildfly-10.0.0.cr5/standalone/data/wsdl/mywar.war/dir/wsdl/mywsdl.wsdl  caused by: java.io.filenotfoundexception:  /jboss/wildfly-10.0.0.cr5/xmlschema.dtd (no such file or directory) 

looking under /jboss/wildfly-10.0.0.cr5/standalone/data/wsdl/mywar.war/dir/wsdl, don't see xmlschema.dtd file, included in war i'm trying deploy in standalone/deployments folder.

removing <!doctype xs:schema public "-//w3c//dtd xmlschema 200102//en" "xmlschema.dtd" > line fixes issue, i'm looking solution don't have that.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -