java.sql.SQLException: A connection could not be obtained for driver class "org.apache.derby.jdbc.Driver30" and URL "jdbc:derby:net://localhost:9001/journaldb;create=true". You may have specified an invalid URL.

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 Oracle Community by 3004, 1 year ago
A connection could not be obtained for driver class "org.apache.derby.jdbc.Driver30" and URL "jdbc:derby:net://localhost:9001/journaldb;create=true". You may have specified an invalid URL.
via Oracle Community by 3004, 1 year ago
A connection could not be obtained for driver class "org.apache.derby.jdbc.Dr iver30" and URL "jdbc:derby://localhost:9001/journaldb;create=true". You may have specified an inva lid URL.
java.sql.SQLException: A connection could not be obtained for driver class "org.apache.derby.jdbc.Driver30" and URL "jdbc:derby:net://localhost:9001/journaldb;create=true". You may have specified an invalid URL.
at com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:350)
at com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:392)
at com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:270)
at com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:257)
at com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131)
at com.solarmetric.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:81)
at com.solarmetric.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:131)
at kodo.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:329)
at kodo.jdbc.schema.LazySchemaFactory.findTable(LazySchemaFactory.java:129)
at kodo.jdbc.meta.BaseClassMapping.fromMappingInfo(BaseClassMapping.java:168)
at kodo.jdbc.meta.RuntimeMappingProvider.getMapping(RuntimeMappingProvider.java:59)
at kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:393)
at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:348)
at kodo.jdbc.meta.MappingRepository.getMappings(MappingRepository.java:294)
at kodo.jdbc.meta.MappingRepository.getMetaDatas(MappingRepository.java:271)
at kodo.query.AbstractQuery.createExecutor(AbstractQuery.java:614)
at kodo.query.AbstractQuery.compileForDataStore(AbstractQuery.java:578)
at kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:832)
at kodo.query.AbstractQuery.execute(AbstractQuery.java:795)
at com.scancoin.system.database.DBQueryHelperTest.testOneTransactionStored(DBQueryHelperTest.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at net.dpml.magic.tasks.JUnitTestTask.test(JUnitTestTask.java:400)
at net.dpml.magic.tasks.JUnitTestTask.execute(JUnitTestTask.java:154)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.