Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.1
-
Fix Version/s: None
-
Component/s: Global
-
Labels:None
Description
Various versions of xercesImpl are referenced by poms in projects. This breaks things when running local (single) tests in maven and more importantly, Netbeans which uses maven.
Geotools is using 2.7.1. Unless there is a specific problem or need, this seems to be a reasonable choice.
I changed the top-level to 2.7.1 and everything seems to work. I also tested excel by forcing it to use 2.7.1. The main issue encountered w/ 2.4 being present is the infamous 'java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z' error.
grep -H -A2 -r xercesImpl --include pom.xml .
./release/pom.xml: <artifactId>xercesImpl</artifactId>
./release/pom.xml- <version>2.6.2</version>
–
./pom.xml: <artifactId>xercesImpl</artifactId>
./pom.xml- <version>2.4.0</version>
–
./pom.xml: <artifactId>xercesImpl</artifactId>
./pom.xml- <version>2.6.2</version>
–
./extension/excel/pom.xml: <artifactId>xercesImpl</artifactId>
./extension/excel/pom.xml- <version>2.9.1</version>
–
./main/pom.xml: <artifactId>xercesImpl</artifactId>
./main/pom.xml- </dependency>
–
./community/dbconfig/pom.xml: <artifactId>xercesImpl</artifactId>
./community/dbconfig/pom.xml- </exclusion>
Issue Links
- relates to
-
GEOS-4652
Support building GeoServer with Maven 3
-
Perfect timing. I just had to face this for
GEOS-4652.GEOS-4652.