Duvida - Persistência "Derby"

2 respostas
vjfenix

Olá,

Estou fazendo alguns exemplos de persistência e está me dando o seguinte erro:

Alguem poderia me ajudar??

Exception in thread main Local Exception Stack:

Exception [TOPLINK-4003] (Oracle TopLink Essentials - 2.0 (Build b58g-fcs (09/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException

Exception Description: Configuration error. Class [org.apache.derby.jdbc.ClientDriver] not found.

at oracle.toplink.essentials.exceptions.DatabaseException.configurationErrorClassNotFound(DatabaseException.java:101)

at oracle.toplink.essentials.sessions.DefaultConnector.loadDriver(DefaultConnector.java:183)

at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:9

at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:184)

at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:582)

at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:280)

at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:229)

at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:93)

at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:126)

at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:120)

at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:91)

at teste.lib.TestaPersistencia.main(TestaPersistencia.java:25)

2 Respostas

TDS

Veja…

Vc adicionou os jars do Derby corretamente?

De uma olhada/lida com calma em:

http://db.apache.org/derby/ ja me ajudou muito… Tem outros bons tb!

Pesquise no google: Derby.

Se tiver mais alguma dúvida mande ai… e veja com calma a adição dos jars!

[]'s

vjfenix

TDS:
Veja…

Vc adicionou os jars do Derby corretamente?

De uma olhada/lida com calma em:

http://db.apache.org/derby/ ja me ajudou muito… Tem outros bons tb!

Pesquise no google: Derby.

Se tiver mais alguma dúvida mande ai… e veja com calma a adição dos jars!

[]'s
valeu

Criado 10 de outubro de 2007
Ultima resposta 11 de out. de 2007
Respostas 2
Participantes 2