Ok. Me funciono. Yo lo habia copiado solamente a $JAVA_HOME/lib, y hacia falta copiarlo al otro directorio. Bueno, mi nuevo problema, se produce compilando extGPE-gvSIG. Me dice: [artifact:mvn] /instalar/gvsig2.0/workspace/extGPE-gvSIG/src/org/gvsig/fmap/dal/store/gpe/DALGPELibrary.java:[42,-1] cannot access org.gvsig.xmlschema.lib.impl.DefaultXMLSchemaLibrary [artifact:mvn] bad class file: /root/.m2/repository/org/gvsig/org.gvsig.xmlschema.lib.impl/2.0-SNAPSHOT/org.gvsig.xmlschema.lib.impl-2.0-SNAPSHOT.jar(org/gvsig/xmlschema/lib/impl/DefaultXMLSchemaLibrary.class) [artifact:mvn] class file has wrong version 50.0, should be 49.0
Daria la impresion que DefaultXMLSchemaLibrary.class está en version 1.4 del compilador, o algo asi. Me posicione en .m2/repository/org/gvsig/org.gvsig.xmlschema.lib.impl/2.0-SNAPSHOT, y renombre el jar que contiene a esta clase (que es el nombrado en el error, pero, el error, volvio a darse. Me imagino que el proceso, simplemente, vuelve a traer la clase desde el repositorio, y la reemplaza. Tal vez, la solucion sea recompilar la clase con la version correcta y regenerar el jar, pero, no me doy cuenta "como"... El 24 de febrero de 2010 04:56, Juan Luis Rodríguez <[email protected]>escribió: > > > El 24 de febrero de 2010 00:55, Jorge Infante <[email protected]>escribió: > > Bueno, pude resolver el problema anterior. >> Ahora tengo uno nuevo: >> >> >> [artifact:mvn] [INFO] Failed to resolve artifact. >> [artifact:mvn] Missing: >> [artifact:mvn] ---------- >> [artifact:mvn] 1) jre:javaws:jar:any >> >> [artifact:mvn] Try downloading the file manually from the project >> website. >> [artifact:mvn] Then, install it using the command: >> [artifact:mvn] mvn install:install-file -DgroupId=jre >> -DartifactId=javaws -Dversion=any -Dpackaging=jar -Dfile=/path/to/file >> >> [artifact:mvn] Alternatively, if you host your own repository you can >> deploy the file there: >> [artifact:mvn] mvn deploy:deploy-file -DgroupId=jre >> -DartifactId=javaws -Dversion=any -Dpackaging=jar -Dfile=/path/to/file >> -Durl=[url] -DrepositoryId=[id] >> >> [artifact:mvn] Path to dependency: >> [artifact:mvn] 1) org.gvsig:org.gvsig.andami:jar:2.0-SNAPSHOT >> [artifact:mvn] 2) jre:javaws:jar:any >> >> [artifact:mvn] ---------- >> [artifact:mvn] 1 required artifact is missing. >> [artifact:mvn] for artifact: >> [artifact:mvn] org.gvsig:org.gvsig.andami:jar:2.0-SNAPSHOT >> >> [artifact:mvn] from the specified remote repositories: >> [artifact:mvn] central (http://repo1.maven.org/maven2), >> [artifact:mvn] gvsig-public-http-repository ( >> http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository >> ), >> [artifact:mvn] osgeo (http://download.osgeo.org/webdav/geotools) >> [artifact:mvn] [INFO] >> ------------------------------------------------------------------------ >> [artifact:mvn] [INFO] For more information, run Maven with the -e switch >> [artifact:mvn] [INFO] >> ------------------------------------------------------------------------ >> [artifact:mvn] [INFO] Total time: 54 seconds >> [artifact:mvn] [INFO] Finished at: Tue Feb 23 21:51:25 ARST 2010 >> [artifact:mvn] [INFO] Final Memory: 87M/179M >> >> [artifact:mvn] [INFO] >> ------------------------------------------------------------------------ >> >> BUILD FAILED >> /instalar/gvsig2.0/workspace/build/ant-tasks/maven-goals.xml:29: The >> following error occurred while executing this line: >> >> /instalar/gvsig2.0/workspace/build/ant-tasks/ant-tasks-config.xml:71: Java >> returned: 1 >> >> Yo me descargue el jaws, ejecuté la instalación indicada, pero, sigue >> manteniendose el error. >> Me pueden dar alguna pista? >> gracias de antemano... >> > > > Este problema parece que se debe a que la versión del JDK de Sun viene en > los paquetes de Ubuntu 64 bits no incluye el archivo javaws.jar. Según este > hilo [1] hay que descargarse manualmente la versión del jdk de 32 bits [2] > y copiar el archivo javaws.jar a $JAVA_HOME/lib/javaws.jar o > $JAVA_HOME/jre/lib/javaws.jar. > > [1] > http://n2.nabble.com/Problemas-al-compilar-gvSIG-2-0-tp4163902p4168605.html > [2] http://java.sun.com/javase/downloads/index_jdk5.jsp > > > > -- > Juan Luis Rodríguez Ponce > Área de Operaciones > > Emergya Consultoría > Tel. +34 954 51 75 77 / +34 607 43 74 27 > Fax: +34 954 51 64 73 > www.emergya.es > > _______________________________________________ > gvSIG_desarrolladores mailing list > [email protected] > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores > > -- ==Tome nota de mi nuevo número de teléfono: +549-341-5115422.==
_______________________________________________ gvSIG_desarrolladores mailing list [email protected] http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores
