Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Geographic Information Systems by Selphiron
, 1 year ago
Failed to connect to the EPSG database.
via stackexchange.com by Unknown author, 1 year ago
via Stack Overflow by Zhenya
, 2 years ago
via stackexchange.com by Unknown author, 2 years ago
via Geographic Information Systems by Dariush
, 1 year ago
Failed to connect to the EPSG database.
org.opengis.referencing.FactoryException: Failed to connect to the EPSG database. at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:441) at org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133) at org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235) at org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119) at org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667) at org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:501) at org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:226) at org.geotools.referencing.ReferencingFactoryFinder.getAuthorityFactory(ReferencingFactoryFinder.java:220) at org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactory(ReferencingFactoryFinder.java:440) at org.geotools.referencing.factory.epsg.LongitudeFirstFactory.createBackingStore(LongitudeFirstFactory.java:191) at org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:133) at org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:235) at org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119) at org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:667) at org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:501) at org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:192) at javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:821) at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:815) at javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:516) at org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:197) at org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:180) at org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:455) at org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:102) at org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69) at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:257) at org.opentripplanner.common.geometry.GeometryUtils.<clinit>(GeometryUtils.java:41) at org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule$Handler.buildBasicGraph(OpenStreetMapModule.java:615) at org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule$Handler.buildGraph(OpenStreetMapModule.java:238) at org.opentripplanner.graph_builder.module.osm.OpenStreetMapModule.buildGraph(OpenStreetMapModule.java:172) at org.opentripplanner.graph_builder.GraphBuilder.run(GraphBuilder.java:157) at org.opentripplanner.standalone.OTPMain.run(OTPMain.java:111) at org.opentripplanner.standalone.OTPMain.main(OTPMain.java:86)Caused by: java.sql.SQLException: Can't read file "EPSG.zip". at org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.createBackingStore(ThreadedHsqlEpsgFactory.java:313) at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:397) at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:434) ... 31 moreCaused by: java.io.FileNotFoundException: /tmp/Geotools/Databases/HSQL/v7.9.0/EPSG_creation_lock.txt (No such file or directory) at java.io.RandomAccessFile.open0(Native Method) at java.io.RandomAccessFile.open(RandomAccessFile.java:316) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243) at org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.acquireLock(ThreadedHsqlEpsgFactory.java:343) at org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.createBackingStore(ThreadedHsqlEpsgFactory.java:280) ... 33 more