Salve.
Sto cercando di capire come risolvere un errore nel file cxf-servlet di un progetto jax-ws
L'errore che mi evidenzia eclipse in fase di compilazione sul tag di :codice:<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:cxf="http://cxf.apache.org/core" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd"> <import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> <jaxws:endpoint id="ordini" implementor="org.magazzino.first.OrdiniImpl" address="/GestioneOrdini" /> <cxf:bus> <cxf:features> <cxf:logging /> </cxf:features> </cxf:bus> </beans>
è il seguente:codice:<jaxws:endpoint id="ordini" implementor="org.magazzino.first.OrdiniImpl" address="/GestioneOrdini" />
Mentre al tag <cxf:bus> mi da il seguente errore sempre in fase di compliazione:codice:Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaxws:endpoint'. - schema_reference.4: Failed to read schema document 'http://cxf.apache.org/schemas/jaxws.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Grazie per qualsiasi aiuto.codice:Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://cxf.apache.org/schemas/core.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'cxf:bus'.

Rispondi quotando