title: Cannot resolve the name ... to a(n) 'type definition' component
body: <p>I want to import code from a WSDL file with wsimport, but i receiving this error below.</p>
  
  <blockquote>
    <p>[WARNING] src-resolve: Cannot resolve the name  'impl:ArrayOf_tns1_IndicadorVO' to a(n) 'type definition' component.</p>
  </blockquote>
  
  <p>Here's the WSDL file...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;wsdl:definitions targetNamespace="http://ws.cnmpind.cnmp.gov.br" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://ws.cnmpind.cnmp.gov.br" xmlns:intf="http://ws.cnmpind.cnmp.gov.br" xmlns:tns1="http://vo.ws.cnmpind.cnmp.gov.br" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;!--WSDL created by Apache Axis version: 1.4
  Built on Apr 22, 2006 (06:55:48 PDT)--&gt;
   &lt;wsdl:types&gt;
    &lt;schema elementFormDefault="qualified" targetNamespace="http://ws.cnmpind.cnmp.gov.br" xmlns="http://www.w3.org/2001/XMLSchema"&gt;
     &lt;import namespace="http://vo.ws.cnmpind.cnmp.gov.br"/&gt;
     &lt;element name="getQuestionariosDisponiveis"&gt;
      &lt;complexType&gt;
       &lt;sequence&gt;
        &lt;element name="email" type="xsd:string"/&gt;
        &lt;element name="senha" type="xsd:string"/&gt;
        &lt;element name="dataInicio" type="xsd:string"/&gt;
        &lt;element name="dataFinal" type="xsd:string"/&gt;
        &lt;element name="areaAtuacao" type="xsd:string"/&gt;
       &lt;/sequence&gt;
      &lt;/complexType&gt;
     &lt;/element&gt;
     &lt;element name="getQuestionariosDisponiveisResponse"&gt;
      &lt;complexType&gt;
       &lt;sequence&gt;
        &lt;element maxOccurs="unbounded" name="getQuestionariosDisponiveisReturn" type="tns1:QuestionarioVO"/&gt;
       &lt;/sequence&gt;
      &lt;/complexType&gt;
     &lt;/element&gt;
     &lt;complexType name="ArrayOf_tns1_IndicadorVO"&gt;
      &lt;sequence&gt;
       &lt;element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:IndicadorVO"/&gt;
      &lt;/sequence&gt;
     &lt;/complexType&gt;
     &lt;element name="salvaRespostasQuestionarios"&gt;
      &lt;complexType&gt;
       &lt;sequence&gt;
        &lt;element name="email" type="xsd:string"/&gt;
        &lt;element name="senha" type="xsd:string"/&gt;
        &lt;element name="dataInicio" type="xsd:string"/&gt;
        &lt;element name="dataFinal" type="xsd:string"/&gt;
        &lt;element name="areaAtuacao" type="xsd:string"/&gt;
        &lt;element maxOccurs="unbounded" name="questionarios" type="tns1:QuestionarioVO"/&gt;
       &lt;/sequence&gt;
      &lt;/complexType&gt;
     &lt;/element&gt;
     &lt;element name="salvaRespostasQuestionariosResponse"&gt;
      &lt;complexType/&gt;
     &lt;/element&gt;
    &lt;/schema&gt;
    &lt;schema elementFormDefault="qualified" targetNamespace="http://vo.ws.cnmpind.cnmp.gov.br" xmlns="http://www.w3.org/2001/XMLSchema"&gt;
     &lt;import namespace="http://ws.cnmpind.cnmp.gov.br"/&gt;
     &lt;complexType name="IndicadorVO"&gt;
      &lt;sequence&gt;
       &lt;element name="descricaoDescritor" nillable="true" type="xsd:string"/&gt;
       &lt;element name="id" type="xsd:long"/&gt;
       &lt;element name="idDescritor" type="xsd:int"/&gt;
       &lt;element name="idIndicadorPai" type="xsd:long"/&gt;
       &lt;element name="idQuestionario" type="xsd:long"/&gt;
       &lt;element name="nomeDescritor" nillable="true" type="xsd:string"/&gt;
       &lt;element name="ordem" type="xsd:int"/&gt;
       &lt;element name="tamanhoDescritor" nillable="true" type="xsd:decimal"/&gt;
       &lt;element name="tipoDescritor" nillable="true" type="xsd:string"/&gt;
       &lt;element name="valor" nillable="true" type="xsd:decimal"/&gt;
      &lt;/sequence&gt;
     &lt;/complexType&gt;
     &lt;complexType name="QuestionarioVO"&gt;
      &lt;sequence&gt;
       &lt;element name="aberto" type="xsd:boolean"/&gt;
       &lt;element name="dataAtualizacao" nillable="true" type="xsd:string"/&gt;
       &lt;element name="dataInicio" nillable="true" type="xsd:string"/&gt;
       &lt;element name="dataTermino" nillable="true" type="xsd:string"/&gt;
       &lt;element name="descricaoArea" nillable="true" type="xsd:string"/&gt;
       &lt;element name="id" type="xsd:long"/&gt;
       &lt;element name="idArea" type="xsd:int"/&gt;
       &lt;element name="idUnidade" type="xsd:int"/&gt;
       &lt;element name="indicadores" nillable="true" type="impl:ArrayOf_tns1_IndicadorVO"/&gt;
       &lt;element name="nomeArea" nillable="true" type="xsd:string"/&gt;
       &lt;element name="nomeUnidade" nillable="true" type="xsd:string"/&gt;
       &lt;element name="nomeUsuarioAtualizacao" nillable="true" type="xsd:string"/&gt;
       &lt;element name="siglaUnidade" nillable="true" type="xsd:string"/&gt;
      &lt;/sequence&gt;
     &lt;/complexType&gt;
    &lt;/schema&gt;
   &lt;/wsdl:types&gt;
  
     &lt;wsdl:message name="salvaRespostasQuestionariosResponse"&gt;
  
        &lt;wsdl:part element="impl:salvaRespostasQuestionariosResponse" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="getQuestionariosDisponiveisResponse"&gt;
  
        &lt;wsdl:part element="impl:getQuestionariosDisponiveisResponse" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="getQuestionariosDisponiveisRequest"&gt;
  
        &lt;wsdl:part element="impl:getQuestionariosDisponiveis" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:message name="salvaRespostasQuestionariosRequest"&gt;
  
        &lt;wsdl:part element="impl:salvaRespostasQuestionarios" name="parameters"/&gt;
  
     &lt;/wsdl:message&gt;
  
     &lt;wsdl:portType name="QuestionarioWS"&gt;
  
        &lt;wsdl:operation name="getQuestionariosDisponiveis"&gt;
  
           &lt;wsdl:input message="impl:getQuestionariosDisponiveisRequest" name="getQuestionariosDisponiveisRequest"/&gt;
  
           &lt;wsdl:output message="impl:getQuestionariosDisponiveisResponse" name="getQuestionariosDisponiveisResponse"/&gt;
  
        &lt;/wsdl:operation&gt;
  
        &lt;wsdl:operation name="salvaRespostasQuestionarios"&gt;
  
           &lt;wsdl:input message="impl:salvaRespostasQuestionariosRequest" name="salvaRespostasQuestionariosRequest"/&gt;
  
           &lt;wsdl:output message="impl:salvaRespostasQuestionariosResponse" name="salvaRespostasQuestionariosResponse"/&gt;
  
        &lt;/wsdl:operation&gt;
  
     &lt;/wsdl:portType&gt;
  
     &lt;wsdl:binding name="QuestionarioWSSoapBinding" type="impl:QuestionarioWS"&gt;
  
        &lt;wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
  
        &lt;wsdl:operation name="getQuestionariosDisponiveis"&gt;
  
           &lt;wsdlsoap:operation soapAction=""/&gt;
  
           &lt;wsdl:input name="getQuestionariosDisponiveisRequest"&gt;
  
              &lt;wsdlsoap:body use="literal"/&gt;
  
           &lt;/wsdl:input&gt;
  
           &lt;wsdl:output name="getQuestionariosDisponiveisResponse"&gt;
  
              &lt;wsdlsoap:body use="literal"/&gt;
  
           &lt;/wsdl:output&gt;
  
        &lt;/wsdl:operation&gt;
  
        &lt;wsdl:operation name="salvaRespostasQuestionarios"&gt;
  
           &lt;wsdlsoap:operation soapAction=""/&gt;
  
           &lt;wsdl:input name="salvaRespostasQuestionariosRequest"&gt;
  
              &lt;wsdlsoap:body use="literal"/&gt;
  
           &lt;/wsdl:input&gt;
  
           &lt;wsdl:output name="salvaRespostasQuestionariosResponse"&gt;
  
              &lt;wsdlsoap:body use="literal"/&gt;
  
           &lt;/wsdl:output&gt;
  
        &lt;/wsdl:operation&gt;
  
     &lt;/wsdl:binding&gt;
  
     &lt;wsdl:service name="QuestionarioWSService"&gt;
  
        &lt;wsdl:port binding="impl:QuestionarioWSSoapBinding" name="QuestionarioWS"&gt;
  
           &lt;wsdlsoap:address location="http://aplicativos.cnmp.gov.br/cnmpind/services/QuestionarioWS"/&gt;
  
        &lt;/wsdl:port&gt;
  
     &lt;/wsdl:service&gt;
  
  &lt;/wsdl:definitions&gt;
  </code></pre>
  
  <p>Someone can give me some light? Thanks!</p>
  
  <p><strong>EDIT 1:</strong></p>
  
  <p>This is just a warning. The true error is</p>
  
  <blockquote>
    <p>package-info.java:1: error: error while writing package-info: could
    not create parent directories
    @javax.xml.bind.annotation.XmlSchema(namespace =
    "<a href="http://ws.cnmpind.cnmp.gov.br" rel="nofollow">http://ws.cnmpind.cnmp.gov.br</a>", elementFormDefault =
    javax.xml.bind.annotation.XmlNsForm.QUALIFIED)</p>
  </blockquote>
  
  <p>So, the code was generated, but the error happens when compiling.</p>