<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    El 14/05/12 11:20, Leticia Riestra Ainsua escribi&oacute;:
    <blockquote
cite="mid:CAOS71n+J7EP+CwY9=+_S2JAFRDQj_9NVSnPhyKyN1a5fPuS1TA@mail.gmail.com"
      type="cite"><br>
      <div>Hola</div>
      <div>Estamos trabajando sobre gvSIG 2.0.0 con el build 2046 sobre
        Windows.</div>
      <div><br>
      </div>
      <div>Estamos creando un m&oacute;dulo de impresi&oacute;n que usa la la clase
        FLayoutUtilities.</div>
      <div>En el pom de nuestra extensi&oacute;n hemos a&ntilde;adido la dependencia:</div>
      <div><br>
      </div>
      <div>
        <p class="MsoNormal" style="margin-bottom:0.0001pt"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">dependency</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"></span></p>
        <p class="MsoNormal"
style="margin-top:0cm;margin-right:0cm;margin-left:35.4pt;margin-bottom:0.0001pt"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">groupId</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10pt;font-family:'Courier New'">org.gvsig</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;/</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">groupId</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"></span></p>
        <p class="MsoNormal"
style="margin-top:0cm;margin-right:0cm;margin-left:35.4pt;margin-bottom:0.0001pt"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">artifactId</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10pt;font-family:'Courier New'">org.gvsig.app.document.layout.app.mainplugin</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;/</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">artifactId</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"></span></p>
        <p class="MsoNormal"
style="margin-top:0cm;margin-right:0cm;margin-left:35.4pt;margin-bottom:0.0001pt"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">version</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10pt;font-family:'Courier New'">2.0.0-SNAPSHOT</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;/</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">version</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"></span></p>
        <p class="MsoNormal"
style="margin-top:0cm;margin-right:0cm;margin-left:35.4pt;margin-bottom:0.0001pt"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">scope</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10pt;font-family:'Courier New'">compile</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&lt;/</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:#3f7f7f">scope</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:teal">&gt;</span><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"></span></p>
        <span
          style="font-size:10.0pt;line-height:115%;font-family:&quot;Courier
          New&quot;;color:teal">&lt;/</span><span
          style="font-size:10.0pt;line-height:115%;font-family:&quot;Courier
          New&quot;;color:#3f7f7f">dependency</span><span
          style="font-size:10.0pt;line-height:115%;font-family:&quot;Courier
          New&quot;;color:teal">&gt;</span></div>
      <div><span
          style="font-size:10.0pt;line-height:115%;font-family:&quot;Courier
          New&quot;;color:teal"><br>
        </span></div>
      <div>El c&oacute;digo donde nos falla es el siguiente:</div>
      <div><br>
      </div>
      <div><i><span
style="font-size:11.0pt;line-height:115%;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">double
            escalaVista =
            FLayoutUtilities.getScaleView(nuevoViewPort,
            anchoMapaCm/proporcion,anchoMapaPixels);</span></i></div>
      <div><i><span
style="font-size:11.0pt;line-height:115%;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
          </span></i></div>
      <div>En tiempo de compilaci&oacute;n no hay ning&uacute;n fallo pero en tiempo
        de ejecuci&oacute;n, cuando intenta acceder al m&eacute;todo getScaleView, se
        produce el siguiente fallo</div>
      <div><br>
      </div>
      <div>
        <p class="MsoNormal" style="margin-bottom:0.0001pt"><span
            style="font-size:10pt;font-family:'Courier New'">org/gvsig/app/project/documents/layout/FLayoutUtilities</span><span
            style="font-size:10.0pt;font-family:&quot;Courier New&quot;"></span></p>
        <p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span
            style="font-size: 10pt; font-family: 'Courier New';">java.lang.NoClassDefFoundError:
            org/gvsig/app/project/documents/layout/FLayoutUtilities</span></p>
      </div>
    </blockquote>
    ...<br>
    <blockquote
cite="mid:CAOS71n+J7EP+CwY9=+_S2JAFRDQj_9NVSnPhyKyN1a5fPuS1TA@mail.gmail.com"
      type="cite">
      <div><span
          style="font-size:10pt;line-height:115%;font-family:'Courier
          New'"><br>
        </span></div>
      <div>Hemos comprabado el contenido del jar en el repositorio de
        maven y al abrirlo observamos que aparece la clase
        FLayoutUtilities</div>
      <div><br>
      </div>
      <div>&iquest;Se os ocurre cual puede ser el problema?</div>
      <div><br>
      </div>
      <div>Muchas gracias</div>
      <div><br>
      </div>
      -- <br>
      Leticia Riestra Ainsua
      <div>
        <div><i>Laboratorio de Bases de Datos A Coru&ntilde;a</i></div>
        <div><i>Tlfono: 981 16 70 00 Ext: 1386</i></div>
      </div>
    </blockquote>
    <br>
    Hola Leticia.<br>
    <br>
    El documento layout antes iba dentro del plugin org.gvsig.app, pero
    ahora va en su propio plugin
    (org.gvsig.app.document.layout.app.mainplugin), por lo que tendr&eacute;is
    que a&ntilde;adir la dependencia con dicho plugin en el config.xml del
    vuestro.<br>
    <br>
    Saludos.<br>
    <pre class="moz-signature" cols="72">-- 
C&egrave;sar Ordi&ntilde;ana Navarro
gvSIG software architect
DiSiD Technologies (<a class="moz-txt-link-freetext" href="http://www.disid.com">http://www.disid.com</a>)
</pre>
  </body>
</html>