Hey Justin, Thanks for the reply. I'm going to build gs trunk with an update. I don't see any command help in the gs docs for the update statement. I'll have to check maven docs. I assume something like mvn -update. Any command-line pointers for the update statement
On Sun, Feb 15, 2009 at 5:45 PM, Justin Deoliveira <[email protected]> wrote: > Hi Greg, > > This error is occurring b/c geoserver is being built against an older > version of the geotools library. This is a problem with the geoserver > pom.xml files, not your local setup. > > If you are trying to build gs trunk from svn you can do an update. I have > just committed a change to the root pom.xml which should enable you to grab > the latest versions of the geotools libs. > > You can also get around this by checking out the geotools source code (from > svn.osgeo.org/geotools) and building it locally. > > -Justin > > Greg Corradini wrote: >> >> Hello all, >> I've tried to walk through GeoServer Developer's Guide a few times now >> and keep getting stuck at the same point. I'm on the Maven QuickStart >> tutorial and I get build errors in two places. The first happens when >> I'm installing GeoServer modules using the command "mvn install". I >> get the following build error about wcs module: >> >> >> [INFO] [compiler:compile] >> [INFO] Compiling 53 source files to >> C:\geoserver_dev\src\wcs1_1\target\classes >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Compilation failure >> >> C:\geoserver_dev\src\wcs1_1\src\main\java\org\geoserver\wcs\response\WCSCapsTransformer.java:[403,22 >> ] cannot find symbol >> symbol : method getNamespace() >> location: interface net.opengis.wcs11.GetCapabilitiesType >> >> >> C:\geoserver_dev\src\wcs1_1\src\main\java\org\geoserver\wcs\response\WCSCapsTransformer.java:[404,42 >> ] cannot find symbol >> symbol : method getNamespace() >> location: interface net.opengis.wcs11.GetCapabilitiesType >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 6 minutes 10 seconds >> [INFO] Finished at: Sun Feb 15 15:56:03 CST 2009 >> [INFO] Final Memory: 34M/63M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> The second build error happens when I try to run geoserver using the >> command "mvn -o jetty:run". This tells me that certain .jar files are >> missing. I've gone ahead and downloaded and installed two of them from >> the listed repositories, but the third >> (org.geoserver:gwc:jar:2.0-SNAPSHOT) doesn't exist on any of the >> repositories. What should I be doing? >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> Missing: >> ---------- >> 1) org.geoserver:wfs:jar:2.0-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=org.geoserver >> -DartifactId=wfs -Dversion=2.0-SNAPSHOT -Dpac >> kaging=jar -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the file >> there: >> mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=wfs >> -Dversion=2.0-SNAPSHOT -Dpacka >> ging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: >> 1) org.geoserver:web:jar:2.0-SNAPSHOT >> 2) org.geoserver:wfs:jar:2.0-SNAPSHOT >> >> 2) org.geoserver:wms:jar:2.0-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=org.geoserver >> -DartifactId=wms -Dversion=2.0-SNAPSHOT -Dpac >> kaging=jar -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the file >> there: >> mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=wms >> -Dversion=2.0-SNAPSHOT -Dpacka >> ging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: >> 1) org.geoserver:web:jar:2.0-SNAPSHOT >> 2) org.geoserver:wms:jar:2.0-SNAPSHOT >> >> 3) org.geoserver:gwc:jar:2.0-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=org.geoserver >> -DartifactId=gwc -Dversion=2.0-SNAPSHOT -Dpac >> kaging=jar -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the file >> there: >> mvn deploy:deploy-file -DgroupId=org.geoserver -DartifactId=gwc >> -Dversion=2.0-SNAPSHOT -Dpacka >> ging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: >> 1) org.geoserver:web:jar:2.0-SNAPSHOT >> 2) org.geoserver:gwc:jar:2.0-SNAPSHOT >> >> ---------- >> 3 required artifacts are missing. >> >> for artifact: >> org.geoserver:web:jar:2.0-SNAPSHOT >> >> from the specified remote repositories: >> geotools (http://maven.geotools.fr/repository/), >> refractions (http://lists.refractions.net/m2/), >> mortbay (http://www.mortbay.org/maven2/release), >> maven-restlet (http://maven.restlet.org), >> central (http://repo1.maven.org/maven2) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 16 seconds >> [INFO] Finished at: Sun Feb 15 16:06:48 CST 2009 >> [INFO] Final Memory: 18M/33M >> [INFO] >> ------------------------------------------------------------------------ >> >> >> Much help is needed and appreciated. >> >> Thanks >> Greg Corradini >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Geoserver-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-devel > > > -- > Justin Deoliveira > OpenGeo - http://opengeo.org > Enterprise support for open source geospatial. > -- Greg Corradini ITS II, HPMS Coordinator Minnesota Department of Transportation 395 John Ireland Blvd St. Paul, MN 55155 651-366-3847 [email protected] ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
